{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-47652","id":"CVE-2021-47652","title":"video: fbdev: smscufx: Fix null-ptr-deref in ufx_usb_probe()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nvideo: fbdev: smscufx: Fix null-ptr-deref in ufx_usb_probe()\n\nI got a null-ptr-deref report:\n\nBUG: kernel NULL pointer dereference, address: 0000000000000000\n...\nRIP: 0010:fb_destroy_modelist+0x38/0x100\n...\nCall Trace:\n ufx_usb_probe.cold+0x2b5/0xac1 [smscufx]\n usb_probe_interface+0x1aa/0x3c0 [usbcore]\n really_probe+0x167/0x460\n.","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nvideo: fbdev: smscufx: Fix null-ptr-deref in ufx_usb_probe()\n\nI got a null-ptr-deref report:\n\nBUG: kernel NULL pointer dereference, address: 0000000000000000\n...\nRIP: 0010:fb_destroy_modelist+0x38/0x100\n...\nCall Trace:\n ufx_usb_probe.cold+0x2b5/0xac1 [smscufx]\n usb_probe_interface+0x1aa/0x3c0 [usbcore]\n really_probe+0x167/0x460\n...\n ret_from_fork+0x1f/0x30\n\nIf fb_alloc_cmap() fails in ufx_usb_probe(), fb_destroy_modelist() will\nbe called to destroy modelist in the error handling path. But modelist\nhas not been initialized yet, so it will result in null-ptr-deref.\n\nInitialize modelist before calling fb_alloc_cmap() to fix this bug.","published":"2025-02-26T01:54:18.089Z","updated":"2026-06-17T04:18:15.043Z","reserved":"2025-02-26T01:48:21.520Z","status":"Modified","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"},{"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":"CISA-ADP"},{"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":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3c8a63e22a0802fd56380f6ab305b419f18eb6f5","lessThan":"d1b6a1f0c23b7164250479bf92e2893291dca539","status":"affected","versionType":"git"},{"version":"3c8a63e22a0802fd56380f6ab305b419f18eb6f5","lessThan":"0fd28daec73525382e5c992db8743bf76e42cd5c","status":"affected","versionType":"git"},{"version":"3c8a63e22a0802fd56380f6ab305b419f18eb6f5","lessThan":"dd3a6cc7385b89ec2303f39dfc3bafa4e24cec4b","status":"affected","versionType":"git"},{"version":"3c8a63e22a0802fd56380f6ab305b419f18eb6f5","lessThan":"da8b269cc0a2526ebeaccbe2484c999eb0f822cf","status":"affected","versionType":"git"},{"version":"3c8a63e22a0802fd56380f6ab305b419f18eb6f5","lessThan":"64ec3e678d76419f207b9cdd338dda438ca10b1c","status":"affected","versionType":"git"},{"version":"3c8a63e22a0802fd56380f6ab305b419f18eb6f5","lessThan":"c420b540db4b5d69de0a36d8b9d9a6a79a04f05a","status":"affected","versionType":"git"},{"version":"3c8a63e22a0802fd56380f6ab305b419f18eb6f5","lessThan":"d396c651e2b508b6179bb678cc029f3becbf5170","status":"affected","versionType":"git"},{"version":"3c8a63e22a0802fd56380f6ab305b419f18eb6f5","lessThan":"9280ef235b05e8f19f8bc6d547b992f0a0ef398d","status":"affected","versionType":"git"},{"version":"3c8a63e22a0802fd56380f6ab305b419f18eb6f5","lessThan":"1791f487f877a9e83d81c8677bd3e7b259e7cb27","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.2","status":"affected"},{"version":"0","lessThan":"3.2","status":"unaffected","versionType":"semver"},{"version":"4.9.311","lessThanOrEqual":"4.9.*","status":"unaffected","versionType":"semver"},{"version":"4.14.276","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.238","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.189","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.110","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.33","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.16.19","lessThanOrEqual":"5.16.*","status":"unaffected","versionType":"semver"},{"version":"5.17.2","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/d1b6a1f0c23b7164250479bf92e2893291dca539","tags":["Patch","fix"]},{"url":"https://git.kernel.org/stable/c/0fd28daec73525382e5c992db8743bf76e42cd5c","tags":["Patch","fix"]},{"url":"https://git.kernel.org/stable/c/dd3a6cc7385b89ec2303f39dfc3bafa4e24cec4b","tags":["Patch","fix"]},{"url":"https://git.kernel.org/stable/c/da8b269cc0a2526ebeaccbe2484c999eb0f822cf","tags":["Patch","fix"]},{"url":"https://git.kernel.org/stable/c/64ec3e678d76419f207b9cdd338dda438ca10b1c","tags":["Patch","fix"]},{"url":"https://git.kernel.org/stable/c/c420b540db4b5d69de0a36d8b9d9a6a79a04f05a","tags":["Patch","fix"]},{"url":"https://git.kernel.org/stable/c/d396c651e2b508b6179bb678cc029f3becbf5170","tags":["Patch","fix"]},{"url":"https://git.kernel.org/stable/c/9280ef235b05e8f19f8bc6d547b992f0a0ef398d","tags":["Patch","fix"]},{"url":"https://git.kernel.org/stable/c/1791f487f877a9e83d81c8677bd3e7b259e7cb27","tags":["Patch","fix"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0026,"epssPercentile":0.1785,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-47652","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47652","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-47652","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-2021-47652","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}