Bug 2123309 (CVE-2022-3077)
| Summary: | CVE-2022-3077 kernel: i2c: unbounded length leads to buffer overflow in ismt_access() | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | Mauro Matteo Cascella <mcascell> |
| Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | unspecified | CC: | acaringi, adscvr, airlied, alciregi, bhu, brdeoliv, bskeggs, carnil, chwhite, crwood, darcari, ddepaula, debarbos, dhoward, dvlasenk, hdegoede, hkrzesin, hpa, jarod, jarodwilson, jburrell, jfaracco, jferlan, jforbes, jglisse, jlelli, joe.lawrence, jonathan, josef, jshortt, jstancek, jwboyer, jwyatt, kcarcia, kernel-maint, kernel-mgr, lgoncalv, linville, lleshchi, lzampier, masami256, mchehab, nmurray, ptalbert, qzhao, rvrbovsk, scweaver, steved, tyberry, vkumar, walters, williams |
| Target Milestone: | --- | Keywords: | Reopened, Security |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | kernel 5.19 | Doc Type: | If docs needed, set a value |
| Doc Text: |
A buffer overflow vulnerability was found in the Linux kernel Intel’s iSMT SMBus host controller driver in the way it handled the I2C_SMBUS_BLOCK_PROC_CALL case (via the ioctl I2C_SMBUS) with malicious input data. In particular, the userspace controllable "data->block[0]" variable was not capped to a number between 0-255 and then used as the size of a memcpy, thus possibly writing beyond the end of dma_buffer. This flaw could allow a privileged local user to crash the system.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-01-25 10:52:14 UTC | 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: | 2125581, 2125582, 2127532, 2134887, 2135436 | ||
| Bug Blocks: | 2093295 | ||
|
Description
Mauro Matteo Cascella
2022-09-01 11:10:59 UTC
*** This bug has been marked as a duplicate of bug 2119048 *** As this is a duplicate of CVE-2022-2873, can you remove the "Bugzilla Alias" to CVE-2022-3077? (In reply to Salvatore Bonaccorso from comment #4) > As this is a duplicate of CVE-2022-2873, can you remove the "Bugzilla Alias" > to CVE-2022-3077? Done! In reply to comment #4: > As this is a duplicate of CVE-2022-2873, can you remove the "Bugzilla Alias" > to CVE-2022-3077? Salvatore, please note that this turned out to be a different (yet quite similar) issue. CVE-2022-2873 is about I2C_SMBUS_BLOCK_DATA, while the bug here is in the I2C_SMBUS_BLOCK_PROC_CALL case. The fix for CVE-2022-2873 has not been merged upstream AFAICS. We are going to re-use CVE-2022-3077 to track this one. Thanks. (In reply to Mauro Matteo Cascella from comment #7) > In reply to comment #4: > > As this is a duplicate of CVE-2022-2873, can you remove the "Bugzilla Alias" > > to CVE-2022-3077? > > Salvatore, please note that this turned out to be a different (yet quite > similar) issue. CVE-2022-2873 is about I2C_SMBUS_BLOCK_DATA, while the bug > here is in the I2C_SMBUS_BLOCK_PROC_CALL case. The fix for CVE-2022-2873 has > not been merged upstream AFAICS. We are going to re-use CVE-2022-3077 to > track this one. Thanks. Mauro, thanks for clarifying it. This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2023:0300 https://access.redhat.com/errata/RHSA-2023:0300 This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2023:0334 https://access.redhat.com/errata/RHSA-2023:0334 This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2022-3077 |