{"id":"CVE-2024-35819","summary":"soc: fsl: qbman: Use raw spinlock for cgr_lock","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsoc: fsl: qbman: Use raw spinlock for cgr_lock\n\nsmp_call_function always runs its callback in hard IRQ context, even on\nPREEMPT_RT, where spinlocks can sleep. So we need to use a raw spinlock\nfor cgr_lock to ensure we aren't waiting on a sleeping task.\n\nAlthough this bug has existed for a while, it was not apparent until\ncommit ef2a8d5478b9 (\"net: dpaa: Adjust queue depth on rate change\")\nwhich invokes smp_call_function_single via qman_update_cgr_safe every\ntime a link goes up or down.","modified":"2026-04-02T11:51:10.043115Z","published":"2024-05-17T13:23:23.031Z","related":["SUSE-SU-2024:2135-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2493-1","SUSE-SU-2024:2561-1","SUSE-SU-2024:2894-1","SUSE-SU-2024:2901-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2940-1","SUSE-SU-2024:2947-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1","SUSE-SU-2025:20166-1","SUSE-SU-2025:20249-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35819.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2b3fede8225133671ce837c0d284804aa3bc7a02"},{"type":"WEB","url":"https://git.kernel.org/stable/c/32edca2f03a6cc42c650ddc3ad83d086e3f365d1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/54d26adf64c04f186098b39dba86b86037084baa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9a3ca8292ce9fdcce122706c28c3f07bc857fe5e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cd53a8ae5aacb4ecd25088486dea1cd02e74b506"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d6b5aac451c9cc12e43ab7308e0e2ddc52c62c14"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f39d36b7540cf0088ed7ce2de2794f2aa237f6df"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fbec4e7fed89b579f2483041fabf9650fb0dd6bc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ff50716b7d5b7985979a5b21163cd79fb3d21d59"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35819.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35819"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"96f413f47677366e0ae03797409bfcc4151dbf9e"},{"fixed":"2b3fede8225133671ce837c0d284804aa3bc7a02"},{"fixed":"ff50716b7d5b7985979a5b21163cd79fb3d21d59"},{"fixed":"32edca2f03a6cc42c650ddc3ad83d086e3f365d1"},{"fixed":"9a3ca8292ce9fdcce122706c28c3f07bc857fe5e"},{"fixed":"d6b5aac451c9cc12e43ab7308e0e2ddc52c62c14"},{"fixed":"54d26adf64c04f186098b39dba86b86037084baa"},{"fixed":"f39d36b7540cf0088ed7ce2de2794f2aa237f6df"},{"fixed":"cd53a8ae5aacb4ecd25088486dea1cd02e74b506"},{"fixed":"fbec4e7fed89b579f2483041fabf9650fb0dd6bc"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"a85c525bbff4d7467d7f0ab6fed8e2f787b073d6"},{"last_affected":"29cd9c2d1f428c281962135ea046a9d7bda88d14"},{"last_affected":"5b10a404419f0532ef3ba990c12bebe118adb6d7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35819.json"}}],"schema_version":"1.7.5"}