{"api_version":"1","generated_at":"2026-12-01T14:01:10+00:00","cve":"CVE-2026-139167","urls":{"html":"https://cve.report/CVE-2026-139167","api":"https://cve.report/api/cve/CVE-2026-139167.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139167","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139167"},"summary":{"title":"net-sysfs: reject a one-entry RPS flow table","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:35","updated_at":"2026-11-30 14:18:35"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/8ddc9a086da47489e7ca60a479782d1873b96f9e","name":"https://git.kernel.org/stable/c/8ddc9a086da47489e7ca60a479782d1873b96f9e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/cc4002090acfe2d3662b919c89b01bac3764b05a","name":"https://git.kernel.org/stable/c/cc4002090acfe2d3662b919c89b01bac3764b05a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/24927bdf0f62f63470a065c21d80fff7e4e9f207","name":"https://git.kernel.org/stable/c/24927bdf0f62f63470a065c21d80fff7e4e9f207","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139167","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139167","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f3483c8e1da62993fe0f57af23b925de7661adaa 8ddc9a086da47489e7ca60a479782d1873b96f9e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f3483c8e1da62993fe0f57af23b925de7661adaa cc4002090acfe2d3662b919c89b01bac3764b05a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f3483c8e1da62993fe0f57af23b925de7661adaa 24927bdf0f62f63470a065c21d80fff7e4e9f207 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.15","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.15 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/core/net-sysfs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"8ddc9a086da47489e7ca60a479782d1873b96f9e","status":"affected","version":"f3483c8e1da62993fe0f57af23b925de7661adaa","versionType":"git"},{"lessThan":"cc4002090acfe2d3662b919c89b01bac3764b05a","status":"affected","version":"f3483c8e1da62993fe0f57af23b925de7661adaa","versionType":"git"},{"lessThan":"24927bdf0f62f63470a065c21d80fff7e4e9f207","status":"affected","version":"f3483c8e1da62993fe0f57af23b925de7661adaa","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/core/net-sysfs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.15"},{"lessThan":"6.15","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"6.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"6.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.15","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:32:12.125Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139167","datePublished":"2026-11-30T13:32:12.125Z","dateReserved":"2026-11-30T13:22:15.918Z","dateUpdated":"2026-11-30T13:32:12.125Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:35","lastModifiedDate":"2026-11-30 14:18:35","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139167","Ordinal":"1","Title":"net-sysfs: reject a one-entry RPS flow table","CVE":"CVE-2026-139167","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139167","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"net-sysfs: reject a one-entry RPS flow table"}]}}}