Bug 2270071 (CVE-2023-52614)
| Summary: | CVE-2023-52614 kernel: PM / devfreq: Fix buffer overflow in trans_stat_show | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | Zack Miele <zmiele> |
| Component: | vulnerability | Assignee: | Product Security <prodsec-ir-bot> |
| Status: | NEW --- | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | CC: | acaringi, allarkin, aquini, bhu, chwhite, dbohanno, debarbos, dfreiber, drow, dvlasenk, esandeen, ezulian, hkrzesin, jarod, jburrell, jfaracco, jforbes, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, ldoskova, lgoncalv, mleitner, mmilgram, mstowell, nmurray, ptalbert, rhel-process-autobot, rparrazo, rrobaina, rvrbovsk, scweaver, sidakwo, sukulkar, tglozar, vkumar, watson-tool-maintainers, wcosta, williams, wmealing, ycote, ykopkova |
| Target Milestone: | --- | Keywords: | Security |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | kernel 5.15.149, kernel 6.1.76, kernel 6.6.15, kernel 6.7.3, kernel 6.8 | Doc Type: | If docs needed, set a value |
| Doc Text: |
This linux kernel vulnerability occurs in the power management devfreq subsystem, specifically within the trans_stat_show function. The code previously used a basic snprintf call to display state transition statistics, which could trigger a buffer overflow if the resulting transition table was larger than a single memory page limit. Patched kernel versions resolve the issue by replacing the unsafe operation with a securely bounded scnprintf call. Additionally, the fix introduces safety checks to halt the operation early and return an -EFBIG error if the output data exceeds the PAGE_SIZE limit, preventing the memory corruption bug.
|
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: | 2270072 | ||
| Bug Blocks: | 2270105 | ||
|
Description
Zack Miele
2024-03-18 13:00:05 UTC
Created kernel tracking bugs for this issue: Affects: fedora-all [bug 2270072] This was fixed for Fedora with the 6.7.3 stable kernel updates. The result of automatic check (that is developed by Alexander Larkin) for this CVE-2023-52614 is: CHECK Maybe valid. Check manually. with impact LOW (that is an approximation based on flags OOB WARNONLY PRINTF-TTY ; these flags parsed automatically based on patch data). Such automatic check happens only for Low/Moderates (and only when not from reporter, but parsing already existing CVE). Highs always checked manually (I check it myself and then we check it again in Remediation team). In rare cases some of the Moderates could be increased to High later. This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2024:9315 https://access.redhat.com/errata/RHSA-2024:9315 |