{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-52445","id":"CVE-2023-52445","title":"media: pvrusb2: fix use after free on context disconnection","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: pvrusb2: fix use after free on context disconnection\n\nUpon module load, a kthread is created targeting the\npvr2_context_thread_func function, which may call pvr2_context_destroy\nand thus call kfree() on the context object. However, that might happen\nbefore the usb hub_event handler is able to notify the driver. This\npatch ","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: pvrusb2: fix use after free on context disconnection\n\nUpon module load, a kthread is created targeting the\npvr2_context_thread_func function, which may call pvr2_context_destroy\nand thus call kfree() on the context object. However, that might happen\nbefore the usb hub_event handler is able to notify the driver. This\npatch adds a sanity check before the invalid read reported by syzbot,\nwithin the context disconnection call stack.","published":"2024-02-22T16:21:37.784Z","updated":"2026-10-28T02:30:45.132902862Z","reserved":"2024-02-20T12:30:33.291Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e5be15c63804e05b5a94197524023702a259e308","lessThan":"ec36c134dd020d28e312c2f1766f85525e747aab","status":"affected","versionType":"git"},{"version":"e5be15c63804e05b5a94197524023702a259e308","lessThan":"47aa8fcd5e8b5563af4042a00f25ba89bef8f33d","status":"affected","versionType":"git"},{"version":"e5be15c63804e05b5a94197524023702a259e308","lessThan":"3233d8bf7893550045682192cb227af7fa3defeb","status":"affected","versionType":"git"},{"version":"e5be15c63804e05b5a94197524023702a259e308","lessThan":"ec3634ebe23fc3c44ebc67c6d25917300bc68c08","status":"affected","versionType":"git"},{"version":"e5be15c63804e05b5a94197524023702a259e308","lessThan":"30773ea47d41773f9611ffb4ebc9bda9d19a9e7e","status":"affected","versionType":"git"},{"version":"e5be15c63804e05b5a94197524023702a259e308","lessThan":"2cf0005d315549b8d2b940ff96a66c2a889aa795","status":"affected","versionType":"git"},{"version":"e5be15c63804e05b5a94197524023702a259e308","lessThan":"437b5f57732bb4cc32cc9f8895d2010ee9ff521c","status":"affected","versionType":"git"},{"version":"e5be15c63804e05b5a94197524023702a259e308","lessThan":"ded85b0c0edd8f45fec88783d7555a5b982449c1","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.26","status":"affected"},{"version":"0","lessThan":"2.6.26","status":"unaffected","versionType":"semver"},{"version":"4.19.306","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.268","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.209","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.148","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.75","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.14","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.7.2","lessThanOrEqual":"6.7.*","status":"unaffected","versionType":"semver"},{"version":"6.8","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/ec36c134dd020d28e312c2f1766f85525e747aab","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/47aa8fcd5e8b5563af4042a00f25ba89bef8f33d","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/3233d8bf7893550045682192cb227af7fa3defeb","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/ec3634ebe23fc3c44ebc67c6d25917300bc68c08","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/30773ea47d41773f9611ffb4ebc9bda9d19a9e7e","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/2cf0005d315549b8d2b940ff96a66c2a889aa795","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/437b5f57732bb4cc32cc9f8895d2010ee9ff521c","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/ded85b0c0edd8f45fec88783d7555a5b982449c1","tags":["x_transferred","Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html","tags":["x_transferred","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","tags":["x_transferred","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52445.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52445","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.00244,"epssPercentile":0.15752,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-52445","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52445","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-52445","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-52445","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}