DEBIAN-CVE-2022-50577

Source
https://security-tracker.debian.org/tracker/CVE-2022-50577
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50577.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2022-50577
Upstream
Published
2025-10-22T14:15:42.677Z
Modified
2025-11-14T03:02:30.709629Z
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, imahash 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/osv-test-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/osv-test-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/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50577.json"