Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Efremov <efremov@linux.com>
  • Loading branch information
evdenis committed Feb 13, 2024
1 parent 2a48ae5 commit 3599ffb
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions cvehound/cve/CVE-2023-1859.cocci
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/// Files: net/9p/trans_xen.c
/// Fix: ea4f1009408efb4989a0f139b70fb338e7f687d0
/// Fixes: 71ebd71921e451f0f942ddfe85d01e31ddc6eb88

virtual detect

@err@
identifier priv, i;
position p;
@@

xen_9pfs_front_free(struct xen_9pfs_front_priv *priv)
{
...
for (i = 0; i < priv->num_rings; i++) {
... when != cancel_work_sync(&ring->work);
* if (!priv->rings[i].intf@p)
* break;
...
}
...
}

@script:python depends on detect@
p << err.p;
@@
coccilib.report.print_report(p[0], 'ERROR: CVE-2023-1859')

0 comments on commit 3599ffb

Please sign in to comment.