CVE-2026-143388

Not scored yetLast modified Dec 3, 2026

Description

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

dma-buf: Restore the scatterlist entry count before freeing

dma_buf_phys_vec_to_sgt() clears orig_nents to mark the returned table as DMA-only. Since sg_free_table() uses orig_nents to walk and free the scatterlist, dma_buf_free_sgt() leaks the allocation on every successful map/unmap cycle.

Restore orig_nents from nents before freeing the table. The helper allocates the DMA list directly, so nents retains the allocation count, including for chained scatterlists.

The reported kmemleak output was:

KMEMLEAK LEAK: 2 driver-related leak(s) KMEMLEAK LEAK: unreferenced object 0xff11000125ceff00 (size 32): KMEMLEAK LEAK: comm dtr, pid 4432, jiffies 4295031027 KMEMLEAK LEAK: hex dump (first 32 bytes): KMEMLEAK LEAK: 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ KMEMLEAK LEAK: 00 00 01 00 28 38 00 00 00 10 00 00 00 00 00 00 ....(8.......... KMEMLEAK LEAK: backtrace (crc 4e8077f2): KMEMLEAK LEAK: __kmalloc_noprof+0x451/0x8b0 KMEMLEAK LEAK: __sg_alloc_table+0x2a0/0x4d0 KMEMLEAK LEAK: sg_alloc_table+0x24/0x170 KMEMLEAK LEAK: dma_buf_phys_vec_to_sgt+0x84f/0xed0 KMEMLEAK LEAK: 0xffffffffa1ad21a8 KMEMLEAK LEAK: dma_buf_map_attachment+0x138/0x690 KMEMLEAK LEAK: ib_umem_dmabuf_map_pages+0x249/0xc90 [ib_core] KMEMLEAK LEAK: 0xffffffffa138f8d2 KMEMLEAK LEAK: 0xffffffffa1396abe KMEMLEAK LEAK: 0xffffffffa1331a5f KMEMLEAK LEAK: 0xffffffffa13320dd KMEMLEAK LEAK: 0xffffffffa1ad696d KMEMLEAK LEAK: 0xffffffffa1acecc7 KMEMLEAK LEAK: 0xffffffffa1acfd17 KMEMLEAK LEAK: __x64_sys_ioctl+0x72c/0x11f0 KMEMLEAK LEAK: do_syscall_64+0xa1/0x4f0 KMEMLEAK LEAK: unreferenced object 0xff1100016dbf3a80 (size 32): KMEMLEAK LEAK: comm dtr, pid 4432, jiffies 4295034705 KMEMLEAK LEAK: hex dump (first 32 bytes): KMEMLEAK LEAK: 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ KMEMLEAK LEAK: 00 20 10 00 28 38 00 00 00 10 00 00 00 00 00 00 . ..(8..........

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 3aa31a8bb11e47c0ff2b306988d1756b810c1c3c, < 49698d8985e029879a3b3df60d5d6b5e92aa4c45; >= 3aa31a8bb11e47c0ff2b306988d1756b810c1c3c, < 052947a3b5e7402eaad53379dfec2ecab27a2d80
LinuxLinux6.19

References

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143389In the Linux kernel, the following vulnerability has been resolved: ntfs: Fix error handling in __ntfs_create() In __ntfs_create(), if ntfCVE-2026-143390In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: Fix failure to create ath12k_dp_peer on MLO reconnect InCVE-2026-143391In the Linux kernel, the following vulnerability has been resolved: fsnotify: preserve 64-bit pre-content ranges vfs_fallocate() and remapCVE-2026-143392In the Linux kernel, the following vulnerability has been resolved: xfrm: fix hw offload state leak on xfrm_do_migrate_state() error path CVE-2026-143393In the Linux kernel, the following vulnerability has been resolved: xfrm: fix use-after-free of migrated state in xfrm_do_migrate_state() CVE-2026-143394In the Linux kernel, the following vulnerability has been resolved: xfrm: zero-initialise km_event in the replay-notify path xfrm_replay_nCVE-2026-143395In the Linux kernel, the following vulnerability has been resolved: net/9p/usbg: Fix use-after-free on usb9pfs_clear_tx When p9_usbg_closeCVE-2026-143396In the Linux kernel, the following vulnerability has been resolved: net/9p/usbg: fix descriptor cleanup use-after-free usb9pfs_free_func()CVE-2026-143397In the Linux kernel, the following vulnerability has been resolved: 9p: use fc->net_ns for network namespace in RDMA and socket transports CVE-2026-143398In the Linux kernel, the following vulnerability has been resolved: Input: destroy force-feedback device on input unregistration When an iCVE-2026-143399In the Linux kernel, the following vulnerability has been resolved: udf: validate vat20->lengthHeader and VAT inode size in udf_load_vat() CVE-2026-14346.1Omega-PSIR is vulnerable to Reflected XSS via the lang parameter. An attacker can craft a malicious URL that, when opened, causes arbitrary
CVE-2026-143388: Unscored | Vulnix