{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-31429","published":"2026-04-20T10:16:16.737000Z","last_modified":"2026-06-17T10:33:42.150000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-401"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.3","version_end_excluding":"6.6.136"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.7","version_end_excluding":"6.12.82"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.13","version_end_excluding":"6.18.23"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.19","version_end_excluding":"6.19.13"},{"criteria":"cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"7.0"},{"criteria":"cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"7.0"},{"criteria":"cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"7.0"},{"criteria":"cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"7.0"},{"criteria":"cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"7.0"},{"criteria":"cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"7.0"},{"criteria":"cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"7.0"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2026-31429/","html_en":"/en/cve/CVE-2026-31429/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31429","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31429"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: skb: fix cross-cache free of KFENCE-allocated skb head\n\nSKB_SMALL_HEAD_CACHE_SIZE is intentionally set to a non-power-of-2\nvalue (e.g. 704 on x86_64) to avoid collisions with generic kmalloc\nbucket sizes. This ensures that skb_kfree_head() can reliably use\nskb_end_offset to distinguish skb heads allocated from\nskb_small_head_cache vs. generic kmalloc caches.\n\nHowever, when KFENCE is enabled, kfence_ksize() returns the exact\nrequested allocation size instead of the slab bucket size. If a caller\n(e.g. bpf_test_init) allocates skb head data via kzalloc() and the\nrequested size happens to equal SKB_SMALL_HEAD_CACHE_SIZE, then\nslab_build_skb() -> ksize() returns that exact value. After subtracting\nskb_shared_info overhead, skb_end_offset ends up matching\nSKB_SMALL_HEAD_HEADROOM, causing skb_kfree_head() to incorrectly free\nthe object to skb_small_head_cache instead of back to the original\nkmalloc cache, resulting in a slab cross-cache free:\n\n  kmem_cache_free(skbuff_small_head): Wrong slab cache. Expected\n  skbuff_small_head but got kmalloc-1k\n\nFix this by always calling kfree(head) in skb_kfree_head(). This keeps\nthe free path generic and avoids allocator-specific misclassification\nfor KFENCE objects.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/0f42e3f4fe2a58394e37241d02d9ca6ab7b7d516","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/128b03ccb2582a643983a48a37fda58df80edbde","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/2d64618ea846d8d033477311f805ca487d6a6696","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/474e00b935db250cac320d10c1d3cf4e44b46721","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/60313768a8edc7094435975587c00c2d7b834083","tags":["Patch"]}]},"bulletins":[{"source":"suse","id":"SUSE-SU-2026:22742-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202622742-1/","published":"2026-07-21T08:27:34+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:22769-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202622769-1/","published":"2026-07-21T08:27:34+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:22835-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202622835-1/","published":"2026-07-21T08:27:34+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}}]}