From: capyenglishlite@gmail.com
To: netdev@vger.kernel.org
Subject: [BUG] rose/ax25: use-after-free in rose_transmit_restart_request()
Date: Wed, 13 May 2026 19:27:37 +0300 [thread overview]
Message-ID: <88b4eea5b5daa681fc9747cd844904e2@gmail.com> (raw)
Hi all,
I am reporting a use-after-free in ROSE/AX.25 networking subsystem.
Bug:
In rose_transmit_restart_request() (net/rose/rose_link.c),
ax25_send_frame() accesses a rose_neigh object after it may be freed
by rose_neigh_put() in rose_t0timer_expiry().
Root cause:
Missing reference hold across timer vs transmit race.
Fix:
rose_neigh_hold(neigh);
ax25_send_frame(...);
rose_neigh_put(neigh);
Syzbot report:
https://syzkaller.appspot.com/bug?extid=9c8999af06ca7df15fc6
Best regards,
Afi0
reply other threads:[~2026-05-13 16:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=88b4eea5b5daa681fc9747cd844904e2@gmail.com \
--to=capyenglishlite@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox