btrfs: fix NULL pointer dereference in do_abort_log_replay()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 530e3d4af566ca44807d79359b90794dea24c4f3 and Kernel 6d1b61b8e1e44888c643d89225ab819b10649b2e.
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix NULL pointer dereference in do_abort_log_replay() Coverity reported a NULL pointer dereference issue (CID 1666756) in do_abort_log_replay(). When btrfs_alloc_path() fails in replay_one_buffer(), wc->subvol_path is NULL, but btrfs_abort_log_replay() calls do_abort_log_replay() which unconditionally dereferences wc->subvol_path when attempting to print debug information. Fix this by adding a NULL check before dereferencing wc->subvol_path in do_abort_log_replay().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.18, >=2753e49176240f21e4bb10e03514f99e732704bb <530e3d4af566ca44807d79359b90794dea24c4f3, >=2753e49176240f21e4bb10e03514f99e732704bb <6d1b61b8e1e44888c643d89225ab819b10649b2e | 530e3d4af566ca44807d79359b90794dea24c4f3, 6d1b61b8e1e44888c643d89225ab819b10649b2e |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket