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 9f54607 commit 1b470f9
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions cvehound/cve/CVE-2023-0469.cocci
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/// Files: io_uring/filetable.c io_uring/io_uring.c fs/io_uring.c
/// Fix: 9d94c04c0db024922e886c9fd429659f22f48ea4
/// Fixes: 61c1b44a21d70d4783db02198fbf68b132f4953c

virtual detect

@err@
symbol err;
identifier file, ret;
position p;
@@

io_install_fixed_file(..., struct file *file, ...)
{
...
err:
if (...)
io_rsrc_node_switch(...);
* if (ret@p)
* fput(file);
return ret;
}

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

0 comments on commit 1b470f9

Please sign in to comment.