Linuxカーネルのll_temacドライバに関するリソース取得処理ミスによるNULLポインタ参照の脆弱性
タイトル Linuxカーネルのll_temacドライバに関するリソース取得処理ミスによるNULLポインタ参照の脆弱性
概要

Linuxカーネルのnet: ll_temacにおいて、platform_get_resourceが誤ってdevm_platform_ioremap_resource_bynameに置き換えられた結果、name引数に0が渡されると、呼び出しスタック内でplatform_get_resource_bynameがstrcmpでヌルポインタを発生させる脆弱性が存在しました。本来はdevm_platform_ioremap_resourceで置き換える必要がありました。

想定される影響 当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
対策

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

公表日 2024年5月17日0:00
登録日 2025年12月25日17:01
最終更新日 2025年12月25日17:01
CVSS3.0 : 警告
スコア 5.5
ベクター CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
影響を受けるシステム
Debian
Debian GNU/Linux 10.0
Linux
Linux Kernel 5.11 から 5.15.154 未満
Linux Kernel 5.16 から 6.1.84 未満
Linux Kernel 5.8.2 から 5.10.215 未満
Linux Kernel 6.2 から 6.6.24 未満
Linux Kernel 6.7 から 6.7.12 未満
Linux Kernel 6.8 から 6.8.3 未満
Linux Kernel 6.9
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2025年12月25日]
  掲載
2025年12月25日17:01

NVD脆弱性情報
CVE-2024-35796
概要

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

net: ll_temac: platform_get_resource replaced by wrong function

The function platform_get_resource was replaced with
devm_platform_ioremap_resource_byname and is called using 0 as name.

This eventually ends up in platform_get_resource_byname in the call
stack, where it causes a null pointer in strcmp.

if (type == resource_type(r) && !strcmp(r->name, name))

It should have been replaced with devm_platform_ioremap_resource.

公表日 2024年5月17日23:15
登録日 2024年5月18日10:01
最終更新日 2024年11月21日18:20
関連情報、対策とツール
共通脆弱性一覧