{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-53458","id":"CVE-2023-53458","title":"media: cx23885: Fix a null-ptr-deref bug in buffer_prepare() and buffer_finish()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: cx23885: Fix a null-ptr-deref bug in buffer_prepare() and buffer_finish()\n\nWhen the driver calls cx23885_risc_buffer() to prepare the buffer, the\nfunction call dma_alloc_coherent may fail, resulting in a empty buffer\nrisc->cpu. Later when we free the buffer or access the buffer, null ptr\nderef is triggered.\n\nThis bug is si","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: cx23885: Fix a null-ptr-deref bug in buffer_prepare() and buffer_finish()\n\nWhen the driver calls cx23885_risc_buffer() to prepare the buffer, the\nfunction call dma_alloc_coherent may fail, resulting in a empty buffer\nrisc->cpu. Later when we free the buffer or access the buffer, null ptr\nderef is triggered.\n\nThis bug is similar to the following one:\nhttps://git.linuxtv.org/media_stage.git/commit/?id=2b064d91440b33fba5b452f2d1b31f13ae911d71.\n\nWe believe the bug can be also dynamically triggered from user side.\nSimilarly, we fix this by checking the return value of cx23885_risc_buffer()\nand the value of risc->cpu before buffer free.","published":"2025-10-01T11:42:29.665Z","updated":"2026-11-07T02:30:19.097117525Z","reserved":"2025-10-01T11:39:39.399Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4d63a25c4523b5d18e5307897d56aff785f43bf5","lessThan":"f0a06203f2fe63f04311467200c99c4ee1926578","status":"affected","versionType":"git"},{"version":"4d63a25c4523b5d18e5307897d56aff785f43bf5","lessThan":"6738841f6fcf23e9fc30e2449f32fc84ee19c6f1","status":"affected","versionType":"git"},{"version":"4d63a25c4523b5d18e5307897d56aff785f43bf5","lessThan":"5b8e5e28e85a546dfccc3895befe0e823fdd7c89","status":"affected","versionType":"git"},{"version":"4d63a25c4523b5d18e5307897d56aff785f43bf5","lessThan":"47e8b73bc35d7c54642f78e498697692f6358996","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.18","status":"affected"},{"version":"0","lessThan":"3.18","status":"unaffected","versionType":"semver"},{"version":"5.15.113","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.30","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.3.4","lessThanOrEqual":"6.3.*","status":"unaffected","versionType":"semver"},{"version":"6.4","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/f0a06203f2fe63f04311467200c99c4ee1926578","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6738841f6fcf23e9fc30e2449f32fc84ee19c6f1","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5b8e5e28e85a546dfccc3895befe0e823fdd7c89","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/47e8b73bc35d7c54642f78e498697692f6358996","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53458.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53458","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00166,"epssPercentile":0.0596,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-53458","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53458","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-53458","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-53458","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}