DEBIAN-CVE-2022-50577

Source
https://security-tracker.debian.org/tracker/CVE-2022-50577
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50577.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2022-50577
Upstream
Published
2025-10-22T14:15:42.677Z
Modified
2025-11-19T02:02:52.778844Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved: ima: Fix memory leak in _imainodehash() Commit f3cc6b25dcc5 ("ima: always measure and audit files in policy") lets measurement or audit happen even if the file digest cannot be calculated. As a result, iint->imahash could have been allocated despite imacollectmeasurement() returning an error. Since imahash belongs to a temporary inode metadata structure, declared at the beginning of _imainodehash(), just add a kfree() call if imacollectmeasurement() returns an error different from -ENOMEM (in that case, ima_hash should not have been allocated).

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
6.1.4-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source

"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50577.json"

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
6.1.4-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source

"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50577.json"

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
6.1.4-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source

"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50577.json"