CVE-2022-49246

Source
https://cve.org/CVERecord?id=CVE-2022-49246
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49246.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49246
Downstream
Related
Published
2025-02-26T01:56:05.740Z
Modified
2026-03-20T12:22:17.451408Z
Summary
ASoC: atmel: Fix error handling in snd_proto_probe
Details

In the Linux kernel, the following vulnerability has been resolved:

ASoC: atmel: Fix error handling in sndprotoprobe

The devicenode pointer is returned by ofparsephandle() with refcount incremented. We should use ofnode_put() on it when done.

This function only calls ofnodeput() in the regular path. And it will cause refcount leak in error paths. Fix this by calling ofnodeput() in error handling too.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49246.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a45f8853a5f95e3760dfbd7ba09d3d597d247040
Fixed
f32ac9bf5e3f594ef9bfedb410aebc98cf784e69
Fixed
0f517480d5888cd54487c5662ce4da95b30ad798
Fixed
8fa969cd8485031294f91fc7184399000cae6355
Fixed
b0bfaf0544d08d093d6211d7ef8816fb0b5b6c75

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49246.json"