{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2025-38630", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2025-04-16T04:51:24.029Z", "datePublished": "2025-08-22T16:00:38.678Z", "dateUpdated": "2026-05-11T21:31:56.370Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-05-11T21:31:56.370Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: imxfb: Check fb_add_videomode to prevent null-ptr-deref\n\nfb_add_videomode() can fail with -ENOMEM when its internal kmalloc() cannot\nallocate a struct fb_modelist. If that happens, the modelist stays empty but\nthe driver continues to register. Add a check for its return value to prevent\npoteintial null-ptr-deref, which is similar to the commit 17186f1f90d3 (\"fbdev:\nFix do_register_framebuffer to prevent null-ptr-deref in fb_videomode_to_var\")." } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/video/fbdev/imxfb.c" ], "versions": [ { "version": "1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c", "lessThan": "69373502c2b5d364842c702c941d1171e4f35a7c", "status": "affected", "versionType": "git" }, { "version": "1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c", "lessThan": "f00c29e6755ead56baf2a9c1d3c4c0bb40af3612", "status": "affected", "versionType": "git" }, { "version": "1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c", "lessThan": "cca8f5a3991916729b39d797d01499c335137319", "status": "affected", "versionType": "git" }, { "version": "1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c", "lessThan": "ac16154cccda8be10ee3ae188f10a06f3890bc5d", "status": "affected", "versionType": "git" }, { "version": "1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c", "lessThan": "4b5d36cc3014986e6fac12eaa8433fe56801d4ce", "status": "affected", "versionType": "git" }, { "version": "1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c", "lessThan": "40f0a51f6c54d46a94b9f1180339ede7ca7ee190", "status": "affected", "versionType": "git" }, { "version": "1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c", "lessThan": "49377bac9e3bec1635065a033c9679214fe7593e", "status": "affected", "versionType": "git" }, { "version": "1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c", "lessThan": "f060441c153495750804133555cf0a211a856892", "status": "affected", "versionType": "git" }, { "version": "1b6c79361ba5ce30b40f0f7d6fc2421dc5fcbe0c", "lessThan": "da11e6a30e0bb8e911288bdc443b3dc8f6a7cac7", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/video/fbdev/imxfb.c" ], "versions": [ { "version": "3.11", "status": "affected" }, { "version": "0", "lessThan": "3.11", "status": "unaffected", "versionType": "semver" }, { "version": "5.4.297", "lessThanOrEqual": "5.4.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.10.241", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.190", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.1.148", "lessThanOrEqual": "6.1.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.6.102", "lessThanOrEqual": "6.6.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.12.42", "lessThanOrEqual": "6.12.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.15.10", "lessThanOrEqual": "6.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.16.1", "lessThanOrEqual": "6.16.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.17", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.11", "versionEndExcluding": "5.4.297" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.11", "versionEndExcluding": "5.10.241" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.11", "versionEndExcluding": "5.15.190" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.11", "versionEndExcluding": "6.1.148" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.11", "versionEndExcluding": "6.6.102" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.11", "versionEndExcluding": "6.12.42" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.11", "versionEndExcluding": "6.15.10" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.11", "versionEndExcluding": "6.16.1" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.11", "versionEndExcluding": "6.17" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/69373502c2b5d364842c702c941d1171e4f35a7c" }, { "url": "https://git.kernel.org/stable/c/f00c29e6755ead56baf2a9c1d3c4c0bb40af3612" }, { "url": "https://git.kernel.org/stable/c/cca8f5a3991916729b39d797d01499c335137319" }, { "url": "https://git.kernel.org/stable/c/ac16154cccda8be10ee3ae188f10a06f3890bc5d" }, { "url": "https://git.kernel.org/stable/c/4b5d36cc3014986e6fac12eaa8433fe56801d4ce" }, { "url": "https://git.kernel.org/stable/c/40f0a51f6c54d46a94b9f1180339ede7ca7ee190" }, { "url": "https://git.kernel.org/stable/c/49377bac9e3bec1635065a033c9679214fe7593e" }, { "url": "https://git.kernel.org/stable/c/f060441c153495750804133555cf0a211a856892" }, { "url": "https://git.kernel.org/stable/c/da11e6a30e0bb8e911288bdc443b3dc8f6a7cac7" } ], "title": "fbdev: imxfb: Check fb_add_videomode to prevent null-ptr-deref", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "title": "CVE Program Container", "references": [ { "url": "https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html" } ], "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2025-11-03T17:40:35.268Z" } } ] } }