# CVE-2021-47015: bnxt\_en: Fix RX consumer index logic in the error path.

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.25% (percentile 10, 2026-11-26)
- **Published:** 2024-02-28T08:13:32.135Z
- **Modified:** 2026-06-17T04:16:11.523Z

## Who should check

- Anyone running Linux \>= a1b0e4e684e9c300b9e759b46cb7a0147e61ddff, \< b1523e4ba293b2a32d9fabaf70c1dcaa6e3e2847; \>= a1b0e4e684e9c300b9e759b46cb7a0147e61ddff, \< 4fcaad2b7dac3f16704f8118c7e481024ddbd3ed; \>= a1b0e4e684e9c300b9e759b46cb7a0147e61ddff, \< e187ef83c04a5d23e68d39cfdff1a1931e29890c; \>= a1b0e4e684e9c300b9e759b46cb7a0147e61ddff, \< 3fbc5bc651d688fbea2a59cdc91520a2f5334d0a; \>= a1b0e4e684e9c300b9e759b46cb7a0147e61ddff, \< bbd6f0a948139970f4a615dff189d9a503681a39; 8e302e8e10b05165ed21273539a1e6a83ab93e9e; 46281ee85b651b0df686001651b965d17b8e2c67; d2d055a554036b0240f296743942b8111fd4ce97; aecbbae850ede49183fa0b73c7445531a47669cf; \>= 4.9.169, \< 4.10; …
- Anyone running Linux 5.1

## Description

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

bnxt\_en: Fix RX consumer index logic in the error path.

In bnxt\_rx\_pkt(), the RX buffers are expected to complete in order.
If the RX consumer index indicates an out of order buffer completion,
it means we are hitting a hardware bug and the driver will abort all
remaining RX packets and reset the RX ring.  The RX consumer index
that we pass to bnxt\_discard\_rx() is not correct.  We should be
passing the current index (tmp\_raw\_cons) instead of the old index
(raw\_cons).  This bug can cause us to be at the wrong index when
trying to abort the next RX packet.  It can crash like this:

 \#0 \[ffff9bbcdf5c39a8\] machine\_kexec at ffffffff9b05e007
 \#1 \[ffff9bbcdf5c3a00\] \_\_crash\_kexec at ffffffff9b111232
 \#2 \[ffff9bbcdf5c3ad0\] panic at ffffffff9b07d61e
 \#3 \[ffff9bbcdf5c3b50\] oops\_end at ffffffff9b030978
 \#4 \[ffff9bbcdf5c3b78\] no\_context at ffffffff9b06aaf0
 \#5 \[ffff9bbcdf5c3bd8\] \_\_bad\_area\_nosemaphore at ffffffff9b06ae2e
 \#6 \[ffff9bbcdf5c3c28\] bad\_area\_nosemaphore at ffffffff9b06af24
 \#7 \[ffff9bbcdf5c3c38\] \_\_do\_page\_fault at ffffffff9b06b67e
 \#8 \[ffff9bbcdf5c3cb0\] do\_page\_fault at ffffffff9b06bb12
 \#9 \[ffff9bbcdf5c3ce0\] page\_fault at ffffffff9bc015c5
    \[exception RIP: bnxt\_rx\_pkt+237\]
    RIP: ffffffffc0259cdd  RSP: ffff9bbcdf5c3d98  RFLAGS: 00010213
    RAX: 000000005dd8097f  RBX: ffff9ba4cb11b7e0  RCX: ffffa923cf6e9000
    RDX: 0000000000000fff  RSI: 0000000000000627  RDI: 0000000000001000
    RBP: ffff9bbcdf5c3e60   R8: 0000000000420003   R9: 000000000000020d
    R10: ffffa923cf6ec138  R11: ffff9bbcdf5c3e83  R12: ffff9ba4d6f928c0
    R13: ffff9ba4cac28080  R14: ffff9ba4cb11b7f0  R15: ffff9ba4d5a30000
    ORIG\_RAX: ffffffffffffffff  CS: 0010  SS: 0018

## Affected and fixed versions

- Linux: \>= a1b0e4e684e9c300b9e759b46cb7a0147e61ddff, \< b1523e4ba293b2a32d9fabaf70c1dcaa6e3e2847; \>= a1b0e4e684e9c300b9e759b46cb7a0147e61ddff, \< 4fcaad2b7dac3f16704f8118c7e481024ddbd3ed; \>= a1b0e4e684e9c300b9e759b46cb7a0147e61ddff, \< e187ef83c04a5d23e68d39cfdff1a1931e29890c; \>= a1b0e4e684e9c300b9e759b46cb7a0147e61ddff, \< 3fbc5bc651d688fbea2a59cdc91520a2f5334d0a; \>= a1b0e4e684e9c300b9e759b46cb7a0147e61ddff, \< bbd6f0a948139970f4a615dff189d9a503681a39; 8e302e8e10b05165ed21273539a1e6a83ab93e9e; 46281ee85b651b0df686001651b965d17b8e2c67; d2d055a554036b0240f296743942b8111fd4ce97; aecbbae850ede49183fa0b73c7445531a47669cf; \>= 4.9.169, \< 4.10; … (cvelist)
- Linux: 5.1 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-47015. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47015.md
Affected: Linux >= a1b0e4e684e9c300b9e759b46cb7a0147e61ddff, < b1523e4ba293b2a32d9fabaf70c1dcaa6e3e2847; >= a1b0e4e684e9c300b9e759b46cb7a0147e61ddff, < 4fcaad2b7dac3f16704f8118c7e481024ddbd3ed; >= a1b0e4e684e9c300b9e759b46cb7a0147e61ddff, < e187ef83c04a5d23e68d39cfdff1a1931e29890c; >= a1b0e4e684e9c300b9e759b…
Fixed in: Linux 4fcaad2b7dac3f16704f8118c7e481024ddbd3ed, Linux 3fbc5bc651d688fbea2a59cdc91520a2f5334d0a, Linux 4.10

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-47015 being exploited?

There is no confirmed exploitation: CVE-2021-47015 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-47015?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2021-47015?

Linux \>= a1b0e4e684e9c300b9e759b46cb7a0147e61ddff, \< b1523e4ba293b2a32d9fabaf70c1dcaa6e3e2847; \>= a1b0e4e684e9c300b9e759b46cb7a0147e61ddff, \< 4fcaad2b7dac3f16704f8118c7e481024ddbd3ed; \>= a1b0e4e684e9c300b9e759b46cb7a0147e61ddff, \< e187ef83c04a5d23e68d39cfdff1a1931e29890c; \>= a1b0e4e684e9c300b9e759b46cb7a0147e61ddff, \< 3fbc5bc651d688fbea2a59cdc91520a2f5334d0a; \>= a1b0e4e684e9c300b9e759b46cb7a0147e61ddff, \< bbd6f0a948139970f4a615dff189d9a503681a39; 8e302e8e10b05165ed21273539a1e6a83ab93e9e; 46281ee85b651b0df686001651b965d17b8e2c67; d2d055a554036b0240f296743942b8111fd4ce97; aecbbae850ede49183fa0b73c7445531a47669cf; \>= 4.9.169, \< 4.10; …; Linux 5.1.

### Is there a fix for CVE-2021-47015?

Yes. Fixed in Linux 4fcaad2b7dac3f16704f8118c7e481024ddbd3ed, Linux 3fbc5bc651d688fbea2a59cdc91520a2f5334d0a, Linux 4.10. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2021-47015?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/b1523e4ba293b2a32d9fabaf70c1dcaa6e3e2847>
- patch: <https://git.kernel.org/stable/c/4fcaad2b7dac3f16704f8118c7e481024ddbd3ed>
- patch: <https://git.kernel.org/stable/c/e187ef83c04a5d23e68d39cfdff1a1931e29890c>
- patch: <https://git.kernel.org/stable/c/3fbc5bc651d688fbea2a59cdc91520a2f5334d0a>
- patch: <https://git.kernel.org/stable/c/bbd6f0a948139970f4a615dff189d9a503681a39>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-47015>

HTML: <https://flawdb.com/CVE-2021-47015> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-47015>
