Servers and applications
CVE-2026-142798
iomap: don't resubmit an ioend after ->writeback_submit() failed
- Severity
- Unrated
- Published
- 3 Dec 2026
- Last changed
- 3 Dec 2026
- Added to UpHeron
- 3 Dec 2026
- Fixed in
- 6.18.61, 7.3.2
- Sources
- CVE Program
Description
In the Linux kernel, the following vulnerability has been resolved:
iomap_add_to_ioend() submits the pending ioend through ->writeback_submit() before allocating a new one for the current range. When the submission fails the helper completes the ioend with an error, but iomap_add_to_ioend() returns the error without clearing wpc->wb_ctx. iomap_writepages() then submits whatever wpc->wb_ctx points to, so the already completed ioend is submitted a second time.
For XFS the second bio_endio() lands in xfs_end_bio(), which list_add_tail()s the already linked ioend into ip->i_ioend_list. This corrupts the list and leaves a use-after-free/double-free window against the ioend completion worker. Reproduced with a fault-injected ->writeback_submit() failure on a reflinked XFS file with several CoW writeback ranges in flight: the unfixed kernel hits repeated "list_add double add" warnings from __list_add_valid_or_report(), the fixed kernel fails writeback cleanly.
Affected software
| Software | Affected versions |
|---|---|
Linux kernelServers and applications · cna:linux|linux |
|
Status in Debian
Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.
- 4 fixed
| Package | Debian release | Status |
|---|---|---|
| linux | sidunstable | Fixed in 7.3.3-1 |
| 14forkytesting | Fixed in 7.3.3-1 | |
| 13trixiestable | Fixed | |
| 12bookwormoldstable | Fixed |
From Debian's security tracker for CVE-2026-142798 , read in the last 12 hours.
About Linux kernel
Unix-like operating system kernel, basis for all Linux operating systems
- GitHub stars
- 257,106GitHub, 29 Nov 2026
- Forks
- 66,781GitHub, 29 Nov 2026
- Developer
- Linus TorvaldsWikidata
- License
- GNU General Public License, version 2.0Wikidata
- Written in
- CWikidata
- First released
- 25 Aug 1991Wikidata
- First published on GitHub
- 4 Sept 2011GitHub
Vulnerabilities in Linux kernel
- In our list
- 4,747
- Published in the last 12 months
- 4,747
- Critical, last 12 months
- 108
- High, last 12 months
- 669
- Known exploited
- 0
- CVE-2026-143401net: virtio: validate outer protocol of UDP tunnel GSO packetsUnrated 3 Dec 2026
- CVE-2026-143400virtio_net: check RX buffer length before DMA syncUnrated 3 Dec 2026
- CVE-2026-143399udf: validate vat20->lengthHeader and VAT inode size in udf_load_vat()Unrated 3 Dec 2026
- CVE-2026-143398Input: destroy force-feedback device on input unregistrationUnrated 3 Dec 2026
- CVE-2026-1433979p: use fc->net_ns for network namespace in RDMA and socket transportsUnrated 3 Dec 2026
- CVE-2026-143396net/9p/usbg: fix descriptor cleanup use-after-freeUnrated 3 Dec 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142798