Repository navigation
[FIPS 8.6 and 8.10 Compliant] CVE-2025-38380 - #620
Merged
roxanan1996 merged 1 commit intoOct 16, 2025
Merged
roxanan1996 merged 1 commit into
roxanan1996 merged 1 commit into
Conversation
jira VULN-79507 jira VULN-79506 cve CVE-2025-38380 commit-author Michael J. Ruhl <michael.j.ruhl@intel.com> commit 3d30048 The i2c_dw_xfer_init() function requires msgs and msg_write_idx from the dev context to be initialized. amd_i2c_dw_xfer_quirk() inits msgs and msgs_num, but not msg_write_idx. This could allow an out of bounds access (of msgs). Initialize msg_write_idx before calling i2c_dw_xfer_init(). Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Fixes: 17631e8 ("i2c: designware: Add driver support for AMD NAVI GPU") Cc: <stable@vger.kernel.org> # v5.13+ Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org> Link: https://lore.kernel.org/r/20250627143511.489570-1-michael.j.ruhl@intel.com (cherry picked from commit 3d30048) Signed-off-by: Roxana Nicolescu <rnicolescu@ciq.com>
PlaidCat
approved these changes
Oct 14, 2025
| dev->msgs_num = num_msgs; | ||
| dev->msg_write_idx = 0; | ||
| i2c_dw_xfer_init(dev); | ||
| i2c_dw_disable_int(dev); |
roxanan1996
merged commit Oct 16, 2025
e8b4888
into
fips-8-compliant/4.18.0-553.16.1
4 checks passed
roxanan1996
deleted the
{rnicolescu}_fips-8-compliant_4.18.0-553.16.1
branch
November 18, 2025 15:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Commit: 3d30048 ("kernel: i2c/designware: Fix an initialization issue") was cherry-picked from linux-mainline. It applied cleanly.
BUILD
kernel-build-after.log
kernel-build-before.log
Kselftests
kselftest-after.log
kselftest-before.log
Check_kernel_commits including interdiff