# CVE-2024-40983: tipc: force a dst refcount before doing decryption

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

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.97% (percentile 61, 2026-11-26)
- **Published:** 2024-07-12T12:33:57.263Z
- **Modified:** 2026-08-05T11:34:23.838Z

## Who should check

- Anyone running Linux \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< 3eb1b39627892c4e26cb0162b75725aa5fcc60c8; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< 692803b39a36e63ac73208e0a3769ae6a2f9bc76; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< 623c90d86a61e3780f682b32928af469c66ec4c2; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< b57a4a2dc8746cea58a922ebe31b6aa629d69d93; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< 6808b41371670c51feea14f63ade211e78100930; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< 2ebe8f840c7450ecbfca9d18ac92e9ce9155e269
- Anyone running Linux 5.5

## Description

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

tipc: force a dst refcount before doing decryption

As it says in commit 3bc07321ccc2 ("xfrm: Force a dst refcount before
entering the xfrm type handlers"):

"Crypto requests might return asynchronous. In this case we leave the
 rcu protected region, so force a refcount on the skb's destination
 entry before we enter the xfrm type input/output handlers."

On TIPC decryption path it has the same problem, and skb\_dst\_force()
should be called before doing decryption to avoid a possible crash.

Shuang reported this issue when this warning is triggered:

  \[\] WARNING: include/net/dst.h:337 tipc\_sk\_rcv+0x1055/0x1ea0 \[tipc\]
  \[\] Kdump: loaded Tainted: G W --------- - - 4.18.0-496.el8.x86\_64+debug
  \[\] Workqueue: crypto cryptd\_queue\_worker
  \[\] RIP: 0010:tipc\_sk\_rcv+0x1055/0x1ea0 \[tipc\]
  \[\] Call Trace:
  \[\] tipc\_sk\_mcast\_rcv+0x548/0xea0 \[tipc\]
  \[\] tipc\_rcv+0xcf5/0x1060 \[tipc\]
  \[\] tipc\_aead\_decrypt\_done+0x215/0x2e0 \[tipc\]
  \[\] cryptd\_aead\_crypt+0xdb/0x190
  \[\] cryptd\_queue\_worker+0xed/0x190
  \[\] process\_one\_work+0x93d/0x17e0

## Affected and fixed versions

- Linux: \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< 3eb1b39627892c4e26cb0162b75725aa5fcc60c8; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< 692803b39a36e63ac73208e0a3769ae6a2f9bc76; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< 623c90d86a61e3780f682b32928af469c66ec4c2; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< b57a4a2dc8746cea58a922ebe31b6aa629d69d93; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< 6808b41371670c51feea14f63ade211e78100930; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< 2ebe8f840c7450ecbfca9d18ac92e9ce9155e269 (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- Upgrade Linux to 2ebe8f840c7450ecbfca9d18ac92e9ce9155e269 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-40983.md
Affected: Linux >= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, < 3eb1b39627892c4e26cb0162b75725aa5fcc60c8; >= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, < 692803b39a36e63ac73208e0a3769ae6a2f9bc76; >= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, < 623c90d86a61e3780f682b32928af469c66ec4c2; >= fc1b6d6de2208774efd2a20…
Fixed in: Linux 3eb1b39627892c4e26cb0162b75725aa5fcc60c8, Linux 692803b39a36e63ac73208e0a3769ae6a2f9bc76, Linux 623c90d86a61e3780f682b32928af469c66ec4c2, Linux 6808b41371670c51feea14f63ade211e78100930, Linux 2ebe8f840c7450ecbfca9d18ac92e9ce9155e269

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-40983 being exploited?

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

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

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< 3eb1b39627892c4e26cb0162b75725aa5fcc60c8; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< 692803b39a36e63ac73208e0a3769ae6a2f9bc76; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< 623c90d86a61e3780f682b32928af469c66ec4c2; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< b57a4a2dc8746cea58a922ebe31b6aa629d69d93; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< 6808b41371670c51feea14f63ade211e78100930; \>= fc1b6d6de2208774efd2a20bf0daddb02d18b1e0, \< 2ebe8f840c7450ecbfca9d18ac92e9ce9155e269; Linux 5.5.

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

Yes. Fixed in Linux 3eb1b39627892c4e26cb0162b75725aa5fcc60c8, Linux 692803b39a36e63ac73208e0a3769ae6a2f9bc76, Linux 623c90d86a61e3780f682b32928af469c66ec4c2, Linux 6808b41371670c51feea14f63ade211e78100930, Linux 2ebe8f840c7450ecbfca9d18ac92e9ce9155e269. Upgrade Linux to 2ebe8f840c7450ecbfca9d18ac92e9ce9155e269 or later.

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

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/3eb1b39627892c4e26cb0162b75725aa5fcc60c8>
- patch: <https://git.kernel.org/stable/c/692803b39a36e63ac73208e0a3769ae6a2f9bc76>
- patch: <https://git.kernel.org/stable/c/623c90d86a61e3780f682b32928af469c66ec4c2>
- patch: <https://git.kernel.org/stable/c/b57a4a2dc8746cea58a922ebe31b6aa629d69d93>
- patch: <https://git.kernel.org/stable/c/6808b41371670c51feea14f63ade211e78100930>
- patch: <https://git.kernel.org/stable/c/2ebe8f840c7450ecbfca9d18ac92e9ce9155e269>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## 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-40983>

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