CVE-2026-139167: net-sysfs: reject a one-entry RPS flow table

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net-sysfs: reject a one-entry RPS flow table

storerpsdevflowtablecnt() accepts rpsflowcnt == 1. For count == 1 the round-up loop leaves mask == 0, which is stored as log == 0 in the tag (tagptr |= ilog2(mask) + 1). getrpscpu() then calls rfsslot() -> hash32(hash, rpstagtolog(tagptr)) with log == 0:

include/linux/hash.h:68 return hash32(val) >> (32 - bits); / bits == 0 -> shift by 32 /

The shift by 32 is undefined and yields the full 32-bit hash, which is used to index the one-entry rpsdevflow[] table unchecked:

UBSAN: shift-out-of-bounds in ./include/linux/hash.h:68:24 shift exponent 32 is too large for 32-bit type 'unsigned int' ubsanhandleshiftoutofbounds+0x11c/0x208 getrpscpu+0x12fc/0x1344 netifrxinternal+0x1e0/0x4d4

rpsdevflow[] is then read (rflow->cpu) and written (lastqtail) out of bounds on the packet path. Require at least two entries.

Affected Software

5 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.15.0<6.18.66
6.18.66
linux/kernel>=6.19.0<7.3.6
7.3.6
debian/linux<7.3.6-1
7.3.6-1
debian/linux
7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.66
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  3. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.6-1
  4. Configuration

    Require at least two entries; reject a one-entry RPS flow table.

    Linux kernel RPS flow table rps_flow_cnt = at least 2

Event History

Nov 30, 2026
CVE Published
via MITRE·01:32 PM
Data Sourced
via MITRE·01:32 PM
Description
Data Sourced
via OSV·01:32 PM
DescriptionAffected Software
Data Sourced
via NVD·02:18 PM
Description

Frequently Asked Questions

1

What configuration is required for this issue to be reachable?

The affected receive packet steering (RPS) flow table must be configured with exactly one entry. The vulnerable sysfs handler accepts an RPS flow count of 1, creating a table whose packet-path indexing can go out of bounds.

2

Can this be triggered through normal packet processing after the configuration is set?

Yes. Once a one-entry RPS flow table is configured, packet processing can reach get_rps_cpu() and use an unchecked hash-derived index to read from and write to rps_dev_flow[] out of bounds.

3

What mitigation is available if the fix cannot be applied immediately?

Do not configure an RPS flow table with a count of exactly 1. Use at least two entries, which is the minimum enforced by the resolved change.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203