A memory corruption flaw was found in the Linux kernel's I2C driver. The userspace-controllable "data->block[0]" variable was not capped to a number between 0-255 and used as the size of a memcpy, thus possibly writing beyond the end of dma_buffer[] and resulting in a buffer overflow condition. Upstream fix: https://github.com/torvalds/linux/commit/690b2549b19563ec5ad53e5c82f6a944d910086e
*** 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