Bug 1225581 (CVE-2023-52857) - VUL-0: CVE-2023-52857: kernel: drm/mediatek: Fix coverity issue with unintentional integer overflow
Summary: VUL-0: CVE-2023-52857: kernel: drm/mediatek: Fix coverity issue with unintent...
Status: NEW
Alias: CVE-2023-52857
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Patrik Jakobsson
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/407205/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-52857:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-29 10:34 UTC by SMASH SMASH
Modified: 2024-07-08 15:05 UTC (History)
2 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-05-29 10:34:06 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/mediatek: Fix coverity issue with unintentional integer overflow

1. Instead of multiplying 2 variable of different types. Change to
assign a value of one variable and then multiply the other variable.

2. Add a int variable for multiplier calculation instead of calculating
different types multiplier with dma_addr_t variable directly.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-52857
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2023/CVE-2023-52857.mbox
https://git.kernel.org/stable/c/0d8a1df39d3fc34560e2cc663b5c340d06a25396
https://git.kernel.org/stable/c/96312a251d4dcee5d36e32edba3002bfde0ddd9c
https://git.kernel.org/stable/c/b0b0d811eac6b4c52cb9ad632fa6384cf48869e7
https://www.cve.org/CVERecord?id=CVE-2023-52857
https://bugzilla.redhat.com/show_bug.cgi?id=2282625