Skip to contentSkip to conversation

Missing qcom/mdt_loader.c fix for CVE-2022-40540?

DISCUSSION Takashi Iwai 1 participant 2 messages Mar 24, 2023 – Apr 18, 2023 Arm Qualcomm mailing list

lore
Share & tools
lore
#0 lore raw

Hi,

I was asked about the handling for CVE-2022-40540 [*] on SUSE kernels, and through a quick glance, the upstream code still misses the fix. Namely, the downstream fix for the integer overflow check of the firmware size below:
https://git.codelinaro.org/clo/la/kernel/msm-5.10/-/commit/dae3214cd3495e5c4b37537cacf665d2cdeaea24
... can be applied to the current upstream code (as of 6.3-rc3) as far as I understand.

Could you guys check it and apply the fix if really needed?

Thanks!

Takashi

[*]
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-40540
https://bugzilla.redhat.com/show_bug.cgi?id=2180513
https://www.cve.org/CVERecord?id=CVE-2022-40540
https://www.qualcomm.com/company/product-security/bulletins/march-2023-bulletin

#1 lore raw
Quoted 11 lines · Takashi Iwai

Hi,

I was asked about the handling for CVE-2022-40540 [*] on SUSE kernels, and through a quick glance, the upstream code still misses the fix. Namely, the downstream fix for the integer overflow check of the firmware size below:
https://git.codelinaro.org/clo/la/kernel/msm-5.10/-/commit/dae3214cd3495e5c4b37537cacf665d2cdeaea24
... can be applied to the current upstream code (as of 6.3-rc3) as far as I understand.

Quoted 1 line

Could you guys check it and apply the fix if really needed?

Any news on this? This security issue seems still present in the latest upstream and linux-next.

thanks,

Takashi

Quoted 11 lines

Thanks!

Takashi

[*]
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-40540
https://bugzilla.redhat.com/show_bug.cgi?id=2180513
https://www.cve.org/CVERecord?id=CVE-2022-40540
https://www.qualcomm.com/company/product-security/bulletins/march-2023-bulletin