Executive Summary
Informations | |||
---|---|---|---|
Name | CVE-2024-46734 | First vendor Publication | 2024-09-18 |
Vendor | Cve | Last vendor Modification | 2024-09-20 |
Security-Database Scoring CVSS v3
Cvss vector : N/A | |||
---|---|---|---|
Overall CVSS Score | NA | ||
Base Score | NA | Environmental Score | NA |
impact SubScore | NA | Temporal Score | NA |
Exploitabality Sub Score | NA | ||
Calculate full CVSS 3.0 Vectors scores |
Security-Database Scoring CVSS v2
Cvss vector : | |||
---|---|---|---|
Cvss Base Score | N/A | Attack Range | N/A |
Cvss Impact Score | N/A | Attack Complexity | N/A |
Cvss Expoit Score | N/A | Authentication | N/A |
Calculate full CVSS 2.0 Vectors scores |
Detail
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix race between direct IO write and fsync when using same fd If we have 2 threads that are using the same file descriptor and one of them is doing direct IO writes while the other is doing fsync, we have a race where we can end up either: 1) Attempt a fsync without holding the inode's lock, triggering an 2) Do an invalid memory access from the fsync task because the file private The race happens like this: 1) A user space program opens a file descriptor with O_DIRECT; 2) The program spawns 2 threads using libpthread for example; 3) One of the threads uses the file descriptor to do direct IO writes, 4) Call task A the thread doing direct IO writes and task B the thread 5) Task A does a direct IO write, and at btrfs_direct_write() sets the 6) Task B enters btrfs_sync_file() and sees that there's a private 7) Task A completes the direct IO write, and resets the file's private to 8) Task B enters btrfs_get_ordered_extents_for_logging(), then the The stack trace produced is the following: assertion failed: inode_is_locked(&inode->vfs_inode), in fs/btrfs/ordered-data.c:983 |
Original Source
Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-46734 |
Sources (Detail)
Alert History
Date | Informations |
---|---|
2024-09-20 17:27:28 |
|
2024-09-18 13:27:29 |
|