Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-52492

MEDIUM 4.4EPSS 15%

dmaengine: fix NULL pointer in channel unregistration function

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= d2fb0a0438384fee08a418025f743913020033ce, < 9de69732dde4e443c1c7f89acbbed2c45a6a8e17; >= d2fb0a0438384fee08a418025f743913020033ce, < 047fce470412ab64cb7345f9ff5d06919078ad79; >= d2fb0a0438384fee08a418025f743913020033ce, < 2ab32986a0b9e329eb7f8f04dd57cc127f797c08; >= d2fb0a0438384fee08a418025f743913020033ce, < 7f0ccfad2031eddcc510caf4e57f2d4aa2d8a50b; >= d2fb0a0438384fee08a418025f743913020033ce, < 9263fd2a63487c6d04cbb7b74a48fb12e1e352d0; >= d2fb0a0438384fee08a418025f743913020033ce, < f5c24d94512f1b288262beda4d3dcb9629222fc7
  • Anyone running Linux 5.6

Vulnerability facts

Affected
Linux >= d2fb0a0438384fee08a418025f743913020033ce, < 9de69732dde4e443c1c7f89acbbed2c45a6a8e17; >= d2fb0a0438384fee08a418025f743913020033ce, < 047fce470412ab64cb7345f9ff5d06919078ad79; >= d2fb0a0438384fee08a418025f743913020033ce, < 2ab32986a0b9e329eb7f8f04dd57cc127f797c08; >= d2fb0a0438384fee08a418025f743913020033ce, < 7f0ccfad2031eddcc510caf4e57f2d4aa2d8a50b; >= d2fb0a0438384fee08a418025f743913020033ce, < 9263fd2a63487c6d04cbb7b74a48fb12e1e352d0; >= d2fb0a0438384fee08a418025f743913020033ce, < f5c24d94512f1b288262beda4d3dcb9629222fc7; Linux 5.6
Fixed in
Linux 9de69732dde4e443c1c7f89acbbed2c45a6a8e17, Linux 047fce470412ab64cb7345f9ff5d06919078ad79, Linux 2ab32986a0b9e329eb7f8f04dd57cc127f797c08, Linux 7f0ccfad2031eddcc510caf4e57f2d4aa2d8a50b, Linux 9263fd2a63487c6d04cbb7b74a48fb12e1e352d0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
4.4 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: High
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
CWE
CWE-476
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= d2fb0a0438384fee08a418025f743913020033ce, < 9de69732dde4e443c1c7f89acbbed2c45a6a8e17; >= d2fb0a0438384fee08a418025f743913020033ce, < 047fce470412ab64cb7345f9ff5d06919078ad79; >= d2fb0a0438384fee08a418025f743913020033ce, < 2ab32986a0b9e329eb7f8f04dd57cc127f797c08; >= d2fb0a0438384fee08a418025f743913020033ce, < 7f0ccfad2031eddcc510caf4e57f2d4aa2d8a50b; >= d2fb0a0438384fee08a418025f743913020033ce, < 9263fd2a63487c6d04cbb7b74a48fb12e1e352d0; >= d2fb0a0438384fee08a418025f743913020033ce, < f5c24d94512f1b288262beda4d3dcb9629222fc7—cvelist
Linux5.6—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2023-52492. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52492.md
Affected: Linux >= d2fb0a0438384fee08a418025f743913020033ce, < 9de69732dde4e443c1c7f89acbbed2c45a6a8e17; >= d2fb0a0438384fee08a418025f743913020033ce, < 047fce470412ab64cb7345f9ff5d06919078ad79; >= d2fb0a0438384fee08a418025f743913020033ce, < 2ab32986a0b9e329eb7f8f04dd57cc127f797c08; >= d2fb0a0438384fee08a4180…
Fixed in: Linux 9de69732dde4e443c1c7f89acbbed2c45a6a8e17, Linux 047fce470412ab64cb7345f9ff5d06919078ad79, Linux 2ab32986a0b9e329eb7f8f04dd57cc127f797c08, Linux 7f0ccfad2031eddcc510caf4e57f2d4aa2d8a50b, Linux 9263fd2a63487c6d04cbb7b74a48fb12e1e352d0

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.

References

FAQ

Is CVE-2023-52492 being exploited?

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

How serious is CVE-2023-52492?

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

Which versions are affected by CVE-2023-52492?

Linux >= d2fb0a0438384fee08a418025f743913020033ce, < 9de69732dde4e443c1c7f89acbbed2c45a6a8e17; >= d2fb0a0438384fee08a418025f743913020033ce, < 047fce470412ab64cb7345f9ff5d06919078ad79; >= d2fb0a0438384fee08a418025f743913020033ce, < 2ab32986a0b9e329eb7f8f04dd57cc127f797c08; >= d2fb0a0438384fee08a418025f743913020033ce, < 7f0ccfad2031eddcc510caf4e57f2d4aa2d8a50b; >= d2fb0a0438384fee08a418025f743913020033ce, < 9263fd2a63487c6d04cbb7b74a48fb12e1e352d0; >= d2fb0a0438384fee08a418025f743913020033ce, < f5c24d94512f1b288262beda4d3dcb9629222fc7; Linux 5.6.

Is there a fix for CVE-2023-52492?

Yes. Fixed in Linux 9de69732dde4e443c1c7f89acbbed2c45a6a8e17, Linux 047fce470412ab64cb7345f9ff5d06919078ad79, Linux 2ab32986a0b9e329eb7f8f04dd57cc127f797c08, Linux 7f0ccfad2031eddcc510caf4e57f2d4aa2d8a50b, Linux 9263fd2a63487c6d04cbb7b74a48fb12e1e352d0. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2023-52492?

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.

Sponsors