* Re: [PATCH net-deletions] net: remove ax25 and amateur radio (hamradio) subsystem
[not found] <87se8mytvv.fsf@toke.dk>
@ 2026-05-12 14:42 ` f6bvp
2026-05-12 14:45 ` f6bvp
1 sibling, 0 replies; 7+ messages in thread
From: f6bvp @ 2026-05-12 14:42 UTC (permalink / raw)
To: toke, kuba, stable
Cc: Bernard Pidoux, davem, netdev, pabeni, gregkh, linux-hams
From: Bernard Pidoux <bernard.f6bvp@gmail.com>
Toke Høiland-Jørgensen <toke@toke.dk> writes:
> Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Hello Toke, Jakub, all,
I understand the decision to move AX.25, NET/ROM, and ROSE out of tree,
and I am not opposing it. The maintenance burden caused by AI-generated
syzbot reports with no human follow-up is a legitimate reason to act.
That said, I would like to raise one specific concern: the ROSE subsystem
accumulated a number of real bugs through upstream commits that were merged
without hardware testing. I have been running ROSE on actual packet radio
equipment and was able to reproduce and fix five of these bugs, confirmed
via KASAN and netconsole.
The most severe symptom is that the ROSE module cannot be cleanly unloaded
once an AX.25 connection has been established, which makes amateur radio
applications that rely on ROSE effectively unusable until a reboot.
My five patches address:
1. rose: fix dev_put() leak in rose_loopback_timer()
Fixes: 0453c6824595 ("net/rose: fix unbound loop in rose_loopback_timer()")
2. rose: hold loopback neighbour reference across timer callback
Fixes: d860d1faa6b2 ("net: rose: convert 'use' field to refcount_t")
3. rose: fix race between loopback timer and module removal
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
4. rose: clear neighbour pointer after rose_neigh_put() in state machines
Fixes: d860d1faa6b2 ("net: rose: convert 'use' field to refcount_t")
5. rose: guard rose_neigh_put() against NULL in timer expiry
Fixes: 5de7665e0a07 ("net: rose: fix timer races against user threads")
Each patch carries the appropriate Fixes: tag and a Tested-by from me on
real hardware. They are visible on lore.kernel.org.
Since ROSE will no longer be maintained in-tree from 7.1 onward, the only
remaining users are those running current stable kernels (7.0.y and
earlier). Would it be possible to have these five patches queued for the
stable trees via Greg's stable process?
I am happy to resend them as a formal series tagged [PATCH stable] against
the current stable releases if that is preferred.
Thank you for your work on the Linux networking subsystem.
73 de Bernard Pidoux, F6BVP
<f6bvp@free.fr>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH net-deletions] net: remove ax25 and amateur radio (hamradio) subsystem
[not found] <87se8mytvv.fsf@toke.dk>
2026-05-12 14:42 ` f6bvp
@ 2026-05-12 14:45 ` f6bvp
2026-05-12 23:36 ` Jakub Kicinski
1 sibling, 1 reply; 7+ messages in thread
From: f6bvp @ 2026-05-12 14:45 UTC (permalink / raw)
To: toke, kuba, stable
Cc: Bernard Pidoux, davem, netdev, pabeni, gregkh, linux-hams
From: Bernard Pidoux <bernard.f6bvp@gmail.com>
Toke Høiland-Jørgensen <toke@toke.dk> writes:
> Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Hello Toke, Jakub, all,
I understand the decision to move AX.25, NET/ROM, and ROSE out of tree,
and I am not opposing it. The maintenance burden caused by AI-generated
syzbot reports with no human follow-up is a legitimate reason to act.
That said, I would like to raise one specific concern: the ROSE subsystem
accumulated a number of real bugs through upstream commits that were merged
without hardware testing. I have been running ROSE on actual packet radio
equipment and was able to reproduce and fix five of these bugs, confirmed
via KASAN and netconsole.
The most severe symptom is that the ROSE module cannot be cleanly unloaded
once an AX.25 connection has been established, which makes amateur radio
applications that rely on ROSE effectively unusable until a reboot.
My five patches address:
1. rose: fix dev_put() leak in rose_loopback_timer()
Fixes: 0453c6824595 ("net/rose: fix unbound loop in rose_loopback_timer()")
2. rose: hold loopback neighbour reference across timer callback
Fixes: d860d1faa6b2 ("net: rose: convert 'use' field to refcount_t")
3. rose: fix race between loopback timer and module removal
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
4. rose: clear neighbour pointer after rose_neigh_put() in state machines
Fixes: d860d1faa6b2 ("net: rose: convert 'use' field to refcount_t")
5. rose: guard rose_neigh_put() against NULL in timer expiry
Fixes: 5de7665e0a07 ("net: rose: fix timer races against user threads")
Each patch carries the appropriate Fixes: tag and a Tested-by from me on
real hardware. They are visible on lore.kernel.org.
Since ROSE will no longer be maintained in-tree from 7.1 onward, the only
remaining users are those running current stable kernels (7.0.y and
earlier). Would it be possible to have these five patches queued for the
stable trees via Greg's stable process?
I am happy to resend them as a formal series tagged [PATCH stable] against
the current stable releases if that is preferred.
Thank you for your work on the Linux networking subsystem.
73 de Bernard Pidoux, F6BVP
<f6bvp@free.fr>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH net-deletions] net: remove ax25 and amateur radio (hamradio) subsystem
2026-05-12 14:45 ` f6bvp
@ 2026-05-12 23:36 ` Jakub Kicinski
[not found] ` <CAFAa3YDcBsCnEJ1t+a3iHhzxW65HX+QNkZWPKHvDYp_V+UwZYQ@mail.gmail.com>
0 siblings, 1 reply; 7+ messages in thread
From: Jakub Kicinski @ 2026-05-12 23:36 UTC (permalink / raw)
To: f6bvp; +Cc: toke, stable, davem, netdev, pabeni, gregkh, linux-hams
On Tue, 12 May 2026 16:45:10 +0200 f6bvp wrote:
> Each patch carries the appropriate Fixes: tag and a Tested-by from me on
> real hardware. They are visible on lore.kernel.org.
>
> Since ROSE will no longer be maintained in-tree from 7.1 onward, the only
> remaining users are those running current stable kernels (7.0.y and
> earlier). Would it be possible to have these five patches queued for the
> stable trees via Greg's stable process?
>
> I am happy to resend them as a formal series tagged [PATCH stable] against
> the current stable releases if that is preferred.
Could you perhaps target the OOT modules?
https://github.com/linux-netdev/mod-orphan
Does it work with older kernels? I think I compile-tested it but didn't
do any testing..
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH net-deletions] net: remove ax25 and amateur radio (hamradio) subsystem
[not found] ` <CAFAa3YDcBsCnEJ1t+a3iHhzxW65HX+QNkZWPKHvDYp_V+UwZYQ@mail.gmail.com>
@ 2026-05-16 1:14 ` Jakub Kicinski
2026-05-16 10:48 ` Bernard Pidoux
2026-05-16 10:55 ` Bernard Pidoux
0 siblings, 2 replies; 7+ messages in thread
From: Jakub Kicinski @ 2026-05-16 1:14 UTC (permalink / raw)
To: Bernard Pidoux; +Cc: toke, stable, davem, netdev, pabeni, gregkh, linux-hams
On Fri, 15 May 2026 16:52:43 +0200 Bernard Pidoux wrote:
> I am happy to submit these two fixes as patches to mod-orphan if that
> is the right approach. Please let me know.
It's a GitHub repo so PR is probably appropriate there.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH net-deletions] net: remove ax25 and amateur radio (hamradio) subsystem
2026-05-16 1:14 ` Jakub Kicinski
@ 2026-05-16 10:48 ` Bernard Pidoux
2026-05-16 10:55 ` Bernard Pidoux
1 sibling, 0 replies; 7+ messages in thread
From: Bernard Pidoux @ 2026-05-16 10:48 UTC (permalink / raw)
To: kuba; +Cc: toke, stable, davem, netdev, pabeni, gregkh, linux-hams
On Fri, 16 May 2026 Jakub Kicinski wrote:
> It's a GitHub repo so PR is probably appropriate there.
Done. I have submitted the five rose fixes as a pull request to the
mod-orphan repository:
https://github.com/linux-netdev/mod-orphan/pull/1
The PR contains six commits:
1. rose: build with hamradio_compat.h on pre-7.0 kernels
(compat shim for struct sockaddr_unsized, required by af_rose.c)
2. rose: fix dev_put() leak in rose_loopback_timer()
3. rose: hold loopback neighbour reference across timer callback
4. rose: fix race between loopback timer and module removal
5. rose: clear neighbour pointer after rose_neigh_put() in state machines
6. rose: guard rose_neigh_put() against NULL in timer expiry
All five fixes have been built and tested successfully against kernel
6.17.0-23-generic (pre-7.0): insmod, functional operation, and rmmod
all completed cleanly with no crash or leak detected.
73 de Bernard Pidoux F6BVP
Le sam. 16 mai 2026 à 03:14, Jakub Kicinski <kuba@kernel.org> a écrit :
>
> On Fri, 15 May 2026 16:52:43 +0200 Bernard Pidoux wrote:
> > I am happy to submit these two fixes as patches to mod-orphan if that
> > is the right approach. Please let me know.
>
> It's a GitHub repo so PR is probably appropriate there.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH net-deletions] net: remove ax25 and amateur radio (hamradio) subsystem
2026-05-16 1:14 ` Jakub Kicinski
2026-05-16 10:48 ` Bernard Pidoux
@ 2026-05-16 10:55 ` Bernard Pidoux
1 sibling, 0 replies; 7+ messages in thread
From: Bernard Pidoux @ 2026-05-16 10:55 UTC (permalink / raw)
To: kuba; +Cc: toke, stable, davem, netdev, pabeni, gregkh, linux-hams
On Fri, 16 May 2026 Jakub Kicinski wrote:
> It's a GitHub repo so PR is probably appropriate there.
Done. I have submitted the five rose fixes as a pull request to the
mod-orphan repository:
https://github.com/linux-netdev/mod-orphan/pull/1
The PR contains six commits:
1. rose: build with hamradio_compat.h on pre-7.0 kernels
(compat shim for struct sockaddr_unsized, required by af_rose.c)
2. rose: fix dev_put() leak in rose_loopback_timer()
3. rose: hold loopback neighbour reference across timer callback
4. rose: fix race between loopback timer and module removal
5. rose: clear neighbour pointer after rose_neigh_put() in state machines
6. rose: guard rose_neigh_put() against NULL in timer expiry
All five fixes have been built and tested successfully against kernel
6.17.0-23-generic (pre-7.0): insmod, functional operation, and rmmod
all completed cleanly with no crash or leak detected.
73 de Bernard Pidoux F6BVP
On Sat, May 16, 2026 03:14 AM, Jakub Kicinski <kuba@kernel.org> wrote:
>
> On Fri, 15 May 2026 16:52:43 +0200 Bernard Pidoux wrote:
> > I am happy to submit these two fixes as patches to mod-orphan if that
> > is the right approach. Please let me know.
>
> It's a GitHub repo so PR is probably appropriate there.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH net-deletions] net: remove ax25 and amateur radio (hamradio) subsystem
@ 2026-05-16 11:33 Bernard Pidoux F6BVP
0 siblings, 0 replies; 7+ messages in thread
From: Bernard Pidoux F6BVP @ 2026-05-16 11:33 UTC (permalink / raw)
To: kuba; +Cc: toke, stable, davem, netdev, pabeni, gregkh, linux-hams
On Fri, 16 May 2026 Jakub Kicinski wrote:
> It's a GitHub repo so PR is probably appropriate there.
Done. I have submitted the five rose fixes as a pull request to the
mod-orphan repository:
https://github.com/linux-netdev/mod-orphan/pull/1
The PR contains six commits:
1. rose: build with hamradio_compat.h on pre-7.0 kernels
(compat shim for struct sockaddr_unsized, required by af_rose.c)
2. rose: fix dev_put() leak in rose_loopback_timer()
3. rose: hold loopback neighbour reference across timer callback
4. rose: fix race between loopback timer and module removal
5. rose: clear neighbour pointer after rose_neigh_put() in state machines
6. rose: guard rose_neigh_put() against NULL in timer expiry
All five fixes have been built and tested successfully against kernel
6.17.0-23-generic (pre-7.0): insmod, functional operation, and rmmod
all completed cleanly with no crash or leak detected.
73 de Bernard Pidoux F6BVP
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-05-16 11:34 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-16 11:33 [PATCH net-deletions] net: remove ax25 and amateur radio (hamradio) subsystem Bernard Pidoux F6BVP
[not found] <87se8mytvv.fsf@toke.dk>
2026-05-12 14:42 ` f6bvp
2026-05-12 14:45 ` f6bvp
2026-05-12 23:36 ` Jakub Kicinski
[not found] ` <CAFAa3YDcBsCnEJ1t+a3iHhzxW65HX+QNkZWPKHvDYp_V+UwZYQ@mail.gmail.com>
2026-05-16 1:14 ` Jakub Kicinski
2026-05-16 10:48 ` Bernard Pidoux
2026-05-16 10:55 ` Bernard Pidoux
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox