Patrowl Intel
Sign in
Back to feed

CVE-2025-22017

Published Apr 8, 2025

Summary

In the Linux kernel, the following vulnerability has been resolved: devlink: fix xa_alloc_cyclic() error handling In case of returning 1 from xa_alloc_cyclic() (wrapping) ERR_PTR(1) will be returned, which will cause IS_ERR() to be false. Which can lead to dereference not allocated pointer (rel). Fix it by checking if err is lower than zero. This wasn't found in real usecase, only noticed. Credit to Pierre.

Affected

Weaknesses

CWE-476

CVSS details

  • v3.15.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

MITRE ATT&CK

Inferred

Where this vulnerability fits in an attack

Privilege Escalation

Exploits & references 0 exploits · 3 references

Timeline

  1. PublishedApr 8, 2025
  2. Scored by CISA SSVCNov 5, 2026

Potentially impacted assets

See if this affects your attack surface

Latest trending attack

Criticaltoday

Django - SQL Injection in range & in Lookups

Django is an open-source Python web framework. Its ORM builds SQL queries from model filters and lookups. CVE-2026-132092 Queries that use the `range` and `in` lookups are subject to SQL injection when they involve column aliases or key transforms containing percent signs. For `__range`, the flaw is reachable when more than two right-hand-side values are passed. For `__in`, it is reachable when a bilateral transform is used. Exploitation happens over the network through any application endpoint that passes attacker-controlled values into such a lookup. Affected versions are Django 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20, plus the main development branch. Earlier, unsupported series (5.1.x, 5.0.x and 4.2.x) were not evaluated and may also be affected. Fixed versions are 6.1.4, 6.0.11 and 5.2.20. The fix makes the `range` lookup require exactly two right-hand-side values. Percent signs in column aliases and key transforms have been deprecated since Django 6.0, with removal scheduled for 2028. The Django project rates the issue High severity. It was reported by Cristian Panaro.

Take 15 minutes to discover the Patrowl EASM platform with our experts

The intelligence behind this page, applied to your own exposure: your assets discovered, matched to these signals, prioritised by the same score.

  • European Investment Bank
  • MGEN Solution
  • Forvis Mazars
  • Colas
  • Heetch
  • Xplor