Skip to content
Noroxi
NVD / CVE Program· CNA Linux

CVE-2021-47399: ixgbe: Fix NULL pointer dereference in ixgbe_xdp_setup

MediumCVSS 5.5 · v3.1—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 22/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.24% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: Linux Linux 20f6c4a31a525edd9ea6243712b868ba0e4e331e, 2744341dd52e935344ca1b4bf189ba0d182a3e8e, 513e605d7a9ce136886cb42ebb2c40e9a6eb6333.
  • Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to Linux Linux 20f6c4a31a525edd9ea6243712b868ba0e4e331e, 2744341dd52e935344ca1b4bf189ba0d182a3e8e, 513e605d7a9ce136886cb42ebb2c40e9a6eb6333 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

In the Linux kernel, the following vulnerability has been resolved: ixgbe: Fix NULL pointer dereference in ixgbe_xdp_setup The ixgbe driver currently generates a NULL pointer dereference with some machine (online cpus < 63). This is due to the fact that the maximum value of num_xdp_queues is nr_cpu_ids. Code is in "ixgbe_set_rss_queues"". Here's how the problem repeats itself: Some machine (online cpus < 63), And user set num_queues to 63 through ethtool. Code is in the "ixgbe_set_channels", adapter->ring_feature[RING_F_FDIR].limit = count; It becomes 63. When user use xdp, "ixgbe_set_rss_queues" will set queues num. adapter->num_rx_queues = rss_i; adapter->num_tx_queues = rss_i; adapter->num_xdp_queues = ixgbe_xdp_queues(adapter); And rss_i's value is from f = &adapter->ring_feature[RING_F_FDIR]; rss_i = f->indices = f->limit; So "num_rx_queues" > "num_xdp_queues", when run to "ixgbe_xdp_setup", for (i = 0; i < adapter->num_rx_queues; i++) if (adapter->xdp_ring[i]->xsk_umem) It leads to panic. Call trace: [exception RIP: ixgbe_xdp+368] RIP: ffffffffc02a76a0 RSP: ffff9fe16202f8d0 RFLAGS: 00010297 RAX: 0000000000000000 RBX: 0000000000000020 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 000000000000001c RDI: ffffffffa94ead90 RBP: ffff92f8f24c0c18 R8: 0000000000000000 R9: 0000000000000000 R10: ffff9fe16202f830 R11: 0000000000000000 R12: ffff92f8f24c0000 R13: ffff9fe16202fc01 R14: 000000000000000a R15: ffffffffc02a7530 ORIG_RAX: ffffffffffffffff CS: 0010 SS: 0018 7 [ffff9fe16202f8f0] dev_xdp_install at ffffffffa89fbbcc 8 [ffff9fe16202f920] dev_change_xdp_fd at ffffffffa8a08808 9 [ffff9fe16202f960] do_setlink at ffffffffa8a20235 10 [ffff9fe16202fa88] rtnl_setlink at ffffffffa8a20384 11 [ffff9fe16202fc78] rtnetlink_rcv_msg at ffffffffa8a1a8dd 12 [ffff9fe16202fcf0] netlink_rcv_skb at ffffffffa8a717eb 13 [ffff9fe16202fd40] netlink_unicast at ffffffffa8a70f88 14 [ffff9fe16202fd80] netlink_sendmsg at ffffffffa8a71319 15 [ffff9fe16202fdf0] sock_sendmsg at ffffffffa89df290 16 [ffff9fe16202fe08] __sys_sendto at ffffffffa89e19c8 17 [ffff9fe16202ff30] __x64_sys_sendto at ffffffffa89e1a64 18 [ffff9fe16202ff38] do_syscall_64 at ffffffffa84042b9 19 [ffff9fe16202ff50] entry_SYSCALL_64_after_hwframe at ffffffffa8c0008c So I fix ixgbe_max_channels so that it will not allow a setting of queues to be higher than the num_online_cpus(). And when run to ixgbe_xdp_setup, take the smaller value of num_rx_queues and num_xdp_queues.

Published
May 21, 2024
Updated
Jun 17, 2026
EPSS
0.2% · 15th percentile

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
22 / 40 · 5.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.2%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2021-47399

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
linuxlinux kernel

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 5.0affected
    • 4a9b32f30f805ca596d76605903a48eab58e0b88 and later · before 20f6c4a31a525edd9ea6243712b868ba0e4e331eaffected · git
    • 4a9b32f30f805ca596d76605903a48eab58e0b88 and later · before 2744341dd52e935344ca1b4bf189ba0d182a3e8eaffected · git
    • 4a9b32f30f805ca596d76605903a48eab58e0b88 and later · before 513e605d7a9ce136886cb42ebb2c40e9a6eb6333affected · git
    • before 5.0not affected · semver
    • 5.10.71 and later · up to and including 5.10.*not affected · semver
    • 5.14.10 and later · up to and including 5.14.*not affected · semver
    • 5.15 and laternot affected · original_commit_for_fix

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • linux linux kernel5.0 and later · before 5.10.71
  • linux linux kernel5.11 and later · before 5.14.10
  • linux linux kernel5.15

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12linuxbefore 5.14.12-15.14.12-1
SUSE:Linux Enterprise High Availability Extension 12 SP5kernel-defaultbefore 4.12.14-122.225.14.12.14-122.225.1
SUSE:Linux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_59before 1-8.3.11-8.3.1
SUSE:Linux Enterprise Real Time 12 SP5kernel-rtbefore 4.12.14-10.197.14.12.14-10.197.1
SUSE:Linux Enterprise Real Time 12 SP5kernel-rt_debugbefore 4.12.14-10.197.14.12.14-10.197.1
SUSE:Linux Enterprise Real Time 12 SP5kernel-source-rtbefore 4.12.14-10.197.14.12.14-10.197.1
SUSE:Linux Enterprise Real Time 12 SP5kernel-syms-rtbefore 4.12.14-10.197.14.12.14-10.197.1
SUSE:Linux Enterprise Server 12 SP5kernel-azurebefore 4.12.14-16.194.14.12.14-16.194.1
SUSE:Linux Enterprise Server 12 SP5kernel-sourcebefore 4.12.14-122.225.14.12.14-122.225.1
SUSE:Linux Enterprise Server 12 SP5kernel-source-azurebefore 4.12.14-16.194.14.12.14-16.194.1
SUSE:Linux Enterprise Server 12 SP5kernel-symsbefore 4.12.14-122.225.14.12.14-122.225.1
SUSE:Linux Enterprise Server 12 SP5kernel-syms-azurebefore 4.12.14-16.194.14.12.14-16.194.1
SUSE:Linux Enterprise Software Development Kit 12 SP5kernel-docsbefore 4.12.14-122.225.24.12.14-122.225.2
SUSE:Linux Enterprise Software Development Kit 12 SP5kernel-obs-buildbefore 4.12.14-122.225.14.12.14-122.225.1

Other highest-scoring records for the same primary product.

  • CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV
    90Now
  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now

Published before and after this one in the same product

  • ← EarlierCVE-2021-47397May 21, 2024 · sctp: break out if skb_header_pointer returns NULL in sctp_rcv_ootb
    22Monitor
  • ← EarlierCVE-2021-47398May 21, 2024 · RDMA/hfi1: Fix kernel pointer leak
    22Monitor
  • Later →CVE-2021-47400May 21, 2024 · net: hns3: do not allow call hns3_nic_net_open repeatedly
    22Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux20f6c4a31a525edd9ea6243712b868ba0e4e331eVendor (CNA)
Linux Linux2744341dd52e935344ca1b4bf189ba0d182a3e8eVendor (CNA)
Linux Linux513e605d7a9ce136886cb42ebb2c40e9a6eb6333Vendor (CNA)
debian:linux5.14.12-1 · Debian:12Package registry (OSV)
suse:kernel-azure4.12.14-16.194.1 · SUSE:Linux Enterprise Server 12 SP5Package registry (OSV)
suse:kernel-default4.12.14-122.225.1 · SUSE:Linux Enterprise High Availability Extension 12 SP5Package registry (OSV)
suse:kernel-docs4.12.14-122.225.2 · SUSE:Linux Enterprise Software Development Kit 12 SP5Package registry (OSV)
suse:kernel-obs-build4.12.14-122.225.1 · SUSE:Linux Enterprise Software Development Kit 12 SP5Package registry (OSV)
suse:kernel-rt4.12.14-10.197.1 · SUSE:Linux Enterprise Real Time 12 SP5Package registry (OSV)
suse:kernel-rt_debug4.12.14-10.197.1 · SUSE:Linux Enterprise Real Time 12 SP5Package registry (OSV)
suse:kernel-source4.12.14-122.225.1 · SUSE:Linux Enterprise Server 12 SP5Package registry (OSV)
suse:kernel-source-azure4.12.14-16.194.1 · SUSE:Linux Enterprise Server 12 SP5Package registry (OSV)
suse:kernel-source-rt4.12.14-10.197.1 · SUSE:Linux Enterprise Real Time 12 SP5Package registry (OSV)
suse:kernel-syms-azure4.12.14-16.194.1 · SUSE:Linux Enterprise Server 12 SP5Package registry (OSV)
suse:kernel-syms-rt4.12.14-10.197.1 · SUSE:Linux Enterprise Real Time 12 SP5Package registry (OSV)
suse:kgraft-patch-SLE12-SP5_Update_591-8.3.1 · SUSE:Linux Enterprise Live Patching 12 SP5Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

References

All records