From: Sergey Ryazanov <ryazanov.s.a@gmail.com>
To: "wanquan.zhong" <zwq2226404116@163.com>,
loic.poulain@oss.qualcomm.com, chandrashekar.devegowda@intel.com,
chiranjeevi.rapolu@linux.intel.com, haijun.liu@mediatek.com,
ricardo.martinez@linux.intel.com
Cc: netdev@vger.kernel.org, johannes@sipsolutions.net,
davem@davemloft.net, andrew+netdev@lunn.ch, kuba@kernel.org,
pabeni@redhat.com, linux-kernel@vger.kernel.org,
wanquan.zhong@fibocom.com
Subject: Re: [PATCH] net: wwan: t7xx: Add CONFIG_WWAN_ADB_PORT for ADB port control
Date: Wed, 14 Jan 2026 21:03:44 +0200 [thread overview]
Message-ID: <b2e87b4e-c675-4e38-b28f-cc00cf969260@gmail.com> (raw)
In-Reply-To: <20260114131423.202777-1-zwq2226404116@163.com>
Hi Wanquan,
On 1/14/26 15:14, wanquan.zhong wrote:
> From: "wanquan.zhong" <wanquan.zhong@fibocom.com>
>
> Changes from v2:
> 1) Add missing 'net:' subsystem prefix to commit subject for compliance
> 2) Remove redundant "to config" suffix and refine commit wording
> 3) Split overlong Kconfig help text lines to meet 72-char limit
> 4) Align EXPERT dependency desc with WWAN subsystem conventions
>
> Add a new Kconfig option CONFIG_WWAN_ADB_PORT to control the ADB debug port
> functionality for MediaTek T7xx WWAN modem. This option depends on MTK_T7XX
> and EXPERT, defaults to 'y' to avoid breaking existing debugging workflows
> while mitigating potential security concerns on specific target systems.
>
> This change addresses security risks on systems such as Google Chrome OS,
> where unauthorized root access could lead to malicious ADB configuration
> of the WWAN device. The ADB port is restricted via this config only; the
> MIPC port remains unrestricted as it is MTK's internal protocol port with
> no associated security risks.
As it was shared before, you cannot stop user having root privileges. He
can simply unload your 'secured' driver and load another custom build
module. If the patch is attempt to address a Chrome OS privileges
separation issue, then, please, fix Chrome OS itself.
For this specific patch:
NACKed-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
next prev parent reply other threads:[~2026-01-14 19:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-08 12:52 [PATCH] wwan: t7xx: Add CONFIG_WWAN_DEBUG_PORTS to control ADB debug port wanquan.zhong
2026-01-08 23:00 ` Sergey Ryazanov
2026-01-14 13:14 ` [PATCH] net: wwan: t7xx: Add CONFIG_WWAN_ADB_PORT for ADB port control wanquan.zhong
2026-01-14 19:03 ` Sergey Ryazanov [this message]
2026-01-09 8:56 ` [PATCH] wwan: t7xx: Add CONFIG_WWAN_DEBUG_PORTS to control ADB debug port Loic Poulain
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b2e87b4e-c675-4e38-b28f-cc00cf969260@gmail.com \
--to=ryazanov.s.a@gmail.com \
--cc=andrew+netdev@lunn.ch \
--cc=chandrashekar.devegowda@intel.com \
--cc=chiranjeevi.rapolu@linux.intel.com \
--cc=davem@davemloft.net \
--cc=haijun.liu@mediatek.com \
--cc=johannes@sipsolutions.net \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=loic.poulain@oss.qualcomm.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=ricardo.martinez@linux.intel.com \
--cc=wanquan.zhong@fibocom.com \
--cc=zwq2226404116@163.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox