{"id":"CVE-2026-143075","summary":"tracing/probes: Fix BTF bitfield parsing and out-of-bounds buffer write","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing/probes: Fix BTF bitfield parsing and out-of-bounds buffer write\n\nBTF bitfield parsing in trace_probe.c assumes a 64-bit (8-byte) container\nwhen computing FETCH_OP_MOD_BF shift amounts and basesize, whereas the\npreceding store instruction only allocates and writes the field's fetch\ntype size (which may be 1, 2, or 4 bytes when kflag=1). At runtime,\nfetch_apply_bitfield() performs an 8-byte read-modify-write on the\nsmaller ring buffer slot, corrupting adjacent ring buffer data or writing\npast the end of the event record.\n\nIn addition, signed bitfields with bit widths other than 8/16/32/64 fail\nto resolve a fetch type, bitfields whose width is a multiple of 8 inside\na larger integer or spanning a byte boundary fail to emit FETCH_OP_MOD_BF\nor select a container wide enough for bitoffs + bitsize, kflag=0 bitfield\noffsets \u003e= 8 bits are not folded into the byte offset, and big-endian\narchitectures use the little-endian left-shift formula in\nparse_btf_bitfield().\n\nCompute the bitfield byte and bit offsets consistently during field\nlookup, select the smallest unsigned fetch type that covers the bit\noffset and bit width, and calculate the FETCH_OP_MOD_BF parameters from\nthe selected fetch type size for both big- and little-endian bitfields.","modified":"2026-12-03T11:00:59.182626184Z","published":"2026-12-03T09:18:55.665Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143075.json"},"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/75376ee10548e0767984205fccd98eb1108b2bf9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9b6e9d6a11090ac34516c45f48663b37ac94a9b1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143075.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143075"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c440adfbe30257dde905adc1fce51131145f7245"},{"fixed":"75376ee10548e0767984205fccd98eb1108b2bf9"},{"fixed":"9b6e9d6a11090ac34516c45f48663b37ac94a9b1"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143075.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.6.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143075.json"}}],"schema_version":"1.9.2"}