# CVE-2024-49961: media: i2c: ar0521: Use cansleep version of gpiod\_set\_value()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **Published:** 2024-10-21T18:02:13.772Z
- **Modified:** 2026-06-17T08:00:49.880Z

## Who should check

- Anyone running Linux \>= 852b50aeed153b513c0b36298559114fab0fab80, \< 9f08876d766755a92f1b9543ae3ee21bfc596fb8; \>= 852b50aeed153b513c0b36298559114fab0fab80, \< 625a77b68c96349c16fcc1faa42784313e0b1a85; \>= 852b50aeed153b513c0b36298559114fab0fab80, \< 2423b60a2d6d27e5f66c5021b494463aef2db212; \>= 852b50aeed153b513c0b36298559114fab0fab80, \< 3cf00ecfbf11ee8e6afff306a5bdcff4bf95d2cf; \>= 852b50aeed153b513c0b36298559114fab0fab80, \< bee1aed819a8cda47927436685d216906ed17f62
- Anyone running Linux 6.0

## Description

In the Linux kernel, the following vulnerability has been resolved:

media: i2c: ar0521: Use cansleep version of gpiod\_set\_value()

If we use GPIO reset from I2C port expander, we must use \*\_cansleep()
variant of GPIO functions.
This was not done in ar0521\_power\_on()/ar0521\_power\_off() functions.
Let's fix that.

------------\[ cut here \]------------
WARNING: CPU: 0 PID: 11 at drivers/gpio/gpiolib.c:3496 gpiod\_set\_value+0x74/0x7c
Modules linked in:
CPU: 0 PID: 11 Comm: kworker/u16:0 Not tainted 6.10.0 \#53
Hardware name: Diasom DS-RK3568-SOM-EVB (DT)
Workqueue: events\_unbound deferred\_probe\_work\_func
pstate: 80400009 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : gpiod\_set\_value+0x74/0x7c
lr : ar0521\_power\_on+0xcc/0x290
sp : ffffff8001d7ab70
x29: ffffff8001d7ab70 x28: ffffff80027dcc90 x27: ffffff8003c82000
x26: ffffff8003ca9250 x25: ffffffc080a39c60 x24: ffffff8003ca9088
x23: ffffff8002402720 x22: ffffff8003ca9080 x21: ffffff8003ca9088
x20: 0000000000000000 x19: ffffff8001eb2a00 x18: ffffff80efeeac80
x17: 756d2d6332692f30 x16: 0000000000000000 x15: 0000000000000000
x14: ffffff8001d91d40 x13: 0000000000000016 x12: ffffffc080e98930
x11: ffffff8001eb2880 x10: 0000000000000890 x9 : ffffff8001d7a9f0
x8 : ffffff8001d92570 x7 : ffffff80efeeac80 x6 : 000000003fc6e780
x5 : ffffff8001d91c80 x4 : 0000000000000002 x3 : 0000000000000000
x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000001
Call trace:
 gpiod\_set\_value+0x74/0x7c
 ar0521\_power\_on+0xcc/0x290
...

## Affected and fixed versions

- Linux: \>= 852b50aeed153b513c0b36298559114fab0fab80, \< 9f08876d766755a92f1b9543ae3ee21bfc596fb8; \>= 852b50aeed153b513c0b36298559114fab0fab80, \< 625a77b68c96349c16fcc1faa42784313e0b1a85; \>= 852b50aeed153b513c0b36298559114fab0fab80, \< 2423b60a2d6d27e5f66c5021b494463aef2db212; \>= 852b50aeed153b513c0b36298559114fab0fab80, \< 3cf00ecfbf11ee8e6afff306a5bdcff4bf95d2cf; \>= 852b50aeed153b513c0b36298559114fab0fab80, \< bee1aed819a8cda47927436685d216906ed17f62 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-49961. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-49961.md
Affected: Linux >= 852b50aeed153b513c0b36298559114fab0fab80, < 9f08876d766755a92f1b9543ae3ee21bfc596fb8; >= 852b50aeed153b513c0b36298559114fab0fab80, < 625a77b68c96349c16fcc1faa42784313e0b1a85; >= 852b50aeed153b513c0b36298559114fab0fab80, < 2423b60a2d6d27e5f66c5021b494463aef2db212; >= 852b50aeed153b513c0b362…
Fixed in: Linux 9f08876d766755a92f1b9543ae3ee21bfc596fb8, Linux 625a77b68c96349c16fcc1faa42784313e0b1a85, Linux 2423b60a2d6d27e5f66c5021b494463aef2db212, Linux 3cf00ecfbf11ee8e6afff306a5bdcff4bf95d2cf

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-49961 being exploited?

There is no confirmed exploitation: CVE-2024-49961 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-49961?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-49961?

Linux \>= 852b50aeed153b513c0b36298559114fab0fab80, \< 9f08876d766755a92f1b9543ae3ee21bfc596fb8; \>= 852b50aeed153b513c0b36298559114fab0fab80, \< 625a77b68c96349c16fcc1faa42784313e0b1a85; \>= 852b50aeed153b513c0b36298559114fab0fab80, \< 2423b60a2d6d27e5f66c5021b494463aef2db212; \>= 852b50aeed153b513c0b36298559114fab0fab80, \< 3cf00ecfbf11ee8e6afff306a5bdcff4bf95d2cf; \>= 852b50aeed153b513c0b36298559114fab0fab80, \< bee1aed819a8cda47927436685d216906ed17f62; Linux 6.0.

### Is there a fix for CVE-2024-49961?

Yes. Fixed in Linux 9f08876d766755a92f1b9543ae3ee21bfc596fb8, Linux 625a77b68c96349c16fcc1faa42784313e0b1a85, Linux 2423b60a2d6d27e5f66c5021b494463aef2db212, Linux 3cf00ecfbf11ee8e6afff306a5bdcff4bf95d2cf. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-49961?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/9f08876d766755a92f1b9543ae3ee21bfc596fb8>
- patch: <https://git.kernel.org/stable/c/625a77b68c96349c16fcc1faa42784313e0b1a85>
- patch: <https://git.kernel.org/stable/c/2423b60a2d6d27e5f66c5021b494463aef2db212>
- patch: <https://git.kernel.org/stable/c/3cf00ecfbf11ee8e6afff306a5bdcff4bf95d2cf>
- patch: <https://git.kernel.org/stable/c/bee1aed819a8cda47927436685d216906ed17f62>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-49961>

HTML: <https://flawdb.com/CVE-2024-49961> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-49961>
