# CVE-2024-49980: vrf: revert "vrf: Remove unnecessary RCU-bh critical section"

> 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.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2024-10-21T18:02:26.494Z
- **Modified:** 2026-06-17T08:00:52.323Z

## Who should check

- Anyone running Linux \>= 504fc6f4f7f681d2a03aa5f68aad549d90eab853, \< 718a752bd746b3f4dd62516bb437baf73d548415; \>= 504fc6f4f7f681d2a03aa5f68aad549d90eab853, \< 8c9381b3138246d46536db93ed696832abd70204; \>= 504fc6f4f7f681d2a03aa5f68aad549d90eab853, \< e61f8c4d179b2ffc0d3b7f821c3734be738643d0; \>= 504fc6f4f7f681d2a03aa5f68aad549d90eab853, \< b04c4d9eb4f25b950b33218e33b04c94e7445e51
- Anyone running Linux 6.6

## Description

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

vrf: revert "vrf: Remove unnecessary RCU-bh critical section"

This reverts commit 504fc6f4f7f681d2a03aa5f68aad549d90eab853.

dev\_queue\_xmit\_nit is expected to be called with BH disabled.
\_\_dev\_queue\_xmit has the following:

        /\* Disable soft irqs for various locks below. Also
         \* stops preemption for RCU.
         \*/
        rcu\_read\_lock\_bh();

VRF must follow this invariant. The referenced commit removed this
protection. Which triggered a lockdep warning:

	================================
	WARNING: inconsistent lock state
	6.11.0 \#1 Tainted: G        W
	--------------------------------
	inconsistent {IN-SOFTIRQ-W} -\> {SOFTIRQ-ON-W} usage.
	btserver/134819 \[HC0\[0\]:SC0\[0\]:HE1:SE1\] takes:
	ffff8882da30c118 (rlock-AF\_PACKET){+.?.}-{2:2}, at: tpacket\_rcv+0x863/0x3b30
	{IN-SOFTIRQ-W} state was registered at:
	  lock\_acquire+0x19a/0x4f0
	  \_raw\_spin\_lock+0x27/0x40
	  packet\_rcv+0xa33/0x1320
	  \_\_netif\_receive\_skb\_core.constprop.0+0xcb0/0x3a90
	  \_\_netif\_receive\_skb\_list\_core+0x2c9/0x890
	  netif\_receive\_skb\_list\_internal+0x610/0xcc0
          \[...\]

	other info that might help us debug this:
	 Possible unsafe locking scenario:

	       CPU0
	       ----
	  lock(rlock-AF\_PACKET);
	  \<Interrupt\>
	    lock(rlock-AF\_PACKET);

	 \*\*\* DEADLOCK \*\*\*

	Call Trace:
	 \<TASK\>
	 dump\_stack\_lvl+0x73/0xa0
	 mark\_lock+0x102e/0x16b0
	 \_\_lock\_acquire+0x9ae/0x6170
	 lock\_acquire+0x19a/0x4f0
	 \_raw\_spin\_lock+0x27/0x40
	 tpacket\_rcv+0x863/0x3b30
	 dev\_queue\_xmit\_nit+0x709/0xa40
	 vrf\_finish\_direct+0x26e/0x340 \[vrf\]
	 vrf\_l3\_out+0x5f4/0xe80 \[vrf\]
	 \_\_ip\_local\_out+0x51e/0x7a0
          \[...\]

## Affected and fixed versions

- Linux: \>= 504fc6f4f7f681d2a03aa5f68aad549d90eab853, \< 718a752bd746b3f4dd62516bb437baf73d548415; \>= 504fc6f4f7f681d2a03aa5f68aad549d90eab853, \< 8c9381b3138246d46536db93ed696832abd70204; \>= 504fc6f4f7f681d2a03aa5f68aad549d90eab853, \< e61f8c4d179b2ffc0d3b7f821c3734be738643d0; \>= 504fc6f4f7f681d2a03aa5f68aad549d90eab853, \< b04c4d9eb4f25b950b33218e33b04c94e7445e51 (cvelist)
- Linux: 6.6 (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-2024-49980. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-49980.md
Affected: Linux >= 504fc6f4f7f681d2a03aa5f68aad549d90eab853, < 718a752bd746b3f4dd62516bb437baf73d548415; >= 504fc6f4f7f681d2a03aa5f68aad549d90eab853, < 8c9381b3138246d46536db93ed696832abd70204; >= 504fc6f4f7f681d2a03aa5f68aad549d90eab853, < e61f8c4d179b2ffc0d3b7f821c3734be738643d0; >= 504fc6f4f7f681d2a03aa5f…
Fixed in: Linux 718a752bd746b3f4dd62516bb437baf73d548415, Linux 8c9381b3138246d46536db93ed696832abd70204

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-2024-49980 being exploited?

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

### How serious is CVE-2024-49980?

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

### Which versions are affected by CVE-2024-49980?

Linux \>= 504fc6f4f7f681d2a03aa5f68aad549d90eab853, \< 718a752bd746b3f4dd62516bb437baf73d548415; \>= 504fc6f4f7f681d2a03aa5f68aad549d90eab853, \< 8c9381b3138246d46536db93ed696832abd70204; \>= 504fc6f4f7f681d2a03aa5f68aad549d90eab853, \< e61f8c4d179b2ffc0d3b7f821c3734be738643d0; \>= 504fc6f4f7f681d2a03aa5f68aad549d90eab853, \< b04c4d9eb4f25b950b33218e33b04c94e7445e51; Linux 6.6.

### Is there a fix for CVE-2024-49980?

Yes. Fixed in Linux 718a752bd746b3f4dd62516bb437baf73d548415, Linux 8c9381b3138246d46536db93ed696832abd70204. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-49980?

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/718a752bd746b3f4dd62516bb437baf73d548415>
- patch: <https://git.kernel.org/stable/c/8c9381b3138246d46536db93ed696832abd70204>
- patch: <https://git.kernel.org/stable/c/e61f8c4d179b2ffc0d3b7f821c3734be738643d0>
- patch: <https://git.kernel.org/stable/c/b04c4d9eb4f25b950b33218e33b04c94e7445e51>

## 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-2024-49980>

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