{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-42280","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-07-30T07:40:12.261Z","datePublished":"2024-08-17T09:08:47.699Z","dateUpdated":"2026-08-05T11:36:19.140Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T11:36:19.140Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmISDN: Fix a use after free in hfcmulti_tx()\n\nDon't dereference *sp after calling dev_kfree_skb(*sp)."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - `hfcmulti_tx()` is reached from `mISDN_sock_sendmsg()` → `handle_bmsg()`/`handle_dmsg()` on an `AF_ISDN` SOCK_DGRAM socket, i.e. a local syscall path, or from the card's IRQ/timer handler on the same host. There is no IP-network-facing consumer of this code.\nAC:L - The attacker deterministically arms the path by issuing two back-to-back `sendmsg()` calls so `bchannel_senddata()` sets `FLG_TX_NEXT`/`next_skb` (or `dchannel_senddata()` queues to `squeue`), guaranteeing `get_next_bframe()`/`get_next_dframe()` returns 1 and the post-free dereference executes. All call sites hold `hc->lock`, so there is no race to win and no memory-layout precondition.\nPR:L - `data_sock_create()` performs no `capable()` check — only `base_sock_create()` (ISDN_P_BASE/SOCK_RAW) requires `CAP_NET_RAW` — and `data_sock_bind()`/`connect_Bstack()` add no further gate, so any unprivileged local user can bind a B- or D-channel and drive the transmit path.\nUI:N - The attacker performs every step itself — socket, bind, PH_ACTIVATE_REQ, then the two queued sends — with no action required from an administrator or any other user.\nS:U - The freed object is a kernel `sk_buff` and any corruption stays within the kernel's own security authority; there is no VM, IOMMU, or sandbox boundary crossed.\nC:H - Per the published use-after-free, the stale `(*sp)->len` sizes a `write_fifo()` read from `(*sp)->data`, pushing freed-heap contents out onto the ISDN B-/D-channel to the far end of the line; heap grooming of the reclaimed skb makes this a controllable kernel-memory disclosure.\nI:H - A use-after-free lets the attacker reclaim the freed `sk_buff` with attacker-shaped data, so the `len` and `data` fields consumed afterwards become attacker-controlled, yielding a write/pointer primitive usable for control-flow hijacking.\nA:H - Dereferencing a freed skb and DMAing/PIO-ing from a dangling `data` pointer readily oopses or panics the kernel, and the sequence can be repeated at will from an unprivileged process."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/isdn/hardware/mISDN/hfcmulti.c"],"versions":[{"version":"af69fb3a8ffa37e986db00ed93099dc44babeef4","lessThan":"70db2c84631f50e02e6b32b543700699dd395803","status":"affected","versionType":"git"},{"version":"af69fb3a8ffa37e986db00ed93099dc44babeef4","lessThan":"d3e4d4a98c5629ccdcb762a0ff6c82ba9738a0c3","status":"affected","versionType":"git"},{"version":"af69fb3a8ffa37e986db00ed93099dc44babeef4","lessThan":"9460ac3dd1ae033bc2b021a458fb535a0c36ddb2","status":"affected","versionType":"git"},{"version":"af69fb3a8ffa37e986db00ed93099dc44babeef4","lessThan":"8f4030277dfb9dbe04fd78566b19931097c9d629","status":"affected","versionType":"git"},{"version":"af69fb3a8ffa37e986db00ed93099dc44babeef4","lessThan":"4d8b642985ae24f4b3656438eb8489834a17bb80","status":"affected","versionType":"git"},{"version":"af69fb3a8ffa37e986db00ed93099dc44babeef4","lessThan":"ddc79556641ee070d36be0de4a1f0a16a71f1fc7","status":"affected","versionType":"git"},{"version":"af69fb3a8ffa37e986db00ed93099dc44babeef4","lessThan":"7e4a539bca7d8d20f2c5d93c18cce8ef77cd78e0","status":"affected","versionType":"git"},{"version":"af69fb3a8ffa37e986db00ed93099dc44babeef4","lessThan":"61ab751451f5ebd0b98e02276a44e23a10110402","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/isdn/hardware/mISDN/hfcmulti.c"],"versions":[{"version":"2.6.27","status":"affected"},{"version":"0","lessThan":"2.6.27","status":"unaffected","versionType":"semver"},{"version":"4.19.320","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.282","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.224","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.165","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.103","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.44","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.10.3","lessThanOrEqual":"6.10.*","status":"unaffected","versionType":"semver"},{"version":"6.11","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.27","versionEndExcluding":"4.19.320"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.27","versionEndExcluding":"5.4.282"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.27","versionEndExcluding":"5.10.224"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.27","versionEndExcluding":"5.15.165"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.27","versionEndExcluding":"6.1.103"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.27","versionEndExcluding":"6.6.44"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.27","versionEndExcluding":"6.10.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.27","versionEndExcluding":"6.11"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/70db2c84631f50e02e6b32b543700699dd395803"},{"url":"https://git.kernel.org/stable/c/d3e4d4a98c5629ccdcb762a0ff6c82ba9738a0c3"},{"url":"https://git.kernel.org/stable/c/9460ac3dd1ae033bc2b021a458fb535a0c36ddb2"},{"url":"https://git.kernel.org/stable/c/8f4030277dfb9dbe04fd78566b19931097c9d629"},{"url":"https://git.kernel.org/stable/c/4d8b642985ae24f4b3656438eb8489834a17bb80"},{"url":"https://git.kernel.org/stable/c/ddc79556641ee070d36be0de4a1f0a16a71f1fc7"},{"url":"https://git.kernel.org/stable/c/7e4a539bca7d8d20f2c5d93c18cce8ef77cd78e0"},{"url":"https://git.kernel.org/stable/c/61ab751451f5ebd0b98e02276a44e23a10110402"}],"title":"mISDN: Fix a use after free in hfcmulti_tx()","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-42280","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T16:11:39.682152Z"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-09-12T17:33:31.049Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-11-03T22:03:20.326Z"}}]}}