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

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

f2fs: Require FMODE_WRITE for atomic write ioctls

The F2FS ioctls for starting and committing atomic writes check for
inode_owner_or_capable(), but this does not give LSMs like SELinux or
Landlock an opportunity to deny the write access - if the caller's FSUID
matches the inode's UID, inode_owner_or_capable() immediately returns true.

There are scenarios where LSMs want to deny a process the ability to write
particular files, even files that the FSUID of the process owns; but this
can currently partially be bypassed using atomic write ioctls in two ways:

- F2FS_IOC_START_ATOMIC_REPLACE + F2FS_IOC_COMMIT_ATOMIC_WRITE can
truncate an inode to size 0
- F2FS_IOC_START_ATOMIC_WRITE + F2FS_IOC_ABORT_ATOMIC_WRITE can revert
changes another process concurrently made to a file

Fix it by requiring FMODE_WRITE for these operations, just like for
F2FS_IOC_MOVE_RANGE. Since any legitimate caller should only be using these
ioctls when intending to write into the file, that seems unlikely to break
anything.

Publication Date Oct. 21, 2024, 10:15 p.m.
Registration Date Oct. 22, 2024, 5 a.m.
Last Update Nov. 9, 2024, 1:15 a.m.
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 Aug. 21, 2024, midnight
Registration Date Oct. 16, 2025, 4:42 p.m.
Last Update Oct. 16, 2025, 4:42 p.m.
Affected System
Linux
Linux Kernel 3.18 以上 4.19.323 未満
Linux Kernel 4.20 以上 5.4.285 未満
Linux Kernel 5.11 以上 5.15.168 未満
Linux Kernel 5.16 以上 6.1.113 未満
Linux Kernel 5.5 以上 5.10.227 未満
Linux Kernel 6.11 以上 6.11.2 未満
Linux Kernel 6.2 以上 6.6.54 未満
Linux Kernel 6.7 以上 6.10.13 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2025年10月16日]
  掲載
Oct. 16, 2025, 4:41 p.m.