CVE-2023-52492
published medium CVSS 3.1 · 4.4dmaengine: fix NULL pointer in channel unregistration function
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxd2fb0a0438384fee08a418025f743913020033ce to < 9de69732dde4e443c1c7f89acbbed2c45a6a8e17 · d2fb0a0438384fee08a418025f743913020033ce to < 047fce470412ab64cb7345f9ff5d06919078ad79 · d2fb0a0438384fee08a418025f743913020033ce to < 2ab32986a0b9e329eb7f8f04dd57cc127f797c08 · d2fb0a0438384fee08a418025f743913020033ce to < 7f0ccfad2031eddcc510caf4e57f2d4aa2d8a50b · d2fb0a0438384fee08a418025f743913020033ce to < 9263fd2a63487c6d04cbb7b74a48fb12e1e352d0 · d2fb0a0438384fee08a418025f743913020033ce to < f5c24d94512f1b288262beda4d3dcb9629222fc7 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.6 (affected) · 0 to < 5.6 (unaffected · semver) · 5.10.210 through 5.10.* (unaffected · semver) · 5.15.149 through 5.15.* (unaffected · semver) · 6.1.76 through 6.1.* (unaffected · semver) · 6.6.15 through 6.6.* (unaffected · semver) · 6.7.3 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2024-053 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2024-039 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-517 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| Debian | bullseye | linux | Advisory build | 5.10.216-1 | DSA-5681-1 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| Debian | buster | linux-5.10 | Advisory build | 5.10.216-1~deb10u1 | DLA-3842-1 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernelx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-abi-stablelistsx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-corex86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-cross-headersaarch64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-cross-headersx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-debugx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-debug-corex86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-debug-develx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-debug-modulesx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-debug-modules-extrax86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-develx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-docx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-headersaarch64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-headersx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-modulesx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-modules-extrax86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-toolsaarch64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-toolsx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-tools-libsaarch64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-tools-libsx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-tools-libs-develaarch64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-tools-libs-develx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | perfaarch64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | perfx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | python3-perfaarch64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | python3-perfx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:7.4.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:7.4.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-cross-headersx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debugx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-develx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-modulesx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-modules-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-modules-extrax86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-uki-virtx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-develx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-devel-matchedx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-docx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-headersaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-headersx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-modulesx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-modules-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-modules-extrax86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-toolsaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-toolsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libsaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libs-develaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libs-develx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-uki-virtx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-uki-virt-addonsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | libperfaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | libperfx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | perfaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | perfx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: dmaengine: fix NULL pointer in channel unregistration function __dma_async_device_channel_register() can fail. In case of failure, chan->local is freed (with free_percpu()), and chan->local is nullified. When dma_async_device_unregister() is called (because of managed API or intentionally by DMA controller driver), channels are unconditionally unregistered, leading to this NULL pointer: [ 1.318693] Unable to handle kernel NULL pointer dereference at virtual address 00000000000000d0 [...] [ 1.484499] Call trace: [ 1.486930] device_del+0x40/0x394 [ 1.490314] device_unregister+0x20/0x7c [ 1.494220] __dma_async_device_channel_unregister+0x68/0xc0 Look at dma_async_device_register() function error path, channel device unregistration is done only if chan->local is not NULL. Then add the same condition at the beginning of __dma_async_device_channel_unregister() function, to avoid NULL pointer issue whatever the API used to reach this function.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.4 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | d2fb0a0438384fee08a418025f743913020033ce to < 9de69732dde4e443c1c7f89acbbed2c45a6a8e17 (affected · git)d2fb0a0438384fee08a418025f743913020033ce to < 047fce470412ab64cb7345f9ff5d06919078ad79 (affected · git)d2fb0a0438384fee08a418025f743913020033ce to < 2ab32986a0b9e329eb7f8f04dd57cc127f797c08 (affected · git)d2fb0a0438384fee08a418025f743913020033ce to < 7f0ccfad2031eddcc510caf4e57f2d4aa2d8a50b (affected · git)d2fb0a0438384fee08a418025f743913020033ce to < 9263fd2a63487c6d04cbb7b74a48fb12e1e352d0 (affected · git)d2fb0a0438384fee08a418025f743913020033ce to < f5c24d94512f1b288262beda4d3dcb9629222fc7 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.6 (affected)0 to < 5.6 (unaffected · semver)5.10.210 through 5.10.* (unaffected · semver)5.15.149 through 5.15.* (unaffected · semver)6.1.76 through 6.1.* (unaffected · semver)6.6.15 through 6.6.* (unaffected · semver)6.7.3 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-476 CWE-476 NULL Pointer Dereference
References
7- https://git.kernel.org/stable/c/047fce470412ab64cb7345f9ff5d06919078ad79
- https://git.kernel.org/stable/c/2ab32986a0b9e329eb7f8f04dd57cc127f797c08
- https://git.kernel.org/stable/c/7f0ccfad2031eddcc510caf4e57f2d4aa2d8a50b
- https://git.kernel.org/stable/c/9263fd2a63487c6d04cbb7b74a48fb12e1e352d0
- https://git.kernel.org/stable/c/9de69732dde4e443c1c7f89acbbed2c45a6a8e17
- https://git.kernel.org/stable/c/f5c24d94512f1b288262beda4d3dcb9629222fc7
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
Provider assertions
3Linux · cna
dmaengine: fix NULL pointer in channel unregistration function
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4cc040ed07c739d440ee0f8ed895e45dbc917c9e3248c245d1a24fef6531e414
- Ingested
- 23 Sep 2026, 08:14:33 UTC
- Source record
- Official CVE record