7

CVE-2026-98029

eth: nfp: bound the ntuple rule dump by the caller's buffer size

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

eth: nfp: bound the ntuple rule dump by the caller's buffer size

nfp_net_get_fs_loc() dumps every entry of nn->fs.list into rule_locs[]
without consulting cmd->rule_cnt, which is how many entries the caller
had room for.  ETHTOOL_GRXCLSRLALL requires no CAP_NET_ADMIN and the
ioctl sizes the buffer from the rule_cnt userspace passes in, so once an
admin has installed flow steering rules any user can ask for fewer slots
than there are rules and run off the end of the allocation.  A rule_cnt
of 0 leaves the buffer pointer NULL and the walk dereferences it.

Bail out with -EMSGSIZE when the buffer fills up, the way the other
ntuple capable drivers do, and report how many locations were filled so
a shrinking rule list does not leave the caller reading stale slots.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 9eb03bb1c035ff6e2c3a34046419446588253dda
Version < 82812583b9c69c241da6da4186f14e9df2516488
Status affected
Version 9eb03bb1c035ff6e2c3a34046419446588253dda
Version < a7e023c63e855761c1426cee8d17c2bca32aa339
Status affected
Version 9eb03bb1c035ff6e2c3a34046419446588253dda
Version < ecebfdaab72a504c10f4907bd00fc3b705ec3b12
Status affected
Version 9eb03bb1c035ff6e2c3a34046419446588253dda
Version < f1986bf87b0709c95126fe196cf39e5b8c8453a1
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 6.8
Status affected
Version 0
Version < 6.8
Status unaffected
Version <= 6.12.*
Version 6.12.111
Status unaffected
Version <= 6.18.*
Version 6.18.53
Status unaffected
Version <= 7.2.*
Version 7.2.7
Status unaffected
Version <= *
Version 7.3-rc3
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.12% 0.017
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 7 1 5.9
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/82812583b9c69c241da6da4186f14e9df2516488
https://git.kernel.org/stable/c/a7e023c63e855761c1426cee8d17c2bca32aa339
https://git.kernel.org/stable/c/ecebfdaab72a504c10f4907bd00fc3b705ec3b12
https://git.kernel.org/stable/c/f1986bf87b0709c95126fe196cf39e5b8c8453a1