Bug 2256624 (CVE-2024-0217)
| Summary: | CVE-2024-0217 PackageKitd: Use-After-Free in Idle Function Callback | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | Avinash Hanwate <ahanwate> |
| Component: | vulnerability | Assignee: | Product Security <prodsec-ir-bot> |
| Status: | NEW --- | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | CC: | carnil, matthias, ngompa13, prodsec-ir-bot, psampaio |
| Target Milestone: | --- | Keywords: | Security |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | PackageKit 1.2.7 | Doc Type: | --- |
| Doc Text: |
A use-after-free flaw was found in PackageKitd. In some conditions, the order of cleanup mechanics for a transaction could be impacted. As a result, some memory access could occur on memory regions that were previously freed. Once freed, a memory region can be reused for other allocations and any previously stored data in this memory region is considered lost.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 2260042 | ||
| Bug Blocks: | 2256627 | ||
|
Description
Avinash Hanwate
2024-01-03 13:18:35 UTC
Can you reference the upstream change from v1.2.7 which addresses this issue? In reply to comment #2: > Can you reference the upstream change from v1.2.7 which addresses this issue? Although this is not a direct fix for the issue, this commit is believed to reduce impact in version 1.2.7 onward: https://github.com/PackageKit/PackageKit/commit/64278c9127e3333342b56ead99556161f7e86f79 (In reply to Pedro Sampaio from comment #3) > In reply to comment #2: > > Can you reference the upstream change from v1.2.7 which addresses this issue? > > Although this is not a direct fix for the issue, this commit is believed to > reduce impact in version 1.2.7 onward: > > https://github.com/PackageKit/PackageKit/commit/ > 64278c9127e3333342b56ead99556161f7e86f79 Thank you Pedro! Created PackageKit tracking bugs for this issue: Affects: fedora-all [bug 2260042] I am confused what is going on here? There doesn't seem to have been any upstream engagement about this CVE and neither I nor Matthias Klumpp have any idea what we're supposed to do here. In reply to comment #6: > I am confused what is going on here? There doesn't seem to have been any > upstream engagement about this CVE and neither I nor Matthias Klumpp have > any idea what we're supposed to do here. I think you already did, here: https://github.com/PackageKit/PackageKit/pull/706 (In reply to Pedro Sampaio from comment #7) > In reply to comment #6: > > I am confused what is going on here? There doesn't seem to have been any > > upstream engagement about this CVE and neither I nor Matthias Klumpp have > > any idea what we're supposed to do here. > > I think you already did, here: > > https://github.com/PackageKit/PackageKit/pull/706 That PR fixed an overflow error and not a use-after-free problem in a codepath unrelated to transaction lifecycle management. It's a bug for sure, but I don't see the connection to this issue. |