Skip to content

In the Linux kernel, the following vulnerability has been...

Unreviewed Published Dec 24, 2024 to the GitHub Advisory Database • Updated Dec 24, 2024

Package

No package listedSuggest a package

Affected versions

Unknown

Patched versions

Unknown

Description

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

comedi: Flush partial mappings in error case

If some remap_pfn_range() calls succeeded before one failed, we still have
buffer pages mapped into the userspace page tables when we drop the buffer
reference with comedi_buf_map_put(bm). The userspace mappings are only
cleaned up later in the mmap error path.

Fix it by explicitly flushing all mappings in our VMA on the error path.

See commit 79a61cc3fc04 ("mm: avoid leaving partial pfn mappings around in
error case").

References

Published by the National Vulnerability Database Dec 24, 2024
Published to the GitHub Advisory Database Dec 24, 2024
Last updated Dec 24, 2024

Severity

Unknown

Weaknesses

No CWEs

CVE ID

CVE-2024-53148

GHSA ID

GHSA-pm9c-5p62-35cr

Source code

No known source code

Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.

Learn more about GitHub language support

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.