Bug 1221976 (CVE-2021-47148) - VUL-0: CVE-2021-47148: kernel: octeontx2-pf: fix a buffer overflow in otx2_set_rxfh_context()
Summary: VUL-0: CVE-2021-47148: kernel: octeontx2-pf: fix a buffer overflow in otx2_se...
Status: RESOLVED FIXED
Alias: CVE-2021-47148
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/398795/
Whiteboard: CVSSv3.1:SUSE:CVE-2021-47148:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-26 10:49 UTC by SMASH SMASH
Modified: 2024-06-07 12:24 UTC (History)
4 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-03-26 10:49:26 UTC
In the Linux kernel, the following vulnerability has been resolved:

octeontx2-pf: fix a buffer overflow in otx2_set_rxfh_context()

This function is called from ethtool_set_rxfh() and "*rss_context"
comes from the user.  Add some bounds checking to prevent memory
corruption.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-47148
https://www.cve.org/CVERecord?id=CVE-2021-47148
https://git.kernel.org/stable/c/389146bc6d2bbb20714d06624b74856320ce40f7
https://git.kernel.org/stable/c/e5cc361e21648b75f935f9571d4003aaee480214
https://bugzilla.redhat.com/show_bug.cgi?id=2271495
Comment 1 Gabriele Sonnu 2024-03-26 10:58:37 UTC
Offending commit (81a4362016e7) found in:
 - ALP-current
 - cve/linux-5.14-LTSS
 - SLE15-SP4-LTSS
 - SLE15-SP5
 - SLE15-SP6
 - stable

Fixing commit (e5cc361e2164) found in:
 - ALP-current
 - cve/linux-5.14-LTSS
 - SLE15-SP4-LTSS
 - SLE15-SP5
 - SLE15-SP6
 - stable

All branches fixed. @kernel-team, please add the CVE reference.
Comment 2 Michal Koutný 2024-04-25 16:11:00 UTC
Current check says nothing to do. Therefore reassigning.

scripts/check-kernel-fix CVE-2021-47148
e5cc361e21648 ("octeontx2-pf: fix a buffer overflow in otx2_set_rxfh_context()") merged v5.13-rc4~29^2~75
Fixes: 81a4362016e7d ("octeontx2-pf: Add RSS multi group support") merged v5.12-rc1~200^2~407
Security fix for CVE-2021-47148 bsc#1221976 with CVSS 5.5
..............................
Comment 3 Andrea Mattiazzo 2024-06-07 12:24:43 UTC
All done, closing.