{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139167","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.918Z","datePublished":"2026-11-30T13:32:12.125Z","dateUpdated":"2026-11-30T13:32:12.125Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:32:12.125Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet-sysfs: reject a one-entry RPS flow table\n\nstore_rps_dev_flow_table_cnt() accepts rps_flow_cnt == 1.  For count == 1\nthe round-up loop leaves mask == 0, which is stored as log == 0 in the\ntag (tag_ptr |= ilog2(mask) + 1).  get_rps_cpu() then calls\nrfs_slot() -> hash_32(hash, rps_tag_to_log(tag_ptr)) with log == 0:\n\n  include/linux/hash.h:68\n\treturn __hash_32(val) >> (32 - bits);   /* bits == 0 -> shift by 32 */\n\nThe shift by 32 is undefined and yields the full 32-bit hash, which is\nused to index the one-entry rps_dev_flow[] table unchecked:\n\n  UBSAN: shift-out-of-bounds in ./include/linux/hash.h:68:24\n  shift exponent 32 is too large for 32-bit type 'unsigned int'\n   __ubsan_handle_shift_out_of_bounds+0x11c/0x208\n   get_rps_cpu+0x12fc/0x1344\n   netif_rx_internal+0x1e0/0x4d4\n\nrps_dev_flow[] is then read (rflow->cpu) and written (last_qtail) out of\nbounds on the packet path.  Require at least two entries."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/net-sysfs.c"],"versions":[{"version":"f3483c8e1da62993fe0f57af23b925de7661adaa","lessThan":"8ddc9a086da47489e7ca60a479782d1873b96f9e","status":"affected","versionType":"git"},{"version":"f3483c8e1da62993fe0f57af23b925de7661adaa","lessThan":"cc4002090acfe2d3662b919c89b01bac3764b05a","status":"affected","versionType":"git"},{"version":"f3483c8e1da62993fe0f57af23b925de7661adaa","lessThan":"24927bdf0f62f63470a065c21d80fff7e4e9f207","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/net-sysfs.c"],"versions":[{"version":"6.15","status":"affected"},{"version":"0","lessThan":"6.15","status":"unaffected","versionType":"semver"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/8ddc9a086da47489e7ca60a479782d1873b96f9e"},{"url":"https://git.kernel.org/stable/c/cc4002090acfe2d3662b919c89b01bac3764b05a"},{"url":"https://git.kernel.org/stable/c/24927bdf0f62f63470a065c21d80fff7e4e9f207"}],"title":"net-sysfs: reject a one-entry RPS flow table","x_generator":{"engine":"bippy-1.2.0"}}}}