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

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

btrfs: fix uninitialized pointer free in add_inode_ref()

The add_inode_ref() function does not initialize the "name" struct when
it is declared. If any of the following calls to "read_one_inode()
returns NULL,

dir = read_one_inode(root, parent_objectid);
if (!dir) {
ret = -ENOENT;
goto out;
}

inode = read_one_inode(root, inode_objectid);
if (!inode) {
ret = -EIO;
goto out;
}

then "name.name" would be freed on "out" before being initialized.

out:
...
kfree(name.name);

This issue was reported by Coverity with CID 1526744.

Publication Date Oct. 29, 2024, 10:15 a.m.
Registration Date Oct. 29, 2024, 4 p.m.
Last Update Nov. 2, 2024, 1:05 a.m.
CVSS3.1 : HIGH
スコア 7.8
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.12:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 6.11.5
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 6.6.58
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.1.57 6.1.114
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 Oct. 11, 2024, midnight
Registration Date Nov. 5, 2024, 4:11 p.m.
Last Update Nov. 5, 2024, 4:11 p.m.
Affected System
Linux
Linux Kernel 6.1.57 以上 6.1.114 未満
Linux Kernel 6.12
Linux Kernel 6.2 以上 6.6.58 未満
Linux Kernel 6.7 以上 6.11.5 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2024年11月05日]
  掲載
Nov. 5, 2024, 4:11 p.m.