Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2022-48806— eeprom: ee1004: limit i2c reads to I2C_SMBUS_BLOCK_MAX

AI Predicted 5.5 Difficulty: Moderate EPSS 0.03% · P10

Affected Version Matrix 17

VendorProductVersion RangeStatus
LinuxLinuxaca56c298e2a6d20ab6308e203a8d37f2a7759d3< 3937c35493ee2847aaefcfa5460e94b7443eef49affected
25714ad6bf5e98025579fa4c08ff2041a663910c< a37960df7eac3cc8094bd1ab84864e9e32c91345affected
be9313f755a7bfa02230b15731d07074d5255ecb< 9a5f471ae380f9fcb9756d453c12ca1f8595a93caffected
07d9beb6e3c2e852e884113d6803ea4b3643ae38< 9443ddeb3754e9e382a396b50adc1961301713ceaffected
effa453168a7eeb8a562ff4edc1dbf9067360a61< c0689e46be23160d925dca95dfc411f1a0462708affected
74650c34f93044d3ab441235f161f9e1e761e96baffected
a126a8c3dd51519513141b4fc94fd4813bca2c0faffected
202d0e22fe512df0f1cb6253d40ce1058e373247affected
… +9 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2022-48806

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
eeprom: ee1004: limit i2c reads to I2C_SMBUS_BLOCK_MAX
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: eeprom: ee1004: limit i2c reads to I2C_SMBUS_BLOCK_MAX Commit effa453168a7 ("i2c: i801: Don't silently correct invalid transfer size") revealed that ee1004_eeprom_read() did not properly limit how many bytes to read at once. In particular, i2c_smbus_read_i2c_block_data_or_emulated() takes the length to read as an u8. If count == 256 after taking into account the offset and page boundary, the cast to u8 overflows. And this is common when user space tries to read the entire EEPROM at once. To fix it, limit each read to I2C_SMBUS_BLOCK_MAX (32) bytes, already the maximum length i2c_smbus_read_i2c_block_data_or_emulated() allows.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于eeprom模块中发现I2C读取限制问题。ee1004_eeprom_read函数没有正确限制一次读取的字节数。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux aca56c298e2a6d20ab6308e203a8d37f2a7759d3 ~ 3937c35493ee2847aaefcfa5460e94b7443eef49 -
LinuxLinux 5.4.174 ~ 5.4.180 -

II. Public POCs for CVE-2022-48806

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-48806

登录查看更多情报信息。

Other References for CVE-2022-48806 (4)

Same Patch Batch · Linux · 2024-07-16 · 98 CVEs total

CVE-2022-48832audit: don't deref the syscall args when checking the openat2 open_how::flags
CVE-2022-48826drm/vc4: Fix deadlock on DSI device attach error
CVE-2022-48822usb: f_fs: Fix use-after-free for epfile
CVE-2022-48821misc: fastrpc: avoid double fput() on failed usercopy
CVE-2022-48819tcp: take care of mixed splice()/sendmsg(MSG_ZEROCOPY) case
CVE-2022-48820phy: stm32: fix a refcount leak in stm32_usbphyc_pll_enable()
CVE-2022-48818net: dsa: mv88e6xxx: don't use devres for mdiobus
CVE-2022-48823scsi: qedf: Fix refcount issue when LOGO is received during TMF
CVE-2022-48830can: isotp: fix potential CAN frame reception race in isotp_rcv()
CVE-2022-48831ima: fix reference leak in asymmetric_verify()
CVE-2022-48828NFSD: Fix ia_size underflow
CVE-2022-48834usb: usbtmc: Fix bug in pipe direction for control transfers
CVE-2022-48833btrfs: skip reserved bytes warning on unmount after log cleanup failure
CVE-2022-48835scsi: mpt3sas: Page fault in reply q processing
CVE-2022-48837usb: gadget: rndis: prevent integer overflow in rndis_set_response()
CVE-2022-48836Input: aiptek - properly check endpoint type
CVE-2022-48838usb: gadget: Fix use-after-free bug by not setting udc->dev.driver
CVE-2022-48839net/packet: fix slab-out-of-bounds access in packet_recvmsg()
CVE-2022-48840iavf: Fix hang during reboot/shutdown
CVE-2022-48842ice: Fix race condition during interface enslave

Showing top 20 of 98 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2022-48806

No comments yet


Leave a comment