{"id":"CVE-2022-50503","aliases":["CVE-2022-50503"],"related":[],"kind":"vulnerability","state":"published","title":"mtd: lpddr2_nvm: Fix possible null-ptr-deref","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: lpddr2_nvm: Fix possible null-ptr-deref\n\nIt will cause null-ptr-deref when resource_size(add_range) invoked,\nif platform_get_resource() returns NULL.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: lpddr2_nvm: Fix possible null-ptr-deref\n\nIt will cause null-ptr-deref when resource_size(add_range) invoked,\nif platform_get_resource() returns NULL.","source":"cvelist"}],"published":"2025-10-04T15:43:52.845Z","modified":"2026-06-17T05:23:40.810Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25","fixed":"4d10bd7416e8383340b5524b8d616b8ad01ef1e1","status":"affected"},{"type":"git","introduced":"96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25","fixed":"bb9ccb6121ec4140d366147aa866ceb5a21a8d3d","status":"affected"},{"type":"git","introduced":"96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25","fixed":"e6aafb57d90ff2c1e18554f3a3c36247a59825ce","status":"affected"},{"type":"git","introduced":"96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25","fixed":"8eb64dc5a790a529ef49ec94b3337af09dac15d3","status":"affected"},{"type":"git","introduced":"96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25","fixed":"0919982a1744346269320615615c7deb14106661","status":"affected"},{"type":"git","introduced":"96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25","fixed":"e0d3e46ac6669cdf1b99bc7b7d92f1221b9a1ff2","status":"affected"},{"type":"git","introduced":"96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25","fixed":"f82f63b3911f1b2da68a14d9c4babf3b55feca55","status":"affected"},{"type":"git","introduced":"96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25","fixed":"c4cc41e94d8357f5f02b8ef40257bb23931d8438","status":"affected"},{"type":"git","introduced":"96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25","fixed":"6bdd45d795adf9e73b38ced5e7f750cd199499ff","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.16","status":"unaffected"},{"type":"semver","introduced":"4.9.337","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.303","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.270","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.229","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.163","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.86","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.16","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.2","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.16","fixed":"4.9.337"},{"status":"affected","introduced":"4.10","fixed":"4.14.303"},{"status":"affected","introduced":"4.15","fixed":"4.19.270"},{"status":"affected","introduced":"4.20","fixed":"5.4.229"},{"status":"affected","introduced":"5.5","fixed":"5.10.163"},{"status":"affected","introduced":"5.11","fixed":"5.15.86"},{"status":"affected","introduced":"5.16","fixed":"6.0.16"},{"status":"affected","introduced":"6.1","fixed":"6.1.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/4d10bd7416e8383340b5524b8d616b8ad01ef1e1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bb9ccb6121ec4140d366147aa866ceb5a21a8d3d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e6aafb57d90ff2c1e18554f3a3c36247a59825ce","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8eb64dc5a790a529ef49ec94b3337af09dac15d3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0919982a1744346269320615615c7deb14106661","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e0d3e46ac6669cdf1b99bc7b7d92f1221b9a1ff2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f82f63b3911f1b2da68a14d9c4babf3b55feca55","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c4cc41e94d8357f5f02b8ef40257bb23931d8438","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6bdd45d795adf9e73b38ced5e7f750cd199499ff","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50503","url":"https://www.cve.org/CVERecord?id=CVE-2022-50503","licence":"CVE Terms of Use","modified":"2026-05-11T19:20:41.530Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50503","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50503","licence":"Public domain","modified":"2026-06-17T05:23:40.810Z"}],"updatedAt":"2026-11-25T22:58:21.246Z","epss":{"score":0.00167,"percentile":0.06216,"date":"2026-12-02T12:00:21.000Z"}}