{"id":"CVE-2026-142908","summary":"dma-debug: Skip cacheline tracking for MMIO mappings","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndma-debug: Skip cacheline tracking for MMIO mappings\n\nMapping one MMIO dma-buf for many RDMA importers overflows dma-debug's\ncacheline overlap counter and triggers a warning. DMA_ATTR_MMIO mappings\nmust never be CPU-cacheable, so CPU cacheline overlap tracking does not\napply to them.\n\nSkip MMIO entries in both cacheline insertion and removal. Keep them in\nthe DMA entry hash so mapping and unmapping checks still run.\n\nThe reported warning was:\n ------------[ cut here ]------------\nDMA-API: exceeded 7 overlapping mappings of cacheline 0x000000e040000400\nWARNING: kernel/dma/debug.c:465 at add_dma_entry+0x3b5/0x470, CPU#58: dtr/5264\nModules linked in: xt_conntrack xt_MASQUERADE ip6table_nat ip6table_filter ip6_tables iptable_nat nf_nat xt_addrtype rpcsec_gss_krb5 krb5 auth_rpcgss oid_registry overlay rpcrdma rdma_ucm ib_uverbs ib_iser libiscsi scsi_transport_iscsi ib_umad rdma_cm ib_ipoib iw_cm ib_cm nvidia(O) mlx5_fwctl nvidia_drm(O) mlx5_ib ib_uverbs_support ib_core zram zsmalloc fuse mlx5_core\nCPU: 58 UID: 0 PID: 5264 Comm: dtr Tainted: G           O      J 7.3.0-rc6_for_upstream_debug_2026_10_08_13_46 #1.fc40 PREEMPTLAZY\nTainted: [O]=OOT_MODULE, [J]=FWCTL\nHardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014\nRIP: 0010:add_dma_entry+0x3bf/0x470\nCode: ac e8 f5 89 6e 00 e9 47 fe ff ff 41 f7 c6 00 18 00 00 75 9f 83 fb 07 7e 9a 48 8d 3d eb 02 5f 04 be 07 00 00 00 48 8d 54 24 30 \u003c67\u003e 48 0f b9 3a eb 82 0f 0b 48 c7 c7 80 d3 2a 85 4c 89 e6 e8 a9 1f\nRSP: 0018:ff110001bcb7f230 EFLAGS: 00010002\nRAX: 0000000000000006 RBX: 0000000000000008 RCX: 0000000000000000\nRDX: ff110001bcb7f260 RSI: 0000000000000007 RDI: ffffffff85cfd070\nRBP: 000000e040000400 R08: 0000000000000000 R09: ffe21c0044b8abf5\nR10: ff11000225c55faf R11: 0000000000000000 R12: 0000000000000246\nR13: 1fe220003796fe48 R14: 0000000000000400 R15: 00000000ffffffff\nFS:  00007fa8f91e6b80(0000) GS:ff11000eb81cc000(0000) knlGS:0000000000000000\nCS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\nCR2: 00007fa8f5ca80f0 CR3: 0000000164871004 CR4: 0000000000373eb0\nCall Trace:\n \u003cTASK\u003e\n ? check_sync+0x2070/0x2070\n ? find_held_lock+0x2b/0x80\n ? debug_dma_map_phys+0x588/0x840\n debug_dma_map_phys+0x267/0x840\n ? dma_debug_add_bus+0xd0/0xd0\n ? __sg_alloc_table+0x2b7/0x4d0\n dma_map_phys+0x10a/0x330\n ? sg_miter_start+0x130/0x130\n dma_buf_phys_vec_to_sgt+0x565/0xed0\n uverbs_dmabuf_map+0x158/0x340 [ib_uverbs]\n ? uverbs_dmabuf_unpin+0x10/0x10 [ib_uverbs]\n dma_buf_map_attachment+0x138/0x690\n ib_umem_dmabuf_map_pages+0x249/0xc90 [ib_core]\n pagefault_dmabuf_mr+0x172/0xf80 [mlx5_ib]\n ? do_raw_spin_unlock+0x54/0x210\n mlx5_ib_init_dmabuf_mr+0x13e/0x200 [mlx5_ib]\n[... '?' frames and user-space registers omitted ...]\n reg_user_mr_dmabuf+0x3bf/0x760 [mlx5_ib]\n mlx5_ib_reg_user_mr_dmabuf+0x2dd/0x13b0 [mlx5_ib]\n ib_uverbs_handler_UVERBS_METHOD_REG_MR+0x76d/0xd90 [ib_uverbs]\n ib_uverbs_cmd_verbs+0x2337/0x31c0 [ib_uverbs]\n ib_uverbs_ioctl+0x1c7/0x350 [ib_uverbs]\n __x64_sys_ioctl+0x72c/0x11f0\n do_syscall_64+0xa1/0x4f0\n entry_SYSCALL_64_after_hwframe+0x4b/0x53\n \u003c/TASK\u003e\n ---[ end trace 0000000000000000 ]---","modified":"2026-12-03T05:01:10.778343940Z","published":"2026-12-03T03:25:52.825Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142908.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4733f2966433b7f926f70c9dc461c33cd5c10835"},{"type":"WEB","url":"https://git.kernel.org/stable/c/945ef8b8df06f72850bfa21800d2c2cc7bb3ce78"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142908.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142908"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3aa31a8bb11e47c0ff2b306988d1756b810c1c3c"},{"fixed":"945ef8b8df06f72850bfa21800d2c2cc7bb3ce78"},{"fixed":"4733f2966433b7f926f70c9dc461c33cd5c10835"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142908.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142908.json"}}],"schema_version":"1.9.2"}