{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "f3483c8e1da62993fe0f57af23b925de7661adaa"
            },
            {
              "fixed": "8ddc9a086da47489e7ca60a479782d1873b96f9e"
            },
            {
              "fixed": "cc4002090acfe2d3662b919c89b01bac3764b05a"
            },
            {
              "fixed": "24927bdf0f62f63470a065c21d80fff7e4e9f207"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.15.0"
            },
            {
              "fixed": "6.18.66"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139167.json"
  },
  "details": "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() -\u003e hash_32(hash, rps_tag_to_log(tag_ptr)) with log == 0:\n\n  include/linux/hash.h:68\n\treturn __hash_32(val) \u003e\u003e (32 - bits);   /* bits == 0 -\u003e 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-\u003ecpu) and written (last_qtail) out of\nbounds on the packet path.  Require at least two entries.",
  "id": "CVE-2026-139167",
  "modified": "2026-11-30T14:45:18.545329157Z",
  "published": "2026-11-30T13:32:12.125Z",
  "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/24927bdf0f62f63470a065c21d80fff7e4e9f207"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8ddc9a086da47489e7ca60a479782d1873b96f9e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/cc4002090acfe2d3662b919c89b01bac3764b05a"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139167.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139167"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "net-sysfs: reject a one-entry RPS flow table"
}