Article View: linux.kernel.netdev
Article #27471Re: [PATCH net] r8169: handle PHY read errors in RTL8168H/RTL8117 setup
From: Muhammed Sarıyıldız
Date: Sat, 05 Dec 2026 19:08
Date: Sat, 05 Dec 2026 19:08
50 lines
13867 bytes
13867 bytes
Hi, Thanks for the feedback. The issue was found through manual source code inspection of the r8169 driver. The error path has not been triggered at runtime. This is a theoretical error-handling issue identified during source inspection. `phy_read_paged()` may return a negative errno, which was being treated as valid PHY register data. The modified code has been successfully build-tested. However, the patch has not been runtime-tested on real hardware. The affected device in my system is a Realtek RTL8168H/8111H (PCI ID 10ec:8168, XID 541), but I have not tested the patched driver on this hardware. Best regards, Muhammed Sariyildiz <netdev-bot+sinfo@kernel.org> adresine sahip kullanıcı 5 Ara 2026 Cmt, 21:02 tarihinde şunu yazdı: > > Hi! > > This is an automated message. This series looks like a fix, but its > commit messages seem to be missing some information: > > - How the issue was discovered, e.g. hit in production, hit during > development, syzbot report, manual code inspection, LLM or static > analysis tool scan. > > - Whether the issue was actually triggered, or is only theoretical > (e.g. found by LLM and not proven at runtime). If it was triggered > please include the symptoms, like the stack trace or kernel messages. > > - What hardware the change was tested on. For driver fixes please > mention the device (and if relevant firmware version) used for > testing, or say that the change was not tested on real hardware. > > Please do not repost the series just to address the above. Instead, > reply to this email with the missing information, so that reviewers > can take it into account. > > *IMPORTANT*: If you do repost (for other reasons) - please include > the relevant info in the cover letter or commit messages. > -- > The evaluation is done by an LLM so it may be wrong, if you think > that is the case please reply and explain.
Technical Details
Message-ID:
<CAK77STBni5La1m7Xea3QmBxF7cUghWtYjY5CtUuPS9HXUw50yA@mail.gmail.com>Path:
mbox-mo1.pugleaf.net!news-lon.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-378095-linux-kernel-netdev=dewy.ruReferences:
<20261205175625.24461-1-asiyee994@gmail.com> <179649377243.3305.8942932924127629387@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-378095-linux-kernel-netdev=dewy.ru
From: asiyee994@gmail.com (Muhammed Sarıyıldız)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] r8169: handle PHY read errors in RTL8168H/RTL8117 setup
Date: Sat, 5 Dec 2026 22:08:19 +0300
Organization: Usenet Network
Message-ID: <CAK77STBni5La1m7Xea3QmBxF7cUghWtYjY5CtUuPS9HXUw50yA@mail.gmail.com>
References: <20261205175625.24461-1-asiyee994@gmail.com> <179649377243.3305.8942932924127629387@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
logging-data="3100580"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:qfrUpvX3VTfCe2/h/MvmOwHIgNA= sha256:y2gqHFhCOY2Ex84pjQCJGNYfqf91vSb8C++divwByx4=
sha1:NI8PlrihvILq/SWGs+A/nn9WV1w= sha256:SPrcTJA58/C3RfVx8VQstmI7pOsMt44AyL0xSiQfbas=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id BC055117E8C; Sat, 5 Dec 2026 22:08:58 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.297
X-Spam-Status: No, score=-3.297 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001,
MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id qlGvcSbikEdn;
Sat, 5 Dec 2026 22:08:52 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-378095-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
by mail.dewy.ru (Postfix) with ESMTPS id 83D97117E7A; Sat, 5 Dec 2026 22:08:40 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sin.lore.kernel.org (Postfix) with ESMTP id 26A3F2BDD7; Sat, 5 Dec 2026 19:08:37 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1796497714;
b=36U5IE6vNp1KpyLOGTMQJHUOKCq/Wa8mX7wgSc4rlUKa06jOPwSspSls9Zv//vK2CF24
k5IMDXdqs6g2F7QSBo/XiY9AwoPJDBxJujWF++fyUYzx67eLchR96N0dQ9s60PFtqMBu3
3eqe53w4KXYBV6Cj2IJX97sOeCMwdYk4K/VyhQR5Xk+PnE1gdw8KHB9ueV07OXkQ4bA6+
xeow9/Bn8cHD7hHzaJRR29CZ120CkTZTww0yEEXQjOJGcN1PsssAcK9EuwYmPveAQclk9
8NJUozHGSL/uY/o9nat8raOIoyjXF8yRGZWWxXGBKc8ZELpbgmugqCDvXnuAl0A5DbQ==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796497714;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
List-Unsubscribe:List-Owner:Precedence:MIME-Version:References:
In-Reply-To:From:Date:X-Gm-Features:Message-ID:Subject:To:Cc:
Content-Type:Content-Transfer-Encoding;
bh=LoPMomburVZg5pdSnn8aH360tD+hYYhbvJZz+hrM6eM=;
b=jlGVHWMtA/Ed9m89cdiAKr8tPN5pDOSkDBW3w2krLiuyu/w76f2lZAakyvAqYPtX1zP/
01uogO8RN9jAD75+GytVO4ziEuE/3hrAKfwdR+Coz7Cm5MPIzDKzNoNRF2T5AD4X7wpOA
wnqh7WaUh/ZJrvbu+bHT4aZclVgB6iamqQullG9saUOb0muBF0ihi+ustHMFkaZfW6O9e
5ceHl3BgMdHgsW+S2ieGcNMrBr0Z+ndfhnaTNJYYdO/D6OrfYaMTyHg0NYwgd/oj+ShYq
uc1V2qhJN58qTi4xpfLFt8MaqBan4epgC81JCpaGf6KkZYdXvNu4/38yUp8lzmGUETw==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=yOZiGerZ;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 3BCAF606A334;
Sat, 5 Dec 2026 19:08:34 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=yOZiGerZ
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.128.179
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1796497713;
b=ZDSZv99L9im9TZuSRUl5VaPUXuFCLo1HqGtJCWt7D4j2rBVeWRqlDQsUjRphXmzG+I2V
6PIvHkrhvB2CuI+XkdlpPlwC7/yH9Fe8iSKIPDCQlr1UfQgEnBlQMoB2U0lVS5AAq8Su+
rWdrh9cB8c1pA5QgO3Ywu4sjq6WkPhxnfrEB3cw7yt76S8dTCL0bONKbTKn1+G20OgvOX
ip0ekTrUGmuxAlJbhIbj+Yyk0ZPEwAJ/Va+whfsuxKbNRDPLc+buF22RAEVKHJySKBe+Z
DSj8PbHfKvOLvsKanFlyhw7rG/QzKbmNOaZGLVa0ntgA4+7kGTnXb1HnEIc2L92GxJQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796497713;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Gm-Message-State:X-Gm-Gg:X-Received:MIME-Version:References:
In-Reply-To:From:Date:X-Gm-Features:Message-ID:Subject:To:Cc:
Content-Type:Content-Transfer-Encoding;
bh=LoPMomburVZg5pdSnn8aH360tD+hYYhbvJZz+hrM6eM=;
b=OYhdTtA7KDN7y3FEvm0uZLSFstC+zLDlPqnIMtl7Sb9P8EVf3U6wXsH3SgBleb9YOgcW
Tv4IYIOOCy5LTfUrhEupsERK1O/7xmotA+IGy6tfTiVkyNtNG14lgnD2m4tQq1+FteYfP
lc+1sBkTrEmHl7WVzVajhxg8F+PIYZxX5gnIbj9h54VNdilKEmE5EVBCNR80dgsKYiG58
e4NXtwAldABBEIWGbB0eke96w/ha4rHdYwE8cA68BRcLHNIoPmFi4p2cBUu4rShsJ+v5a
28JNgRdgxACmefWmqtoMUr0uBoCC1n6Y1iBiIgtxg2tD8tMK/UwW/cbTCGGiTR/AmBA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=yOZiGerZ;
arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.128.179
X-Received: from mail-yw1-f179.google.com (mail-yw1-f179.google.com [209.85.128.179])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id F35B7606A31F
for <netdev@vger.kernel.org>; Sat, 5 Dec 2026 19:08:32 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org F35B7606A31F
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-8b5c0d8a835so23591317b3.2
for <netdev@vger.kernel.org>; Sat, 05 Dec 2026 11:08:32 -0800 (PST)
X-ARC-Seal: i=1; a=rsa-sha256; t=1796497712; cv=none;
d=google.com; s=arc-20260327;
b=kI31/mdLjvdqrVnzEPmfGcQx7mHa8fErz5h595NW2bXJUwfE5tyg1uoLUvyXzvE9F+
ml5ICsNv84Otc3hagEU/bmZST0EySOS6Udt649r56m4/tVqgBFaqEq3wBwyQ8G/8UvHC
+1IiZJMrbf+UEq1fnpwsstL9eJqVtQf99RuzCXYqhKganDFv/NnfbhKoNTv8qAKGBpSU
m23nyKlOhWawRW/5VuCkY2mDx55bP5fL06aL1WQ00rMFDm/Q67NounsES/CTiAsq6Crw
g0wcLx2a7qApDp2hYHgwwrbfFlra5gyCeMt4sRGVWiTtNiUiYcqI7KR8MwtfQ9xXGFxQ
641g==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327;
h=content-transfer-encoding:cc:to:subject:message-id:date:from
:in-reply-to:references:mime-version:dkim-signature;
bh=LoPMomburVZg5pdSnn8aH360tD+hYYhbvJZz+hrM6eM=;
fh=hv6oAIebU1pzZTfWWmz8JW3m+wozHSZxVrn26fzKnYw=;
b=ZjelLD+mOxLgXXTJfQ09t5PlhOXi5iUwkHpa6rNWZ8ETSeLVIHjKgloBl1pVPpQCxx
l83q9WPKFoTr75A4lX0X+H2mTzaFTJ2gHkxbW/UQEW9c6HQP6WpTSjuvPe8lCvLDwp8k
c6KTLlJrtUKO2cFmW2/06Jfikyc3yj245kIECitN0aMyY7rc5ga0YzM6QF8SZsBgpwit
dKoKM4W/AM25gGtctGiWfH3MPMo9zCLdwbIhM3bsi9PFrqyVpTyqUnPZwy/CYUWOG4Y0
2z8OTRXsSbG27uK3gRw+eqCSZCQPMnchCITgPIOPGS2MO1zTveqQJZxVwpZYJhP23DPl
zSTA==;
darn=vger.kernel.org
X-ARC-Authentication-Results: i=1; mx.google.com; arc=none
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1796497712; x=1797102512; darn=vger.kernel.org;
h=content-transfer-encoding:content-type:cc:to:subject:message-id
:date:from:in-reply-to:references:mime-version:from:to:cc:subject
:date:message-id:reply-to:content-type;
bh=LoPMomburVZg5pdSnn8aH360tD+hYYhbvJZz+hrM6eM=;
b=yOZiGerZeB38UY9/Rqq/0gQpUv+W3IACrYRFLC29faP8WBeo7e3P3bq+H15VUeOtHH
hhrbwiTkznXwHFnH/+vo4tvAErLbwd8tRsy4n3iCfuPBXYPxcO1bkPsf2Jy/HhS8PKkg
GUZDcttLhC12/Z2d72fjVeG8kmcxRqhNBGC6SKOQxAqCQVs9eZGEP+yF7V1kNyIalkNq
hNuZ9rqQlykdhQHg1qcVt9KaiZBOkUAJas0k7OyBrL+3GWicuIEDoF0J+KSatudv+tQh
VhnavfGTPEeXRkIPLocmwVxU3nZLj5H+2FFVNuMUqLT5HrOMrau4gxh/JRSfBC+4/0dF
ycpA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1796497712; x=1797102512;
h=content-transfer-encoding:content-type:cc:to:subject:message-id
:date:from:in-reply-to:references:mime-version:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=LoPMomburVZg5pdSnn8aH360tD+hYYhbvJZz+hrM6eM=;
b=Hn22NUibcenhnYINW6xNH9QeMKcpVyEbvEzvlFXTDG8oV9kmXg0H+/zdvQB88STs7w
tZoBM/7Gczl61jMwQI3WfK+hJgsvS5LDUS2OTyxVjt8BdNydQ8ihdXi1/Za5+OK+5RFu
PZ9b9QHAhDGL8ba7/CqPV11mAJ2VsfjvJwaQG20Q+ShWNNpGeytjSBqGU2nHyoSWn4k7
p8rl6iOaztKb8u7rqtQ05Ijw1+OYwLMeUYQ892Hlm1rsaVXwuCdsPkdkGYCOrwRhMOyX
nw+jg5VrINCWVYa1qdY4rdcZ6yqOSlAiQngzuij9KIxiWaBq7XUEa7NkOahs9zveXA0R
+XiA==
X-Gm-Message-State: AB4q+uE9rtVRh/ycvT4MdpgKcjR8WD3N/LtNXTz5lOys//a7ekcJ3Nmv
0uwGlaxELGJ9w3o012hj+fpurNh9er3HYNX4YBu9fLYoWuzvlCWLyn/H74NY9H1UjhyBcnHNWKE
Ts13xpTQINOSmRmkWEi8bbFFkCEe8sQ8=
X-Gm-Gg: AZFdTZeo7cAf3nN+I/3HPAdSmOj47irGMRfoEvF7QyaKdeYU8bLo0BIm84+pHUMw3QZ
TvxVqCAm0LpcyNgC+Eo/TT7fTTKu8Q+N5DOWwGLvxfkKb47iDuRtWqjU0PCKKSoKHAlBYI0QIG8
26KMJ1XLATs5DtRadlcIc3uZoyEo3HLQMRA2UG/J8w82JJTt/1xT74rnIK/2IJUk3pIGvQnh7NN
pMp4e5eJ70AbtEEpcalEVuLFq8Do7hl67WahrvB5OqMc5HJHh2LUHcXxCvTNUx4cmTiimtsKCd3
hDpkdu2520ArlZnkCa1s+8dAWrbsdtJS15T2S1Bo3z+YSdwEw5hdaelKgqI7+d6p/2gPcoAhtsR
CcbsQGVCJgNOucXngVN94dq8cKOjiXrdRatGlgZqE8HrYw2et4NRaqLRn1YWyN1PL7Yjno3c=
X-Received: by 2002:a05:690c:d8f:b0:8b4:f24d:b6f1 with SMTP id
00721157ae682-8b66065f920mr34011797b3.16.1796497711699; Sat, 05 Dec 2026
11:08:31 -0800 (PST)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <179649377243.3305.8942932924127629387@kernel.org>
X-Gm-Features: Aa3M54oeb7HzEqKlUYRVMUILPdGVSIibQJODlAqT5sFcHuLuEGh7hbd_jlepESQ
X-Cc: netdev@vger.kernel.org, hkallweit1@gmail.com, nic_swsd@realtek.com,
andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
kuba@kernel.org, pabeni@redhat.com