Bug 2334518 (CVE-2024-56567) - CVE-2024-56567 kernel: ad7780: fix division by zero in ad7780_write_raw()
Summary: CVE-2024-56567 kernel: ad7780: fix division by zero in ad7780_write_raw()
Keywords:
Status: NEW
Alias: CVE-2024-56567
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-27 15:07 UTC by OSIDB Bzimport
Modified: 2024-12-28 04:13 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-12-27 15:07:16 UTC
In the Linux kernel, the following vulnerability has been resolved:

ad7780: fix division by zero in ad7780_write_raw()

In the ad7780_write_raw() , val2 can be zero, which might lead to a
division by zero error in DIV_ROUND_CLOSEST(). The ad7780_write_raw()
is based on iio_info's write_raw. While val is explicitly declared that
can be zero (in read mode), val2 is not specified to be non-zero.

Comment 1 Avinash Hanwate 2024-12-28 04:09:46 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024122715-CVE-2024-56567-a306@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.