{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49608","id":"CVE-2022-49608","title":"pinctrl: ralink: Check for null return of devm_kcalloc","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: ralink: Check for null return of devm_kcalloc\n\nBecause of the possible failure of the allocation, data->domains might\nbe NULL pointer and will cause the dereference of the NULL pointer\nlater.\nTherefore, it might be better to check it and directly return -ENOMEM\nwithout releasing data manually if fails, because the commen","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: ralink: Check for null return of devm_kcalloc\n\nBecause of the possible failure of the allocation, data->domains might\nbe NULL pointer and will cause the dereference of the NULL pointer\nlater.\nTherefore, it might be better to check it and directly return -ENOMEM\nwithout releasing data manually if fails, because the comment of the\ndevm_kmalloc() says \"Memory allocated with this function is\nautomatically freed on driver detach.\".","published":"2025-02-26T02:23:32.309Z","updated":"2026-10-28T02:30:57.353430080Z","reserved":"2025-02-26T02:21:30.417Z","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":"a86854d0c599b3202307abceb68feee4d7061578","lessThan":"13596e6c9e541e90e5fc2c52b23f08b951370da9","status":"affected","versionType":"git"},{"version":"a86854d0c599b3202307abceb68feee4d7061578","lessThan":"6194c021496addc11763d1ffa89ce5751889fe3c","status":"affected","versionType":"git"},{"version":"a86854d0c599b3202307abceb68feee4d7061578","lessThan":"5694b162f275fb9a9f89422701b2b963be11e496","status":"affected","versionType":"git"},{"version":"a86854d0c599b3202307abceb68feee4d7061578","lessThan":"44016a85419ca0d4f1e4d0127b330f8e4e2a57d0","status":"affected","versionType":"git"},{"version":"a86854d0c599b3202307abceb68feee4d7061578","lessThan":"5595d30c4dc27d939635c3188c68203b6ece1711","status":"affected","versionType":"git"},{"version":"a86854d0c599b3202307abceb68feee4d7061578","lessThan":"c3b821e8e406d5650e587b7ac624ac24e9b780a8","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.18","status":"affected"},{"version":"0","lessThan":"4.18","status":"unaffected","versionType":"semver"},{"version":"4.19.254","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.208","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.134","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.58","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.18.15","lessThanOrEqual":"5.18.*","status":"unaffected","versionType":"semver"},{"version":"5.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/13596e6c9e541e90e5fc2c52b23f08b951370da9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6194c021496addc11763d1ffa89ce5751889fe3c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5694b162f275fb9a9f89422701b2b963be11e496","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/44016a85419ca0d4f1e4d0127b330f8e4e2a57d0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5595d30c4dc27d939635c3188c68203b6ece1711","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c3b821e8e406d5650e587b7ac624ac24e9b780a8","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49608.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49608","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.0027,"epssPercentile":0.19556,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49608","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49608","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49608","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-2022-49608","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}