lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 12 Dec 2022 23:20:15 +0000
To:     Piergiorgio Beruto <>
Subject: Re: [PATCH v2 net 1/1] stmmac: fix potential division by 0


This patch was applied to netdev/net.git (master)
by Jakub Kicinski <>:

On Sat, 10 Dec 2022 23:37:22 +0100 you wrote:
> When the MAC is connected to a 10 Mb/s PHY and the PTP clock is derived
> from the MAC reference clock (default), the clk_ptp_rate becomes too
> small and the calculated sub second increment becomes 0 when computed by
> the stmmac_config_sub_second_increment() function within
> stmmac_init_tstamp_counter().
> Therefore, the subsequent div_u64 in stmmac_init_tstamp_counter()
> operation triggers a divide by 0 exception as shown below.
> [...]

Here is the summary with links:
  - [v2,net,1/1] stmmac: fix potential division by 0

You are awesome, thank you!
Deet-doot-dot, I am a bot.

Powered by blists - more mailing lists