DEBIAN-CVE-2022-49187

Source
https://security-tracker.debian.org/tracker/CVE-2022-49187
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-49187.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2022-49187
Upstream
Published
2025-02-26T07:00:55Z
Modified
2025-09-19T06:05:25Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved: clk: Fix clkhwgetclk() when dev is NULL Any registered clkcore structure can have a NULL pointer in its dev field. While never actually documented, this is evidenced by the wide usage of clkregister and clkhwregister with a NULL device pointer, and the fact that the core ofclkhwregister() function also passes a NULL device pointer. A call to clkhwgetclk() on a clkhw struct whose clkcore is in that case will result in a NULL pointer derefence when it calls devname() on that NULL device pointer. Add a test for this case and use NULL as the dev_id if the device pointer is NULL.

References

Affected packages

Debian:12 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.17.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.17.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.17.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}