{"id":"DEBIAN-CVE-2024-40983","details":"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","modified":"2026-09-01T20:05:28.765181610Z","published":"2024-07-12T13:15:19.893Z","upstream":["CVE-2024-40983"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-40983"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:12","purl":"pkg:deb/debian/linux?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.99-1"}]}],"versions":["6.1.27-1","6.1.37-1","6.1.38-1","6.1.38-2","6.1.38-2~bpo11+1","6.1.38-3","6.1.38-4","6.1.38-4~bpo11+1","6.1.52-1","6.1.55-1","6.1.55-1~bpo11+1","6.1.64-1","6.1.66-1","6.1.67-1","6.1.69-1","6.1.69-1~bpo11+1","6.1.76-1","6.1.76-1~bpo11+1","6.1.82-1","6.1.85-1","6.1.90-1","6.1.90-1~bpo11+1","6.1.94-1","6.1.94-1~bpo11+1","6.1.98-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-40983.json"}},{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.9.7-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-40983.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.9.7-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-40983.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}