NVD Vulnerability Detail
Search Exploit, PoC
CVE-2024-49994
Summary

In the Linux kernel, the following vulnerability has been resolved:

block: fix integer overflow in BLKSECDISCARD

I independently rediscovered

commit 22d24a544b0d49bbcbd61c8c0eaf77d3c9297155
block: fix overflow in blk_ioctl_discard()

but for secure erase.

Same problem:

uint64_t r[2] = {512, 18446744073709551104ULL};
ioctl(fd, BLKSECDISCARD, r);

will enter near infinite loop inside blkdev_issue_secure_erase():

a.out: attempt to access beyond end of device
loop0: rw=5, sector=3399043073, nr_sectors = 1024 limit=2048
bio_check_eod: 3286214 callbacks suppressed

Publication Date Oct. 22, 2024, 3:15 a.m.
Registration Date Oct. 22, 2024, 12:02 p.m.
Last Update Oct. 25, 2024, 11:52 p.m.
CVSS3.1 : MEDIUM
スコア 5.5
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
攻撃元区分(AV) ローカル
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR)
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C) なし
完全性への影響(I) なし
可用性への影響(A)
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.11 6.11.3
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.10.14
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Linux の Linux Kernel における整数オーバーフローの脆弱性
Title Linux の Linux Kernel における整数オーバーフローの脆弱性
Summary

Linux の Linux Kernel には、整数オーバーフローの脆弱性が存在します。

Possible impacts サービス運用妨害 (DoS) 状態にされる可能性があります。 
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Sept. 4, 2024, midnight
Registration Date Oct. 28, 2024, 3:28 p.m.
Last Update Oct. 28, 2024, 3:28 p.m.
Affected System
Linux
Linux Kernel 6.10.14 未満
Linux Kernel 6.11 以上 6.11.3 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2024年10月28日]   掲載 Oct. 28, 2024, 1:18 p.m.