<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-03T23:42:46.955130+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2023-53791</id>
    <title>CVE-2023-53791 — md: fix warning for holder mismatch from export_rdev()</title>
    <updated>2026-10-03T23:42:46.957575+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>md: fix warning for holder mismatch from export_rdev()</p>
<p>Commit a1d767191096 ("md: use mddev-&gt;external to select holder in
export_rdev()") fix the problem that 'claim_rdev' is used for
blkdev_get_by_dev() while 'rdev' is used for blkdev_put().</p>
<p>However, if mddev-&gt;external is changed from 0 to 1, then 'rdev' is used
for blkdev_get_by_dev() while 'claim_rdev' is used for blkdev_put(). And
this problem can be reporduced reliably by following:</p>
<p>New file: mdadm/tests/23rdev-lifetime</p>
<p>devname=${dev0##*/}
devt=`cat /sys/block/$devname/dev`
pid=""
runtime=2</p>
<p>clean_up_test() {
        pill -9 $pid
        echo clear &gt; /sys/block/md0/md/array_state
}</p>
<p>trap 'clean_up_test' EXIT</p>
<p>add_by_sysfs() {
        while true; do
                echo $devt &gt; /sys/block/md0/md/new_dev
        done
}</p>
<p>remove_by_sysfs(){
        while true; do
                echo remove &gt; /sys/block/md0/md/dev-${devname}/state
        done
}</p>
<p>echo md0 &gt; /sys/module/md_mod/parameters/new_array || die "create md0 failed"</p>
<p>add_by_sysfs &amp;
pid="$pid $!"</p>
<p>remove_by_sysfs &amp;
pid="$pid $!"</p>
<p>sleep $runtime
exit 0</p>
<p>Test cmd:</p>
<p>./test --save-logs --logdir=/tmp/ --keep-going --dev=loop --tests=23rdev-lifetime</p>
<p>Test result:</p>
<p>------------[ cut here ]------------
WARNING: CPU: 0 PID: 960 at block/bdev.c:618 blkdev_put+0x27c/0x330
Modules linked in: multipath md_mod loop
CPU: 0 PID: 960 Comm: test Not tainted 6.5.0-rc2-00121-g01e55c376936-dirty #50
RIP: 0010:blkdev_p…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2023-53791"/>
  </entry>
</feed>
