Skip to content
Heist/ feed
Back to feed
MediumFix available

ASoC: stm32: spdifrx: fix dma channel release in stm32_spdifrx_remove

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: ASoC: stm32: spdifrx: fix dma channel release in stm32_spdifrx_remove In case of error when requesting ctrl_chan DMA channel, ctrl_chan is not null. So the release of the dma channel leads to the following issue: [ 4.879000] st,stm32-spdifrx 500d0000.audio-controller: dma_request_slave_channel error -19 [ 4.888975] Unable to handle kernel NULL pointer dereference at virtual address 000000000000003d [...] [ 5.096577] Call trace: [ 5.099099] dma_release_channel+0x24/0x100 [ 5.103235] stm32_spdifrx_remove+0x24/0x60 [snd_soc_stm32_spdifrx] [ 5.109494] stm32_spdifrx_probe+0x320/0x4c4 [snd_soc_stm32_spdifrx] To avoid this issue, release channel only if the pointer is valid.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.230, 5.15.172, 6.1.117, 6.11.8, 6.6.61
CVEs
CVE-2024-50292
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 01:49 UTC · Revision 1

Source evidence

ASoC: stm32: spdifrx: fix dma channel release in stm32_spdifrx_remove

core-osv · Original source

Published 19 Nov 2024, 01:30 UTC

In the Linux kernel, the following vulnerability has been resolved: ASoC: stm32: spdifrx: fix dma channel release in stm32_spdifrx_remove In case of error when requesting ctrl_chan DMA channel, ctrl_chan is not null. So the release of the dma channel leads to the following issue: [ 4.879000] st,stm32-spdifrx 500d0000.audio-controller: dma_request_slave_channel error -19 [ 4.888975] Unable to handle kernel NULL pointer dereference at virtual address 000000000000003d [...] [ 5.096577] Call trace: [ 5.099099] dma_release_channel+0x24/0x100 [ 5.103235] stm32_spdifrx_remove+0x24/0x60 [snd_soc_stm32_spdifrx] [ 5.109494] stm32_spdifrx_probe+0x320/0x4c4 [snd_soc_stm32_spdifrx] To avoid this issue, release channel only if the pointer is valid.

osv:CVE-2024-50292

Kernel

Fixed versions: 5.10.230, 5.15.172, 6.1.117, 6.6.61, 6.11.8

Complete source record
{
  "id": "22bd4597fe49900c407d03b199be2da8fe4e245c765a4812d3ad079dab544c74",
  "url": "https://osv.dev/vulnerability/CVE-2024-50292",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ASoC: stm32: spdifrx: fix dma channel release in stm32_spdifrx_remove",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: ASoC: stm32: spdifrx: fix dma channel release in stm32_spdifrx_remove In case of error when requesting ctrl_chan DMA channel, ctrl_chan is not null. So the release of the dma channel leads to the following issue: [ 4.879000] st,stm32-spdifrx 500d0000.audio-controller: dma_request_slave_channel error -19 [ 4.888975] Unable to handle kernel NULL pointer dereference at virtual address 000000000000003d [...] [ 5.096577] Call trace: [ 5.099099] dma_release_channel+0x24/0x100 [ 5.103235] stm32_spdifrx_remove+0x24/0x60 [snd_soc_stm32_spdifrx] [ 5.109494] stm32_spdifrx_probe+0x320/0x4c4 [snd_soc_stm32_spdifrx] To avoid this issue, release channel only if the pointer is valid.",
    "evidence": "osv:CVE-2024-50292",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.230",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.172",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.117",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.61",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.11.8",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-50292",
      "aliases": [
        "CVE-2024-50292"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "794df9448edb55978e50372f083aeedade1b2844"
                },
                {
                  "fixed": "3a977b554f668382dfba31fd62e4cce4fe5643db"
                },
                {
                  "fixed": "0d75f887aabd80cf37ea48d28f159afa7850ea28"
                },
                {
                  "fixed": "4f1d74f74752eab8af6b8b28797dc6490d57374c"
                },
                {
                  "fixed": "23bdbd1ef3e063e03d3c50c15a591b005ebbae39"
                },
                {
                  "fixed": "22ae9321054cf7f36c537702af133659f51a0b88"
                },
                {
                  "fixed": "9bb4af400c386374ab1047df44c508512c08c31f"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50292.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.7.0"
                },
                {
                  "fixed": "5.10.230"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.172"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.117"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.61"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.11.8"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50292.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:53.115584570Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0d75f887aabd80cf37ea48d28f159afa7850ea28",
        "https://git.kernel.org/stable/c/22ae9321054cf7f36c537702af133659f51a0b88",
        "https://git.kernel.org/stable/c/23bdbd1ef3e063e03d3c50c15a591b005ebbae39",
        "https://git.kernel.org/stable/c/3a977b554f668382dfba31fd62e4cce4fe5643db",
        "https://git.kernel.org/stable/c/4f1d74f74752eab8af6b8b28797dc6490d57374c",
        "https://git.kernel.org/stable/c/9bb4af400c386374ab1047df44c508512c08c31f",
        "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
        "https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50292.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-50292",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50292.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-50292",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521508,
  "published_at": "2024-11-19T01:30:38.036+00:00"
}